Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

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

Open
alexander-torres opened this issue Mar 22, 2018 · 1 comment
Open

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

alexander-torres opened this issue Mar 22, 2018 · 1 comment

Comments

@alexander-torres
Copy link

alexander-torres commented Mar 22, 2018

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
Copy link
Contributor

There are many changes in this major release, I recommend checking the diff from the PRs listed here: #108

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants