- This topic has 3 replies, 3 voices, and was last updated 1 year, 6 months ago by support-swapna.
-
AuthorPosts
-
anlachelParticipantHello,
After creating an Angular project (v11), I leave it empty and I start upgrading it from v11 to v14. After executing “ng update @angular/core@14 @angular/cli@14” with no error, ng commands (build, serve, etc…) do not work anymore. I get the following error when trying to execute them:internal/modules/cjs/loader.js:883
throw err;
^Error: Cannot find module ‘@angular/cli/commands/serve’
Require stack:
– C:\eclipseWorkspace\Yavink\node_modules\angular-ide\addon\commands\serve.js
– C:\eclipseWorkspace\Yavink\node_modules\angular-ide\bin\ng
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (C:\eclipseWorkspace\Yavink\node_modules\angular-ide\addon\commands\serve.js:30:15)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19) {
code: ‘MODULE_NOT_FOUND’,
requireStack: [
‘C:\\eclipseWorkspace\\Yavink\\node_modules\\angular-ide\\addon\\commands\\serve.js’,
‘C:\\eclipseWorkspace\\Yavink\\node_modules\\angular-ide\\bin\\ng’
]
}
support-swapnaModeratorHi,
I am afraid Angular 14 and higher are not yet supported with MyEclipse. Our next update due soon will fix this problem.
We will keep you posted when the release is out.Apologies for inconvenience caused.
–Swapna
Genuitec Support
Brian FernandesModeratorJust wanted to clarify that we’re just a few days away from the MyEclipse 2023 release that will support recent versions of Angular, even Angular 16 and beyond! We’re adding compatibility for the CLI changes that were made in Angular 14, as well as maintaining backward compatibility for older versions of Angular.
Please see https://www.genuitec.com/products/myeclipse/2023-release/ for more details on what’s coming in MyEclipse 2023.
support-swapnaModeratorOur latest release MyEclipse 2023 is out with support for newer versions of Angular.
For more details on the tech enhancements and updates in MyEclipse 2023, see here : https://www.genuitec.com/myeclipse-2023-1-jakarta-ee-10-angular-16-and-beyond/
Please give it a try and let us know how it works for you.Thank you for your patience.
–Swapna
Genuitec Support -
AuthorPosts