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

npm gets hung up on installing this package. #13

Open
Arametheus opened this issue Aug 15, 2024 · 4 comments
Open

npm gets hung up on installing this package. #13

Arametheus opened this issue Aug 15, 2024 · 4 comments

Comments

@Arametheus
Copy link

I'm encountering a problem during deployment with AWS Elastic Beanstalk. The deployment runs npm install, but it recently started hanging for hours on this step before eventually timing out and failing the deployment. This caused significant downtime, with our servers being down for two days, and it required about 15 hours on the phone with AWS support to troubleshoot.

After extensive debugging, I discovered that the issue occurs when the package "@zoon/puphpeteer": "github:zoonru/puphpeteer" is included in my package.json file. When I remove this package, the deployment works fine.

To further troubleshoot, I found that the hang happens specifically when installing Puppeteer. The strange part is that if I manually run npm install, it hangs the first time, but if I cancel and try again, it works without issues.

Additionally, it seems the package might be using an older version of Puppeteer.

Is there any known workaround or fix for this issue? Any insights or suggestions would be greatly appreciated.

we are running on EC2 linux 2023.

if you need anything let me know.

@xtrime-ru
Copy link
Member

Hi! Looks like you got same issue as here: #9

I ve updated docs and package.json multiple times in last month. Can you check if this works for you?

npm install https://github.com/zoonru/puphpeteer/tarball/zoon

@Arametheus
Copy link
Author

so I Actually ended up installing puppeteer directly "puppeteer": "^23.1.0", and not adding the zoon package to my package.json file thru the npm install command and that fixed it for me. I will try this on my next test run and see if it fixes this and let you know though. This might be a few days as I'm working on another part of our application.

@xtrime-ru
Copy link
Member

Yes, you can install packages directly. But there are two requirements: puppeteer and https://github.com/zoonru/rialto/

@Arametheus
Copy link
Author

well so far npm install https://github.com/zoonru/puphpeteer/tarball/zoon seemed to have fixed it but let me run a few tests on it and make sure its not one of the flukes where it runs fine this time but next time fails.

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

No branches or pull requests

2 participants