electric icon indicating copy to clipboard operation
electric copied to clipboard

Unable to build site after upgrading to v3.0.4

Open alexander-torres opened this issue 6 years ago • 1 comments

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

Steps to Reproduce:

  1. Clone the Frontend Internship Training site repo locally: https://github.com/jonmak08/front-end-internship-training.git
  2. cd into the cloned repo and run npm install
  3. Run 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.io

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.

alexander-torres avatar Mar 22 '18 22:03 alexander-torres

There are many changes in this major release, I recommend checking the diff from the PRs listed here: https://github.com/electricjs/electric/issues/108

zenorocha avatar Mar 22 '18 22:03 zenorocha