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
Seems like archive-type is not installed yet, when the postinstall script is being executed.
I also noticed that npm doesn't have these errors and it runs postinstalls after all the deps were downloaded... pnpm seems to be more greedy, it runs postinstall as soon as possible.
Indeed, after moving the postinstall scripts execution after installation, the package created by @iamstarkov always installs with no issues. You can try the fix on branch issue337. (NOTE: my fast dirty fix has broken the skipping of optional dependencies, but that'll be easy to fix, if this is really the solution)
Activity
iamstarkov commentedon Aug 31, 2016
jpegtran-binis fine, though smth wrong witharchive-typeiamstarkov commentedon Aug 31, 2016
and smth wrong with
globbypath for this module seems wrong
iamstarkov commentedon Aug 31, 2016
though i cant see, how you gulp build is runned after npm install
iamstarkov commentedon Aug 31, 2016
do you have this project as oss project on github?
Grawl commentedon Aug 31, 2016
no, I can't share this project. it's not open source. we develop this on own git server.
iamstarkov commentedon Aug 31, 2016
it will be hard to actually reproduce your gulp build failure
iamstarkov commentedon Aug 31, 2016
at least i will try to reproduce missing packages here https://github.com/iamstarkov/pnpm-issue-337
Grawl commentedon Aug 31, 2016
I think we can try to use any gulp generator from Yeoman, like yeogurt, and have the same problems: https://gist.github.com/Grawl/4404df96380856a106fc70787d3e1a6f
iamstarkov commentedon Sep 1, 2016
found failing dep:
iamstarkov commentedon Sep 1, 2016
postinstallstepiamstarkov commentedon Sep 1, 2016
though, all failing deps are optional, so pnpm is fine with them not being compiled
iamstarkov commentedon Sep 1, 2016
i was not able to pipe
pnpm installlog to the file =(iamstarkov commentedon Sep 1, 2016
@andreypopp @zkochan @rstacruz feel free to investigate further from here
or
Grawl commentedon Sep 1, 2016
@iamstarkov
I've just copied it right from Terminal with my mouse 😉
zkochan commentedon Sep 2, 2016
I suggest to continue investigating this once we merge and publish Create pnpm-debug.log file on fail
1 remaining item
zkochan commentedon Sep 2, 2016
Here's the debug info: https://gist.githubusercontent.com/zkochan/e42a33e54192b38d9184575c5d1e4aee/raw/8870d135902473eb4fd1dcbfe8b3dfce83e2691e/ppm-debug.yaml
Seems like
archive-typeis not installed yet, when the postinstall script is being executed.I also noticed that npm doesn't have these errors and it runs postinstalls after all the deps were downloaded... pnpm seems to be more greedy, it runs postinstall as soon as possible.
fix: run postinstall scripts after all deps installed
zkochan commentedon Sep 2, 2016
Indeed, after moving the postinstall scripts execution after installation, the package created by @iamstarkov always installs with no issues. You can try the fix on branch issue337. (NOTE: my fast dirty fix has broken the skipping of optional dependencies, but that'll be easy to fix, if this is really the solution)
fix: run postinstall scripts after all deps installed
zkochan commentedon Sep 3, 2016
@Grawl I have published what I think is the fix
Please install pnpm from the github branch and try if it works
npm i -g rstacruz/pnpm#issue337Grawl commentedon Sep 4, 2016
@zkochan looks like it fixed now. all modules are installed without errors, gulp works fine.
fix: run postinstall scripts after all deps installed
fix(scripts): run post install scripts after all deps installed
fix(scripts): run post install scripts after all deps installed
fix(scripts): run post install scripts after all deps installed
feat: auth (#337)
feat: proxy support (.npmrc + env-var cascade, HTTP/HTTPS/SOCKS) (#476)
feat: auth (pnpm#337)
feat: proxy support (.npmrc + env-var cascade, HTTP/HTTPS/SOCKS) (pnp…