liferay / electric

⚡ Create beautiful documentation for your projects
https://electricjs.com
Other
118 stars 26 forks source link

Unable to build site after upgrading to v3.0.4 #145

Open alexander-torres opened 6 years ago

alexander-torres commented 6 years ago

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.

zenorocha commented 6 years ago

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