GithubHelp home page GithubHelp logo

Comments (5)

nicksavers avatar nicksavers commented on April 28, 2024

Same here

nick@devbox:~/myproject$ npm install --save -g solgraph
npm WARN deprecated [email protected]: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
/home/nick/.npm-global/lib
└── (empty)

npm WARN optional Skipping failed optional dependency /solgraph/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm ERR! Linux 4.4.0-28-generic
npm ERR! argv "/usr/local/bin/node" "/usr/bin/npm" "install" "--save" "-g" "solgraph"
npm ERR! node v6.2.1
npm ERR! npm  v3.9.5
npm ERR! path /home/nick/.npm-global/lib/node_modules/solgraph/dist/solgraph.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod

npm ERR! enoent ENOENT: no such file or directory, chmod '/home/nick/.npm-global/lib/node_modules/solgraph/dist/solgraph.js'
npm ERR! enoent ENOENT: no such file or directory, chmod '/home/nick/.npm-global/lib/node_modules/solgraph/dist/solgraph.js'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! Please include the following file with any support request:
npm ERR!     /home/nick/myproject/npm-debug.log
npm ERR! code 1

from solgraph.

raineorshine avatar raineorshine commented on April 28, 2024

I think it probably has to do with the node life cycle. It is linking the binary before it does the postinstall step. I'm going to investigate to see if that's the case.

from solgraph.

jorisbontje avatar jorisbontje commented on April 28, 2024

https://stackoverflow.com/questions/17990647/npm-install-errors-with-error-enoent-chmod

Ok it looks like NPM is using your .gitignore as a base for the .npmignore file, and thus ignores /lib. If you add a blank .npmignore file into the root of your application, everything should work.

from solgraph.

raineorshine avatar raineorshine commented on April 28, 2024

@jorisbontje Trying that now.

from solgraph.

raineorshine avatar raineorshine commented on April 28, 2024

Thanks @jorisbontje! I would not have found that on my own.

from solgraph.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.