thangchung / blog-core

Modular blog using Blazor with clean domain-driven design patterns
MIT License
409 stars 124 forks source link

No packages.json file for BlogCore.Hosts.Web.Client #27

Open Zz9uk3 opened 4 years ago

Zz9uk3 commented 4 years ago

Hello, my goal is to learn about Blazor and DDD using your project however I have problems getting it to run following the description in the ReadMe (I am on the blazor branch). Whenever I enter the first command in a cmd I spawned inside the root folder I get an error:

Command: cd src\BlogCore.Hosts.Web.Client\ && npm install && npm run copy && cd ../..

Logfile:

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'copy' ]
2 info using npm@6.9.0
3 info using node@v10.16.3
4 verbose stack Error: ENOENT: no such file or directory, open 'C:\Users\Ano\Documents\Visual Studio 2017\Projects\blog-core-ddd\src\BlogCore.Hosts.Web.Client\package.json'
5 verbose cwd C:\Users\Ano\Documents\Visual Studio 2017\Projects\blog-core-ddd\src\BlogCore.Hosts.Web.Client
6 verbose Windows_NT 10.0.18362
7 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "copy"
8 verbose node v10.16.3
9 verbose npm  v6.9.0
10 error path C:\Users\Ano\Documents\Visual Studio 2017\Projects\blog-core-ddd\src\BlogCore.Hosts.Web.Client\package.json
11 error code ENOENT
12 error errno -4058
13 error syscall open
14 error enoent ENOENT: no such file or directory, open 'C:\Users\Ano\Documents\Visual Studio 2017\Projects\blog-core-ddd\src\BlogCore.Hosts.Web.Client\package.json'
15 error enoent This is related to npm not being able to find a file.
16 verbose exit [ -4058, true ]

Do you have a hint what is going wrong here?