Comments (5)
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.
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.
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.
@jorisbontje Trying that now.
from solgraph.
Thanks @jorisbontje! I would not have found that on my own.
from solgraph.
Related Issues (20)
- Installation failure HOT 3
- Installation error: "babel: not found" HOT 7
- constructor and fallback labeled null HOT 1
- Installation Error on Ubuntu 16.04, 64bit HOT 7
- Update color semantics HOT 1
- Remove require() from graphs
- Cannot find module '@babel/preset-es2015' HOT 13
- Cannot find module '@babel/preset-es2015' from '......./node_modules/solgraph' HOT 1
- solgraph is failing on installation HOT 1
- Parsing of solidity 0.5 contract fails HOT 2
- Include `import`ed source files
- Parsing fails on pragma statement in solc 0.6.11 HOT 3
- Throw error when meet abstract contract. HOT 3
- Parse error with immutable property HOT 2
- peg$syntaxerror - address payable recipient HOT 2
- Pass multiple solidity files HOT 2
- Parse Error when pragma statement includes Logical OR (||) operator HOT 2
- parse error with abi coder HOT 2
- peg$SyntaxError: Expected ";", "=", comment, end of line, or whitespace but "D" found HOT 3
- Solgraph throws an error "Error: Unexpected statement type (ExpressionStatement) in analyzed nodes." when running through klin-finance HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from solgraph.