Error running gulp serve in 1.15.2
Sartor87 opened this issue · 2 comments
Sartor87 commented
Describe the bug
Error occurs whenever I try to run gulp serve. This happens with a newly scaffolded project which is created from within the docker image.
'serve' errored after
To Reproduce
- Navigate to the project folder or an empty folder
- Ensure that all changes to the node packages and config files are made per documentation
- Run docker image with version 1.15.2
docker run -it --rm --name spfx-helloworld -v %cd%:/usr/app/spfx -p 4321:4321 -p 35729:35729 m365pnp/spfx:1.15.2
- Run gulp trust-dev-cert
- Run gulp serve
Expected behavior
The project should be run.
shurick81 commented
Hi @Sartor87, where did you get the node_modules
directory for this solution? I guess it should be generated by running npm install
and it is important that you run this command in the same image where you want to run gulp serve
waldekmastykarz commented
Closing due to lack of response