Error giving the npm install command

Asked

Viewed 867 times

1

jean@jnotepc:/var/www/html/app_agenda/_views/css$: npm install
npm WARN enoent ENOENT: no such file or directory, open     '/var/www/html/app_agenda/_views/css/package.json'
npm WARN css No description
npm WARN css No repository field.
npm WARN css No README data
npm WARN css No license field.

What Should I Do?

  • 3

    I think you’re running mpm install in an app subdirectory, not the app root...

2 answers

1

The current folder does not have a file named package.json. You are probably in the wrong folder. I believe the correct folder is app_agenda. Try:

cd ../..

and then:

npm install

0

/var/www/html/app_agenda/_views/css$: npm install

You are not in the right folder, try running the command in the folder where the file exists packages.json

Browser other questions tagged

You are not signed in. Login or sign up in order to post.