-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Postinstall script installation of tabtab fails #3760
Comments
Thanks for reporting @ryanmurakami 👍 Investigating... |
The same happens on Windows for me. I investigated the issue -> the problem for me is, that the interpreter (in this case node and env) is specified by a she-bang in the tabtab script file and the script is invoked by just specifying the This is the tabtab file:
A solution that will work on all systems is, to invoke the |
Thanks for the update @HyperBrain 👍 That sounds reasonable. Looking into it now... |
For completeness: here the exact output of my
|
I just PRed a fix for that in #3763 Can anyone confirm that this works? /cc @HyperBrain @ryanmurakami ? Thanks! |
We are also getting an error when installing 1.15.1, but the error looks different.
Environment: Is this the same problem, or something different? |
@efenderbosch I think that's related to #3757, not this one. |
@efenderbosch yes, @ryanmurakami is right 👍 We'll do a patch release the upcoming hours. This should be fixed with #3763 |
@pmuens Thanks for the quick fix! |
Thanks for reporting @ryanmurakami 👍 ! |
This is a Bug Report
Description
When installing
serverless
thepostinstall
script throws when attempting to runtabtab install
becausetabtab
does not exist. If I run thetamtam install
command separately after installation, it succeeds. There seems to be a type of race condition with the creation of that binary and the execution of the postinstall script.Repro steps:
npm install serverless
Node.js version: 6.10.3 (also tried with 8.0.0)
npm version: 5.0.3
Additional Data
The text was updated successfully, but these errors were encountered: