V
V
Vlad_Radigin2018-08-03 18:46:49
Node.js
Vlad_Radigin, 2018-08-03 18:46:49

Can you please help, the project is not going through npm, with the following errors, how to fix this?

After I type npm run dev
in the debug file as follows ->
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 'dev' ]
2 info using [email protected]
3 info using node @v6.11.2
4 verbose stack Error: ENOENT: no such file or directory, open 'C:\Users\HP-PC\Desktop\vlad.org\package.json'
4 verbose stack at Error (native)
5 verbose cwd C :\Users\HP-PC\Desktop\vlad.org
6 error Windows_NT 10.0.17134
7 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" " dev"
8 error node v6.11.2
9 error npm v3.10.10
10 error path C:\Users\HP-PC\Desktop\vlad.org\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\HP-PC\Desktop\vlad.org\package.json'
15 error enoent ENOENT: no such file or directory, open 'C:\Users\HP- PC\Desktop\vlad.org\package.json'
15 error enoent This is most likely not a problem with npm itself
15 error enoent and is related to npm not being able to find a file.
16 verbose exit [ -4058,
But how to fix this? and why?
I can't figure out what is the problem?
(I would throw off the code, but because of the node_modules folder it takes a very long time to load....)
If you have a free minute, please help!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SagePtr, 2018-08-03
@SagePtr

Does the file C:\Users\HP-PC\Desktop\vlad.org\package.json exist?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question