question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build process fails to locate custom template

See original GitHub issue

Do 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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
prateekbhcommented, Sep 10, 2019

This was fixed in #878, will be in next release

1reaction
prateekbhcommented, Sep 6, 2019

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to locate custom template: "typescript-webpack" #1360
The app directory is built without issues. Actual Behavior. The installation process stops at Locating custom template: "typescript-webpack". To ...
Read more >
Custom template does not work correctly
On Select Template Options, change the Template name to “CustomItemTest” and then fill any description on Template description, then click “Finish”, now you...
Read more >
Troubleshoot templates - Visual Studio - Microsoft Learn
In this article​​ If a template fails to load in the development environment, there are several ways to locate the problem.
Read more >
visual studio 2017 - Build process template not visible when ...
Normally, you just need to check in the template xaml files under the BuildProcessTemplate folder, then in Build Definition Process tab, ...
Read more >
Error when trying to create new module from custom Template
Currently, if you try to add a Custom DQMH module, and there is an incorrect file, you only get "Error 7 occurred at...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found