After angular CLI upgrade webclipse server fails with: "Server failed to start"

This topic contains 5 replies, has 4 voices, and was last updated by  Brian Fernandes 2 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #595899 Reply

    mpwillia401
    Participant

    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:\Users\williams\eclipse-workspace\device-gui\node_modules\angular-ide\addon\commands\serve.js:76:52)
    at Object.<anonymous> (C:\Users\williams\eclipse-workspace\device-gui\node_modules\angular-ide\bin\ng: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.

    #596277 Reply

    support-tony
    Keymaster

    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.

    #597892 Reply

    mpwillia401
    Participant

    Thank you! The help you provided corrected my issue.

    #597960 Reply

    support-tony
    Keymaster

    Excellent!

    Thanks for getting back to us on this; it really helps to know if our advice worked.

    #612831 Reply

    krishna7
    Participant

    i tried bellow command,but still i am getting same error.

    npm update angular-ide

    please help me.please find bellow my error message

    #612832 Reply

    Brian Fernandes
    Moderator

    krishna,

    Can you please let me know when you see this exactly? Is it when you execute the npm update, command or at some other time?

    Can you also please let me know your version of CodeMix as shown on the Preferences > CodeMix page.

    Thanks!

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: After angular CLI upgrade webclipse server fails with: "Server failed to start"

You must be logged in to post in the forum log in