After upgrading electric to v3.0.4, I could not get the Frontend Internship Training site to build and run a local server. Whenever I ran electric build, I would get the error shown in the attached log.txt and the index.html file would not generate in the dist folder. The site would build and the server would run without any issues before when using electric-cli v2.2.0 or v2.3.3.
log.txt
Actual Result
The files don't finish compiling and the error shown in the attached log.txt file would appear. The website would then display as a file directory.
After upgrading electric to v3.0.4, I could not get the Frontend Internship Training site to build and run a local server. Whenever I ran
electric build
, I would get the error shown in the attached log.txt and the index.html file would not generate in the dist folder. The site would build and the server would run without any issues before when using electric-cli v2.2.0 or v2.3.3. log.txtSteps to Reproduce:
cd
into the cloned repo and runnpm install
electric build
(while using v3.0.4)Expected Result: The files in the src folder compile without any errors. When running
electric server
, the locally served website will look like this: https://hosting-frontendinternshiptraining.wedeploy.ioActual Result The files don't finish compiling and the error shown in the attached log.txt file would appear. The website would then display as a file directory.