-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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 'self-published' #6726
Comments
It seems to be the error caused by it not supporting android. |
Hello |
My coworker was having this issue on his machine while I was not. We discovered that node's This is important because that top file where the error is thrown We resolved the issue by uninstalling node and then reinstalling the x64 version. (for some dialogue about running a x32 node version on a x64 bit machine :: nodejs/node-v0.x-archive#2862) |
Getting this today, have not changed node versions. My OS is x64 Win10 and process.arch is returning x64 EDIT: |
I am getting this same issue while building my project in Play.js (an iOS javascript IDE). This project built fine prior to upgrading to Parcel 2. I understand that my use case is fairly niche, but it seems like there is some unintended behavior here given that the package required that is causing the error ( parcel/packages/utils/fs-search/package.json:
|
hitting the same issue on windows 10 with the minimal setup from the 'get started' docs, I updated to the latest node 14.17.6 LTS (I had a lower minor version 14.17.x), deleted node_modules and package-lock.json, did npm install and it "just worked" (tm) |
Is this still a problem? |
I got around it by full-cleaning/install: delete yarn/npm caches (I even cleaned global). After the next install, I was ok. |
As of 2.0.0, when running in Play.js on iOS this issue has been replaced with the error "Cannot find module './artifacts/index.ios-arm64.node'" which appears to be an expected lack of support for the environment as opposed to a bug (I've since stopped using Play.js in favor of a digitalocean instance and ssh). |
I think the docs of that app also say that loading native modules is generally disallowed by iOS, so wouldn't work even if there were a corresponding prebuilt binary. |
🐛 bug report
Error: Cannot find module 'self-published'
🎛 Configuration (.babelrc, package.json, cli command)
🤔 Expected Behavior
😯 Current Behavior
💁 Possible Solution
🔦 Context
💻 Code Sample
🌍 Your Environment
Linux localhost 4.19.113-perf-gc78e85e43d72 #1 SMP PREEMPT Fri Aug 6 01:12:47 CST 2021 aarch64 Android
The text was updated successfully, but these errors were encountered: