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: Cannot find module '../build/tries/current/icann.complete.json' #35
Comments
Having this problem as well. |
You broke my all CI builds |
These issues arise during Since Do you know why we can't write to the file system in your setup? Is there a better way to do it? Help appreciated ❤️. |
Would it be possible to not write anything in the FS system in the fallback catch? |
Yes, I think that's possible. We could just overwrite the prebuilt list with the up-to-date list. In order to roll back if the unit test fails, we could read the file contents of the prebuilt list into memory before overwriting it with the new version. This way we can always fall back to the prebuilt list. File system access should work at that point because otherwise the updated list could not been overwritten in the first place. Would you be up to a PR? I think the change shouldn't be too big:
|
just noting temporary fix: copy |
Unfortunately, I won't have time to make a PR. |
Hey guys, I've solved this issue by updating npm: sudo npm install -g npm Hope it will solve your problem too ! |
well I was on npm 6.0.0 and had the issue - what did you upgrade from and to @MaximeArbisa ? |
@sw-yx, I was v3.8.9, now, I'm v6.1.0. The problem only occured when I ran my code from development to production, where NPM version was 3.8.9, strange ... |
Hi everyone, |
@bodinsamuel as you experience this issue, could you try if my fix actually fix it?
|
I'm seeing this issue on latest parse-domain, building on travis CI |
parse-domain issue: peerigon/parse-domain#35 has not been fixed, but git-url-parse removed that dependency in version 10: IonicaBizau/git-url-parse#80
parse-domain issue: peerigon/parse-domain#35 has not been fixed, but git-url-parse removed that dependency in version 10: IonicaBizau/git-url-parse#80
Just as a side note: not npm-specific / having same issue irregularly with yarn 1.7.0 |
Hello, everything is working well in local.
But when I try to clone and npm install my project, this error appears for parse-domain, in the line where I require it.
Do you know what may be the problem ?
In node_modules/parse-domain/build/tries when renaming folder pre/ to current/ it works, but what a quick fix ! And why is that folder absent locally ?
Locally:
NPM version: v5.6.0
Node.js version: v8.9.4
Production:
NPM version: v3.8.9
Node.js version: v6.2.0
parse-domain: 2.1.1
Thank you ! :)
The text was updated successfully, but these errors were encountered: