-
-
Notifications
You must be signed in to change notification settings - Fork 375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating an app with the default template throws an error #365
Comments
Are you using |
Sorry I forgot about that, yes it's preact-cli 1.4.1 |
Any quick workaround for placing custom scripts into the By the way I'm getting the same error when I just run
|
Hi there! This seems like the same issue as #275, which ended up being an upstream issue: jantimon/html-webpack-plugin#753 |
We updated yarn to 1.0.2 and updated all globally installed packages now the mentioned preact-cli commands seem to work. Not sure what caused the issue. Another developer had the same problem but had it installed via npm and said running
solved it on his machine. |
When I build an app with the default template from https://github.com/developit/preact-cli/blob/master/src/resources/template.html I get an error message.
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce.
preact create TestApp
TestApp/src/template.html
preact watch --template src/template.html
orpreact build
.When I run
npm run build
the app builds successfully.What is the expected behavior?
The app is built successfully with the default template. I can also add new header scripts to the template like e.g. Google Tag Manager.
Please mention other relevant information.
The text was updated successfully, but these errors were encountered: