Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Failed to run "npm start" #81

Closed
vudq opened this issue Aug 13, 2021 · 7 comments
Closed

Failed to run "npm start" #81

vudq opened this issue Aug 13, 2021 · 7 comments

Comments

@vudq
Copy link

vudq commented Aug 13, 2021

Dear all,
I'am trying to run "npm start" on Windows 10 but it's failed as below picture.
image
Any suggestion on fixing this?
Thanks,

@astridx
Copy link
Contributor

astridx commented Aug 13, 2021

Dear @vudq ,
Have you set up the environment as described here? : https://github.com/maplibre/maplibre-gl-js-docs#setting-up-the-development-environment

Did you see an error or a warning by this?

@vudq
Copy link
Author

vudq commented Aug 13, 2021

I have do it without error or a warning.

@astridx
Copy link
Contributor

astridx commented Aug 13, 2021

Which node version are you using? Maybe nvm use && npm start is worth a try?
( see https://github.com/maplibre/maplibre-gl-js-docs#running-the-documentation-server-locally)

@vudq
Copy link
Author

vudq commented Aug 13, 2021

Which node version are you using? Maybe nvm use && npm start is worth a try?
( see https://github.com/maplibre/maplibre-gl-js-docs#running-the-documentation-server-locally)

I'am using node v12.13.1

@astridx
Copy link
Contributor

astridx commented Aug 13, 2021

Did you try nvm use && npm start ?

@vudq
Copy link
Author

vudq commented Aug 13, 2021

Dear @vudq ,
Have you set up the environment as described here? : https://github.com/maplibre/maplibre-gl-js-docs#setting-up-the-development-environment

Did you see a error or a warning by this?

This is result of "npm ci" in my machine
image
image

@vudq
Copy link
Author

vudq commented Aug 13, 2021

Did you try nvm use && npm start ?

As recommandation in requirement "The NPM scripts will not run on Windows, but work perfectly with WSL2."
now i'm using WSL and it works,
@astridx , Thanks you very much.

@vudq vudq closed this as completed Aug 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants