mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2026-02-07 00:24:06 +00:00
Vue SPA Template Error #304
Closed
opened 2025-08-09 17:15:46 +00:00 by fergalmoran
·
0 comments
No Branch/Tag Specified
master
rybrande/masterToSrc
pakrym/no-console-fb
release/2.2
pakrym/remove-obsole-api-usage
maestro/release/2.2
maestro/master
release/2.1
release/2.0
rybrande/MergeRelease21IntoDev
rel/2.0.0-extensions
angular-animations-example
fix-angular-material-publishing
rel/2.0.0-templates
httpwithstatetransfer-example
rel/2.0.0-preview2-templates
aspnet-webpack-react-2.x
angular4-prerender-data-example
version-1.x
angular2-lazy-loading-example
581-isomorphic-react-cookies-example
example-using-typescript-paths-for-494
v1.0.x
angular2-materialize-example
redux-typed-1-x
primeng-example
font-awesome-example
karma-testing-example
2.2.0
2.2.0-preview3
2.2.0-preview2
2.2.0-preview1
2.1.1
2.1.0
2.0.4
2.1.0-rc1-final
2.1.0-preview2-final
2.0.3
2.1.0-preview1-final
2.0.2
2.0.1
rel/2.0.0
rel/2.0.0-preview2
Labels
Clear labels
2 - Working
2 - Working
3 - Done
3 - Done
3 - Done
3 - Done
3 - Done
3 - Done
3 - Done
angular
angular
angular
angular
angular
bug
bug
bug
bug
bug
bug
bug
bug
bug
core
core
core
core
core
core
core
duplicate
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
external
external
P1
P1
P1
P1
P1
P1
P2
P2
P2
P2
P2
P2
P2
P2
P2
PRI: 1 - Required
react
react
task
task
up-for-grabs
up-for-grabs
up-for-grabs
waiting
waiting
waiting
waiting
No Label
Milestone
No items
No Milestone
Projects
Clear projects
No project
Assignees
fergalmoran
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: github/JavaScriptServices#304
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @BenyT on 12/1/2017
I try to create a new project MvcVueDemo by dotnet cli as following steps:
$ dotnet new vue
$ dotnet restore
$ dotnet run
My Mac OS info:
.NET Command Line Tools (2.0.2)
Product Information:
Version: 2.0.2
Commit SHA-1 hash: a04b4bf512
Runtime Environment:
OS Name: Mac OS X
OS Version: 10.12
OS Platform: Darwin
RID: osx.10.12-x64
Base Path: /usr/local/share/dotnet/sdk/2.0.2/
Microsoft .NET Core Shared Framework Host
Version : 2.0.0
Build : e8b8861ac7faf042c87a5c2f9f2d04c98b69f28d
But i met some proplem:
1. when typed donet run (first time) ,i get a error message:
/MvcVueDemo/MvcVueDemo.csproj(29,5): error MSB3073: The command "node node_modules/webpack/bin/webpack.js" exited with code 2.
2.when i changed the ASPNETCORE_ENVIRONMENT as Development, i get fail message
$ export ASPNETCORE_ENVIRONMENT=Development
$ dotnet run
fail: Microsoft.AspNetCore.NodeServices[0]
Hash: c51968d0e424c9b9c636
Version: webpack 2.7.0
Time: 3142ms
Asset Size Chunks Chunk Names
main.js 219 kB 0 [emitted] main
main.js.map 257 kB 0 [emitted] main
chunk {0} main.js, main.js.map (main) 188 kB [entry] [rendered]
[0] delegated ./node_modules/_vue@2.5.9@vue/dist/vue.runtime.esm.js from dll-reference vendor_dd9e16125c0e167928ad 42 bytes {0} [not cacheable][built]
[2] external "vendor_dd9e16125c0e167928ad" 42 bytes {0} [not cacheable]
[9] ./ClientApp/boot.ts 590 bytes {0} [built]
[10] ./
/_webpack-hot-middleware@2.21.0@webpack-hot-middleware/client.js?path=__webpack_hmr&dynamicPublicPath=true 7.35 kB {0} [built]/_webpack-hot-middleware@2.21.0@webpack-hot-middleware/client-overlay.js 2.21 kB {0} [built][11] delegated ./node_modules/_event-source-polyfill@0.0.7@event-source-polyfill/eventsource.js from dll-reference vendor_dd9e16125c0e167928ad 42 bytes {0} [not cacheable] [built]
[28] ./ClientApp/components/app/app.vue.html 1.39 kB {0} [built]
[29] ./ClientApp/components/counter/counter.vue.html 1.41 kB {0} [built]
[30] ./ClientApp/components/fetchdata/fetchdata.vue.html 1.42 kB {0} [built]
[31] ./ClientApp/components/home/home.vue.html 1.34 kB {0} [built]
[41] ./
[42] ./~/_webpack-hot-middleware@2.21.0@webpack-hot-middleware/process-update.js 4.33 kB {0} [built]
[43] (webpack)/buildin/module.js 517 bytes {0} [built]
[45] delegated ./node_modules/_bootstrap@3.3.7@bootstrap/dist/js/npm.js from dll-reference vendor_dd9e16125c0e167928ad 42 bytes {0} [not cacheable] [built]
[47] delegated ./node_modules/_vue-router@2.8.1@vue-router/dist/vue-router.esm.js from dll-reference vendor_dd9e16125c0e167928ad 42 bytes {0} [not cacheable] [built]
[48] multi event-source-polyfill webpack-hot-middleware/client?path=__webpack_hmr&dynamicPublicPath=true ./ClientApp/boot.ts 52 bytes {0} [built]
+ 34 hidden modules
how can i fixed those problem? THANKS!!!