express-admin icon indicating copy to clipboard operation
express-admin copied to clipboard

Install problem on OSX 10.12.5

Open senrabc opened this issue 8 years ago • 1 comments
trafficstars

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.

AFTER INSTALL NO /bin/admin

$ ls node_modules package-lock.json

NPM INFO

$ npm --version 5.0.3

senrabc avatar Jun 12 '17 19:06 senrabc

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 generate package.json for you
  • then npm install express-admin - this will create node_modules folder in your current folder where the package.json is, and it will install the admin there

simov avatar Jun 14 '17 19:06 simov