`npm run myapp:build-electron` fails
See original GitHub issueUsing newly released Angular CLI 8.0.0, I do, ng new myapp
, select yes for routing, and SCSS for styling, and the app is generated. Then I cd
into the folder and do ng add @richapps/ngtron
. This command succeeds, however when I try to run ng run project:build-electron
I get the error:
ENOENT: no such file or directory, copyfile 'C:\Users\Elchin\Projects\myapp\src\electron.ts' -> 'dist\myapp\electron.ts'
Error: ENOENT: no such file or directory, copyfile 'C:\Users\Elchin\Projects\myapp\src\electron.ts' -> 'dist\myapp\electron.ts'
at Object.copyFileSync (fs.js:1724:3)
at C:\Users\Elchin\Projects\myapp\node_modules\@richapps\ngtron\builders\build\index.js:47:18
at Generator.next (<anonymous>)
at fulfilled (C:\Users\Elchin\Projects\myapp\node_modules\@richapps\ngtron\builders\build\index.js:4:58)
at process._tickCallback (internal/process/next_tick.js:68:7)
at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
at startup (internal/bootstrap/node.js:282:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
error: This is probably not a problem with npm. There is likely ...
I'm using npm run build -prod command to build the frontend first. But I can't build my project since the following error occurs...
Read more >npm-run-script
Run arbitrary package scripts. ... a node_modules directory and it fails, you will be given a warning to run npm install , just...
Read more >npm-run-all/run-s.md at master - GitHub
A CLI tool to run multiple npm-scripts in parallel or sequential. ... 'run-s' itself will exit with non-zero code if one or more...
Read more >"The NPM script 'start' exited without indicating that the create ...
Net React Application. When I try to run my project I always get this error: 181477-image.png. I' ...
Read more >Helpers and tips for npm run scripts - Michael Kühnel
The tests will not run if linting fails, or more generally: the following script won't be executed if one of the scripts running...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the report. I will have a fix later today. Until then you can manually copy the electron.ts file from the node_modules/@richapps/ngtron/schematics/ng-add/files/src folder into your projects src folder and you should be good to go.
@ellipizle Allright glad it`s working for you now!