express-admin
express-admin copied to clipboard
Install problem on OSX 10.12.5
Hi,
I can't seem to get the package to install. No /bin dir after install. Following instructions from here: https://simov.github.io/express-admin/#express-admin
!Thanks in advance for looking at this.
OUTPUT:
$ npm install [email protected] npm WARN saveError ENOENT: no such file or directory, open '/Users/me/examples/temp/package.json' npm WARN enoent ENOENT: no such file or directory, open '/Users/me/examples/temp/package.json' npm WARN temp No description npm WARN temp No repository field. npm WARN temp No README data npm WARN temp No license field.
- [email protected] added 86 packages in 4.543s
AFTER INSTALL NO /bin/admin
$ ls node_modules package-lock.json
NPM INFO
$ npm --version 5.0.3
It's probably because NPM is trying to install the module somewhere else. Try this:
- create new folder
- initialize new project using
npm init- this will generatepackage.jsonfor you - then
npm install express-admin- this will createnode_modulesfolder in your current folder where thepackage.jsonis, and it will install the admin there