-
Notifications
You must be signed in to change notification settings - Fork 2.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
Cannot find module 'stringstream' #987
Comments
There is something peculiar going on with phantomjs and yarn. On a clean project I do
|
I'm seeing a similar issue with
|
Scratch that - looks like the package is still missing.
|
We were able to fix this by updating our package that had phantomjs as a dependency. Previously, we were using grunt-contrib-jasmine 0.9.2, which depended on grunt-lib-phantomjs ^0.7.1. , which is dependent on phantomjs ^1.9.15 We upgraded to grunt-contrib-jasmine latest@1.0.3 -> grunt-lib-phantomjs ^1.0.0 -> phantomjs-prebuilt: ^2.1.3 So, perhaps the old phantomjs package doesn't play nicely with yarn (they changed the name to phantomjs-prebuilt at some point). Hopefully this helps some of you. |
Ran into the same issue |
PhantomJS 1.9 was released over 3 years ago. If you are running into this issue, please take it as opportunity to modernize your dependency chain, or encourage the upstream modules that you use to modernize their dependency chain. Yes, ideally the |
Edit: Actually, upgrading to the newest version of
|
@kaicataldo, great. It just passed for me with |
Works great now!!!
|
This can be closed now. |
I confirmed even old versions of phantomjs can now be installed as well:
If if you can't or don't want to upgrade to |
Closing as everyone reports this is working now. |
I had this problem after installing yarn locally with npm
Yarn, in the "removing unused files" phase, was simply deleting its own files, therefore resulting in File not found errors and being able to finish my tasks 🙄. Installing yarn with a -g option (or using any other method listed on the yarn website), solved my issue. |
I am having this problem, using exceljs https://www.npmjs.com/package/exceljs
|
@juliocanares You are different a problem. You are trying to install a different package than the other people here and are having a problem finding a different module. This ticket was about |
thanks @markstos I will open a new issue 👍 |
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
While install phantomjs there is a delay and fails with error : Cannot find module 'stringstream'
If the current behavior is a bug, please provide the steps to reproduce.
I am using this package.json https://github.com/reflexdemon/ng-gulp/blob/master/package.json
While trying to delete the node_modules folder and try to do the
yarn install
I get the following issueWhat is the expected behavior?
I see errors only on the first run. To my surprise while trying to run
yarn install
for the second time it completes successfully. This looks like a caching issue on the yarn that needs to be checked.Please mention your node.js, yarn and operating system version.
The text was updated successfully, but these errors were encountered: