-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
[Build] Failed to compile | Error: [BABEL] index.js Cannot find module './src/data' #8062
Comments
I'm having the same issue on CentOS on a vanilla app (I was installing it) but with 'npm start'. |
Retried on my local machine, and I get the same problem now (I didn't get it few days ago). |
Same error on Mac OS Mojave. After reinstall node modules all builds failed with this error |
macOS Catalina & Docker (node:latest) / Linux |
There was a bad publish by an upstream package -- this will self resolve in a while. Please follow npm/cli#545 for updates. npm seems to be having a service degradation and is serving 1hr+ old stale content. |
@Timer I tried that it didn't work for me. |
I'm getting this error even with a new project Error that I get:
|
@hecomp there's no instructions you can follow to resolve this currently. Please wait for npm to purge or update their edge caches! To clarify, there is nothing we can do to fix this. Please be patient, it will resolve in time. Once it's resolved, you'll need to deeply upgrade dependencies by running If you use |
thanks @Timer for being so helpful! |
I've just created a new project and it seems to work as intended now. Edit: Made it work in an existing project by running these steps:
|
@Timer thanks for the input. I'll wait then. |
@krckyboy I'll try again. |
I'm still facing this issue.
|
You need to deeply upgrade dependencies by running yarn upgrade. If you use npm, you need to delete |
@Timer Not able to run even after following below steps: -
|
Are you using a registry mirror? Please run |
|
Please run |
|
You are still on an old version of If that doesn't work, please try creating a project from scratch to be sure you get If you need further help please open a new issue and other maintainers may be able to help you. |
The bug itself
Getting this error when running : yarn build
My environment and project settings
node version : 12.3.1
npm version : 6.12.1
yarn version : 1.19.2
package.json
machine:
Linux ary-prod 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
I tried to run the same app on an ubuntu machine with the same versions of npm yarn and node, and it works, but not on this one.
The text was updated successfully, but these errors were encountered: