You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MacBook-Pro:plo-canvas user$ npm install barrelsby
npm ERR! Darwin 16.5.0
npm ERR! argv "/usr/local/Cellar/node/7.10.0/bin/node" "/usr/local/bin/npm" "install" "barrelsby"
npm ERR! node v7.10.0
npm ERR! npm v4.2.0
npm ERR! path /Users/user/Developer/project/node_modules/barrelsby/bin/index.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/user/Developer/project/node_modules/barrelsby/bin/index.js'
npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/user/Developer/project/node_modules/barrelsby/bin/index.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.
I don't know for sure, but from what I've gathered, NPM is using your .gitignore file as the .npmignore file. You should use a separate .npmignore file.
The text was updated successfully, but these errors were encountered:
Thanks for the error report. I believe the issue was caused by the files property of the package.json, which is yet another way to include/exclude files from being published.
This was definitely a blind spot in my testing! In future I think I can catch this during CI by using npm install . -g rather than npm link.
Installing this module via NPM fails.
I don't know for sure, but from what I've gathered, NPM is using your .gitignore file as the .npmignore file. You should use a separate .npmignore file.
The text was updated successfully, but these errors were encountered: