Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Can't Initialize a project with 1.7.0 image #19
I'm facing an error while initializing a project with yeoman in the 1.7.0 image.
i'm getting the following error
firstname.lastname@example.org install /usr/app/spfx/node_modules/node-sass
Error: EINVAL: invalid argument, open '/usr/app/spfx/node_modules/node-sass/package.json'
i tried with the 1.6 and the 1.5.1 image and it works fine.
thanks to find below the choice done during the yo man wizard
I have just encountered the same issue on Docker for Windows. I created my own image based on the latest 1.7.0 dockerfile but I downgraded the version of node to 8.9.4. The first line of my dockerfile reads:
The rest of the file is the same.
This change appears to work but I have not had time to test it extensively.
As @YannickRe mentioned, installing packages works using yarn (