Medium / phantomjs

NPM wrapper for installing phantomjs
Other
1.43k stars 435 forks source link

npm ERR! Maximum call stack size exceeded #605

Open fredericrous opened 8 years ago

fredericrous commented 8 years ago

npm shrinkwrap fails with maximum call stack size exceeded on phantomjs-prebuilt 2.1.12

13:30:28 INFO: npm ERR! node v4.4.7
13:30:28 INFO: npm ERR! npm  v3.10.6
13:30:28 INFO: 
13:30:28 INFO: npm ERR! Maximum call stack size exceeded
13:30:28 INFO: npm ERR! 

I got the problem with karma-phantomjs-launcher 1.0.1. phantomjs-prebuilt 2.1.11 was working fine. then you updated phantomjs-prebuilt to 2.1.12, 4 days ago. Since then, I've got the error above

@nicks did you add a nested circular dependency? https://github.com/npm/npm/issues/13327

fredericrous commented 8 years ago

nodejs LTS v4.5.0 just came out. Maybe this fix this issue. I can't test right away

franher commented 8 years ago

@Zougi take a look on https://github.com/npm/npm/issues/13327 is resolved on npm@3.10.7

fredericrous commented 8 years ago

Yup, I linked the issue too. I do not own the VM I'm building against. Therfore I cannot update to latest npm version, this is why I opened the issue. I finally used npm shrinkwrap to use phantomjs-prebuilt 2.1.11. I let this issue open in case a phantomjs maintainer do not already know phantomjs uses circular dependencies and want to get rid of them.