Skip to content
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

error in codesandbox from v5.1.0: "sh: opencollective: command not found" #1353

Closed
smcatala opened this issue Jun 14, 2018 · 6 comments
Closed
Labels

Comments

@smcatala
Copy link
Contributor

Observed Behaviour
dependency error in default codesandbox with inferno@^5.1.0:
https://codesandbox.io/s/m9qyj2wv4p

error An unexpected error occurred: "/tmp/1314503687/node_modules/inferno: Command failed.
Exit code: 127
Command: sh
Arguments: -c opencollective postinstall
Directory: /tmp/1314503687/node_modules/inferno
Output:
sh: opencollective: command not found".

Expected Current Behaviour
ok in codesandbox with inferno@5.0.6 (and previous versions):
https://codesandbox.io/s/znmyj24w4p

@Havunen
Copy link
Member

Havunen commented Jun 14, 2018

Hi,

Thanks for reporting this issue. I think this is bug in open collective package. I opened ticket for them.

opencollective/opencollective-cli#10

@smcatala
Copy link
Contributor Author

@Havunen, has the opencollective version changed from v5.0.6 to v5.1.0 ?

@smcatala
Copy link
Contributor Author

smcatala commented Jun 14, 2018

oddly, HTTP errors seem to occur when downloading inferno@5.1.0 from cloudfront before the opencollective error:
image

same error when following the corresponding url:
https://d1jyvh0kxilfa7.cloudfront.net/v1/combinations/inferno@5.1.0%2Binferno-create-element@5.1.0.json

there are no such errors with v5.0.6:
image

@smcatala
Copy link
Contributor Author

smcatala commented Jun 14, 2018

could this be an issue with caching npm packages by codesandbox?

We cache the dependencies using Amazon Cloudfront all over the world. Our sandbox also runs faster, because we now only parse and execute the relevant JS files for your sandbox.

or is the json file absent from the npm package ?

@smcatala
Copy link
Contributor Author

filed a corresponding issue with codesandbox:
codesandbox/codesandbox-client#904

@smcatala
Copy link
Contributor Author

issue solved in codesandbox: codesandbox/codesandbox-client#904 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants