After angular CLI upgrade webclipse server fails with: “Server failed to start”.
Currently running webclips angular plugin version: 1.10.0.201808081726
After upgrading my projects to the following versions:
Angular CLI: 6.1.2
Node: 10.1.0
OS: win32 x64
Angular: 6.0.2
When starting the server associated with the project I get the following error:
TypeError: Class extends value undefined is not a constructor or null
at patchServeCommand (C:Userswilliamseclipse-workspacedevice-guinode_modulesangular-ideaddoncommandsserve.js:76:52)
at Object.<anonymous> (C:Userswilliamseclipse-workspacedevice-guinode_modulesangular-idebinng:40:7)
at Module._compile (internal/modules/cjs/loader.js:678:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)
at Module.load (internal/modules/cjs/loader.js:589:32)
at tryModuleLoad (internal/modules/cjs/loader.js:528:12)
at Function.Module._load (internal/modules/cjs/loader.js:520:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:719:10)
at startup (internal/bootstrap/node.js:228:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:576:3)
Please help me get my environment running on the latest angular cli.
——
Sorry we missed this earlier. You may need to update the angular-ide module for full Angular 6 support. In a Terminal+ session for the project, enter the command:
npm update angular-ide
If that doesn’t fix the issue, please let us know the eclipse version, the full Webclipse version (from Preferences->Webclipse) and the npm version for the project (from the project Properties/CLI Tool Management page), to make sure we can try to replicate your environment. Also, if possible, attach your package.json file and the eclipse error log, which can be exported from the Error Log view.
Sorry again for the late reply.
发表回复