V
V
vibarish2020-07-28 21:52:17
npm
vibarish, 2020-07-28 21:52:17

Error when running npm run dev command?

Learning to work with vue cli.
When I run the npm run dev command, I get an error:
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path E:\JS, HTML, CSS\Vuejs projects\Academind\package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'E:\JS, HTML, CSS\Vuejs projects\Academind\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Vasiliy\AppData\Roaming\npm-cache\_logs\2020-07-28T18_38_07_389Z-debug.log

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
iAlex195, 2020-07-30
@vibarish

You seem to be running npm run dev in the wrong directory.
Change to the project directory where the package.json file is located and try running the command.

V
Vladimir Korotenko, 2020-07-28
@firedragon

When creating a project through vue, 3 commands are added npm run build, serve, lint what does dev mean, see package.json

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question