facebook

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

  1. CodeMix & Angular IDE
  2.  > 
  3. Webclipse 1.x Help
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

    Class extends value undefined is not a constructor or null
    [1] TypeError: Class extends value undefined is not a constructor or null
    [1]     at C:\Users\XXXXXXX\AppData\Roaming\npm\node_modules\@angular\compiler-cli\src\diagnostics\expression_diagnostics.js:156:59
    [1]     at Object.defineProperty.value (C:\Users\XXXXXX\AppData\Roaming\npm\node_modules\@angular\compiler-cli\src\diagnostics\expression_diagnostics.js:10:17)
    [1]     at Object.<anonymous> (C:\Users\XXXXXX\AppData\Roaming\npm\node_modules\@angular\compiler-cli\src\diagnostics\expression_diagnostics.js:16:3)
    [1]     at Module._compile (module.js:653:30)
    [1]     at Object.Module._extensions..js (module.js:664:10)
    [1]     at Module.load (module.js:566:32)
    [1]     at tryModuleLoad (module.js:506:12)
    [1]     at Function.Module._load (module.js:498:3)
    [1]     at Module.require (module.js:597:17)
    [1]     at require (internal/module.js:11:18)
    [1]     at C:\Users\C811538\AppData\Roaming\npm\node_modules\@angular\compiler-cli\index.js:23:36
    [1]     at Object.defineProperty.value (C:\Users\XXXXXX\AppData\Roaming\npm\node_modules\@angular\compiler-cli\index.js:3:17)
    [1]     at Object.<anonymous> (C:\Users\XXXXXX\AppData\Roaming\npm\node_modules\@angular\compiler-cli\index.js:9:3)
    [1]     at Module._compile (module.js:653:30)
    [1]     at Object.Module._extensions..js (module.js:664:10)
    [1]     at Module.load (module.js:566:32)
    [1]     at tryModuleLoad (module.js:506:12)
    [1]     at Function.Module._load (module.js:498:3)
    [1]     at Module.require (module.js:597:17)
    [1]     at require (internal/module.js:11:18)
    [1]     at Object.<anonymous> (C:\Users\XXXXXX\AppData\Roaming\npm\node_modules\@angular-devkit\build-angular\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:12:24)
    [1]     at Module._compile (module.js:653:30)
    [1]     at Object.Module._extensions..js (module.js:664:10)
    [1]     at Module.load (module.js:566:32)
    [1]     at tryModuleLoad (module.js:506:12)
    [1]     at Function.Module._load (module.js:498:3)
    [1]     at Module.require (module.js:597:17)
        at require (internal/module.js:11:18) 
    #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