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

Missing core.js dependency #104

Closed
ngurmen opened this issue Nov 23, 2020 · 3 comments
Closed

Missing core.js dependency #104

ngurmen opened this issue Nov 23, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@ngurmen
Copy link

ngurmen commented Nov 23, 2020

Bug Description
core.js is missing from package.json for vue-app

Steps to Reproduce

  1. git clone https://github.com/PaulRBerg/solidity-template.git dapp-vue-syn
  2. yarn create eth-app dapp-vue --framework vue --template synthetix
  3. cd dapp-vue
  4. yarn vue-app:serve

The app does not start as it cannot find core.js dependency.

Expected Behavior
Vue app should have started at the localhost development server without any error.

Fix:

  1. Add "core-js": "^3.0.0" to the package.json in the packages/vue-app directory.
  2. yarn install
  3. yarn vue-app:serve

Additional Context
Here is error messages to the console:

  • core-js/modules/es.array.slice in /home/user1/dev/dapp-vue-syn/dapp-vue/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js
  • core-js/modules/es.number.constructor in /home/user1/dev/dapp-vue-syn/dapp-vue/node_modules/cache-loader/dist/cjs.js??ref--12-0!/home/user1/dev/dapp-vue-syn/dapp-vue/node_modules/babel-loader/lib!/home/user1/dev/dapp-vue-syn/dapp-vue/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/user1/dev/dapp-vue-syn/dapp-vue/node_modules/vue-loader/lib??vue-loader-options!./src/components/HelloWorld.vue?vue&type=script&lang=js&
  • core-js/modules/es.object.freeze in /home/user1/dev/dapp-vue-syn/dapp-vue/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js
  • core-js/modules/es.object.to-string in /home/user1/dev/dapp-vue-syn/dapp-vue/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js, /home/user1/dev/dapp-vue-syn/dapp-vue/node_modules/cache-loader/dist/cjs.js??ref--12-0!/home/user1/dev/dapp-vue-syn/dapp-vue/node_modules/babel-loader/lib!/home/user1/dev/dapp-vue-syn/dapp-vue/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/user1/dev/dapp-vue-syn/dapp-vue/node_modules/vue-loader/lib??vue-loader-options!./src/components/HelloWorld.vue?vue&type=script&lang=js&
  • core-js/modules/es.regexp.to-string in /home/user1/dev/dapp-vue-syn/dapp-vue/node_modules/cache-loader/dist/cjs.js??ref--12-0!/home/user1/dev/dapp-vue-syn/dapp-vue/node_modules/babel-loader/lib!/home/user1/dev/dapp-vue-syn/dapp-vue/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/user1/dev/dapp-vue-syn/dapp-vue/node_modules/vue-loader/lib??vue-loader-options!./src/components/HelloWorld.vue?vue&type=script&lang=js&
@ngurmen ngurmen added the bug Something isn't working label Nov 23, 2020
pbbhopp pushed a commit to veloxoft/space-swap-front that referenced this issue Mar 29, 2021
@joshuabyler
Copy link
Contributor

@ngurmen I had the same issue, i just ran npm i --save core-js in the packages/vue-app folder

@PaulRBerg
Copy link
Collaborator

I managed to reproduce the bug on my machine. Already working on a fix!

@PaulRBerg
Copy link
Collaborator

Fixed in v1.6.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants