Skip to content
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 '@babel/compat-data/corejs3-shipped-proposals' #19

Closed
atd opened this issue May 20, 2020 · 2 comments · Fixed by #20
Closed

Cannot find module '@babel/compat-data/corejs3-shipped-proposals' #19

atd opened this issue May 20, 2020 · 2 comments · Fixed by #20

Comments

@atd
Copy link
Contributor

atd commented May 20, 2020

After updating to master and running yarn, I cannot start yarn serve

 ERROR  Failed to compile with 1 errors                                                                                21:38:31
                                                                                                                               
 error  in ./src/main.js                                                                                                       
                                                                                                                               
Module build failed (from ./node_modules/babel-loader/lib/index.js):           
Error: [BABEL] /home/atd/dev/hestia-touch-one-ui/src/main.js: Cannot find module '@babel/compat-data/corejs3-shipped-proposals'
Require stack:                                                                                                                                     
- /home/atd/dev/hestia-touch-one-ui/node_modules/@babel/preset-env/lib/polyfills/corejs3/usage-plugin.js                                           
- /home/atd/dev/hestia-touch-one-ui/node_modules/@babel/preset-env/lib/index.js                                                
- /home/atd/dev/hestia-touch-one-ui/node_modules/@vue/babel-preset-app/index.js                                                                    
- /home/atd/dev/hestia-touch-one-ui/node_modules/@babel/core/lib/config/files/plugins.js                                                           
- /home/atd/dev/hestia-touch-one-ui/node_modules/@babel/core/lib/config/files/index.js                                         
- /home/atd/dev/hestia-touch-one-ui/node_modules/@babel/core/lib/index.js                                                                          
- /home/atd/dev/hestia-touch-one-ui/node_modules/@vue/cli-plugin-babel/index.js
- /home/atd/dev/hestia-touch-one-ui/node_modules/@vue/cli-service/lib/Service.js                                               
- /home/atd/dev/hestia-touch-one-ui/node_modules/@vue/cli-service/bin/vue-cli-service.js (While processing: "/home/atd/dev/hestia-touch-one-ui/node_modules/@vue/babel-preset-
app/index.js")                                                                                                                                     
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:962:15)
    at Function.Module._load (internal/modules/cjs/loader.js:838:27)         
    at Module.require (internal/modules/cjs/loader.js:1022:19)
    at require (internal/modules/cjs/helpers.js:72:18)                                                                         
    at Object.<anonymous> (/home/atd/dev/hestia-touch-one-ui/node_modules/@babel/preset-env/lib/polyfills/corejs3/usage-plugin.js:10:55)                                      
    at Module._compile (internal/modules/cjs/loader.js:1118:30)                                                                
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1138:10)                                                                      
    at Module.load (internal/modules/cjs/loader.js:982:32)                                                                                         
    at Function.Module._load (internal/modules/cjs/loader.js:875:14)                                                                               
    at Module.require (internal/modules/cjs/loader.js:1022:19)           
    at require (internal/modules/cjs/helpers.js:72:18)                                                                                             
    at Object.<anonymous> (/home/atd/dev/hestia-touch-one-ui/node_modules/@babel/preset-env/lib/index.js:29:44)                
    at Module._compile (internal/modules/cjs/loader.js:1118:30)                                                                                    
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1138:10)                                                                                                 
    at Module.load (internal/modules/cjs/loader.js:982:32)                             
    at Function.Module._load (internal/modules/cjs/loader.js:875:14)                                                                                                          
                                    
 @ multi (webpack)-dev-server/client?http://192.168.10.2:8080/sockjs-node (webpack)/hot/dev-server.js ./src/main.js    
atd added a commit to atd/hestia-touch-one-ui that referenced this issue May 20, 2020
@atd atd mentioned this issue May 20, 2020
@jaythomas
Copy link
Collaborator

@atd hey I wasn't able to reproduce the issue, but I noticed your repo's master is behind HestiaPi's master branch/. Can you try updating your repo from upstream and deleting your node_modules and see if the updated yarn.lock fixes your problem?

git remote add upstream https://github.com/HestiaPi/hestia-touch-one-ui.git
git fetch upstream

git checkout master
git rebase upstream/master

rm -rf node_modules
yarn

If you still have the issue then we'll get this branch updated with an up-to-date lock file and merge it in.

@atd
Copy link
Contributor Author

atd commented May 24, 2020

Hi @jaythomas

Please note that, although my master branch is outdated, the branch for #20 is updated

I already had tested the issue against last commit in HestiaPi's master

jaythomas pushed a commit that referenced this issue May 27, 2020
jaythomas added a commit that referenced this issue May 27, 2020
helgew pushed a commit to helgew/hestia-touch-one-ui that referenced this issue Nov 11, 2021
helgew pushed a commit to helgew/hestia-touch-one-ui that referenced this issue Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants