Build process fails to locate custom template
See original GitHub issueDo you want to request a feature or report a bug? Bug
What is the current behaviour? Upgraded to version 3.0.0-rc.5 and build command with custom template file fails. Uninstalled and returning to version 3.0.0-rc.4 resolves the problem
If the current behaviour is a bug, please provide the steps to reproduce.
The build command I was using is: preact build --template src/template/defaultindex.html
What is the expected behaviour? Build succeeds
If this is a feature request, what is motivation or use case for changing the behaviour?
Please mention other relevant information. Error on build: × ERROR Error: ENOENT: no such file or directory, open ‘C:\Users.…\node_modules\preact-cli\lib\lib\webpack\src\template\defaultindex.html’
Please paste the results of preact info
here.
Environment Info:
System: OS: Windows 10 CPU: (4) x64 Intel® Core™ i7-8750H CPU @ 2.20GHz Binaries: Node: 10.15.2 - C:\Program Files\nodejs\node.EXE npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD Browsers: Edge: 42.17134.1.0
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:11 (5 by maintainers)
Top GitHub Comments
This was fixed in #878, will be in next release
TBH my only concern was that we’ll end up having two way to do exact same thing. No strong preferences. We should totally fix it if it still has a use case