When i try to install package on my local directory using
npm install connect
no such file or directory, open '/Users/felixfong/package.json'
Are you sure you are inside your local web app directory when you run the npm install connect
command?
cd app-directory/
npm install connect
Also ensure that a package.json
file is also present in the app-directory
.
If it isn't present, you can use npm init
command to create the package.json
file interactively.