How should i fix npm run deps/dev not working after removing package.json

Viewed 140

i removed ~/package.json and now i tried to install this SwitchyOmega. the first steps works fine

# Install node and npm first (make sure npm --version > 2.0), then:

sudo npm install -g grunt-cli bower

but the next step

# In the project folder:
cd omega-build
npm run deps # This runs npm install in every module.
npm run dev # This runs npm link to aid local development.

give me this error

npm ERR! path /Users/Rahimi/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '/Users/Rahimi/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!     /Users/Rahimi/.npm/_logs/2017-09-17T04_55_31_851Z-debug.log
1 Answers
Related