0

I install node-v18.16.1, then update angular v17.3, I created new project- ng new, then ng serve, the project is empty, base base project I get an error:

the error:
[error] Error: spawn UNKNOWN
    at ChildProcess.spawn (node:internal/child_process:413:11)
    at Object.spawn (node:child_process:757:9)
    at ensureServiceIsRunning (C:\Repos\HolocaustSurvivorsInterfaces\mlm-app\node_modules\esbuild\lib\main.js:2164:29)
    at context (C:\Repos\HolocaustSurvivorsInterfaces\mlm-app\node_modules\esbuild\lib\main.js:2048:33)
    at #performBundle (C:\Repos\HolocaustSurvivorsInterfaces\mlm-app\node_modules\@angular-devkit\build-angular\src\tools\esbuild\bundler-context.js:158:68)
    at BundlerContext.bundle (C:\Repos\HolocaustSurvivorsInterfaces\mlm-app\node_modules\@angular-devkit\build-angular\src\tools\esbuild\bundler-context.js:132:49)
    at C:\Repos\HolocaustSurvivorsInterfaces\mlm-app\node_modules\@angular-devkit\build-angular\src\tools\esbuild\bundler-context.js:65:28
    at Array.map (<anonymous>)
    at BundlerContext.bundleAll (C:\Repos\HolocaustSurvivorsInterfaces\mlm-app\node_modules\@angular-devkit\build-angular\src\tools\esbuild\bundler-context.js:61:67)
    at executeBuild (C:\Repos\HolocaustSurvivorsInterfaces\mlm-app\node_modules\@angular-devkit\build-angular\src\builders\application\execute-build.js:40:67)
4
  • Try to remove the node_modules folder and run "npm i" command again.
    – n_denny
    Commented Apr 12 at 13:53
  • still the same error :(
    – Rivki
    Commented Apr 13 at 23:53
  • More details are required then to check what happens :) can you provide the repo or some way to reproduce the problem?
    – n_denny
    Commented Apr 15 at 6:20
  • how can i send you the repo?
    – Rivki
    Commented Apr 15 at 9:10

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.