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

Issue with running vue serve on windows #37

Closed
AndrushaShor opened this issue Oct 23, 2019 · 8 comments
Closed

Issue with running vue serve on windows #37

AndrushaShor opened this issue Oct 23, 2019 · 8 comments

Comments

@AndrushaShor
Copy link

Hello, I am having an issue with running vue serve on my Windows machine. When I try to run it, I get an error saying I'm missing (parts of) core-js. I have tried to install core-js with npm install core-js from the cdQA-annotator directory and am still getting the same issue.

I'm on Node v 12.13.0 and npm 6.12.0.

Full error:

 ERROR  Failed to compile with 4 errors                                                                    9:40:29 PM

These dependencies were not found:

* core-js/library/fn/array/from in ../node_modules/bootstrap-vue/esm/utils/array.js
* core-js/library/fn/array/is-array in ../node_modules/bootstrap-vue/esm/utils/array.js
* core-js/library/fn/object/assign in ../node_modules/bootstrap-vue/esm/utils/object.js
* core-js/library/fn/object/is in ../node_modules/bootstrap-vue/esm/utils/object.js

It suggests I install these with npm install --save core-js/library/fn/array/from [...], but that didn't solve the issue either.

@andrelmfarias
Copy link
Collaborator

@fmikaelian any ideas on how to solve this?

@ghost
Copy link

ghost commented Nov 9, 2019

I am facing the same issue in cdQA-annotator and cdQA-ui

@ghost
Copy link

ghost commented Nov 9, 2019

Screenshot from 2019-11-09 23-34-24

@DEEPAvtu
Copy link

DEEPAvtu commented Dec 8, 2019

for require error: just do npm install require

@Tahsin-Mayeesha
Copy link

Facing Same Issue, Windows 10.

@svanschalkwyk
Copy link

On one machine I had to run it NOT from the src folder, but the parent.

@svanschalkwyk
Copy link

npm run serve from the parent folder, not src folder.

@shivanand3939
Copy link

On one machine I had to run it NOT from the src folder, but the parent.

Yes it worked for me as well!..

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

No branches or pull requests

7 participants