facebook

Angular IDE: Debug mode not working

  1. CodeMix & Angular IDE
  2.  > 
  3. Webclipse 1.x Help
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #513025 Reply

    Marcus
    Participant

    Dear all,

    I have an issue with the debugging mode throwing an error. To check if any configuration was wrong, I created a blank new project. There I still get the exact same error message (see below).

    How can I fix it?

    IDE version:
    Angular IDE by Webclipse
    1.5.0.20170203-0323
    epp.package.angularide Genuitec, LLC

    Angular CLI: 1.0.0-beta.28.3

    Stack trace

    
    Node.js version:    v7.5.0
    NPM version:        4.1.2
    ng serve --port=4200 --live-reload=true --environment=dev --webclipse-launch-id=2946909815171561716
    The option '--webclipse-launch-id' is not registered with the serve command. Run <code>ng serve --help</code> for a list of supported options.
    Cannot find module '@angular/compiler-cli'
    Error: Cannot find module '@angular/compiler-cli'
        at Function.Module._resolveFilename (module.js:470:15)
        at Function.Module._load (module.js:418:25)
        at Module.require (module.js:498:17)
        at require (internal/module.js:20:19)
        at Object.<anonymous> (C:\Users\xxx\.webclipse\nodejs\7.5.0\node_modules\@angular\cli\node_modules\@ngtools\webpack\src\plugin.js:5:24)
        at Module._compile (module.js:571:32)
        at Object.Module._extensions..js (module.js:580:10)
        at Module.load (module.js:488:32)
        at tryModuleLoad (module.js:447:12)
        at Function.Module._load (module.js:439:3)
        at Module.require (module.js:498:17)
        at require (internal/module.js:20:19)
        at Object.<anonymous> (C:\Users\xxx\.webclipse\nodejs\7.5.0\node_modules\@angular\cli\node_modules\@ngtools\webpack\src\index.js:5:10)
        at Module._compile (module.js:571:32)
        at Object.Module._extensions..js (module.js:580:10)
        at Module.load (module.js:488:32)
        at tryModuleLoad (module.js:447:12)
        at Function.Module._load (module.js:439:3)
        at Module.require (module.js:498:17)
        at require (internal/module.js:20:19)
        at Object.<anonymous> (C:\Users\xxx\.webclipse\nodejs\7.5.0\node_modules\@angular\cli\models\webpack-configs\typescript.js:4:19)
        at Module._compile (module.js:571:32)
        at Object.Module._extensions..js (module.js:580:10)
        at Module.load (module.js:488:32)
        at tryModuleLoad (module.js:447:12)
        at Function.Module._load (module.js:439:3)
        at Module.require (module.js:498:17)
        at require (internal/module.js:20:19)
        at Object.<anonymous> (C:\Users\xxx\.webclipse\nodejs\7.5.0\node_modules\@angular\cli\models\webpack-configs\index.js:9:10)
        at Module._compile (module.js:571:32)
        at Object.Module._extensions..js (module.js:580:10)
        at Module.load (module.js:488:32)
        at tryModuleLoad (module.js:447:12)
        at Function.Module._load (module.js:439:3)
        at Module.require (module.js:498:17)
        at require (internal/module.js:20:19)
        at Object.<anonymous> (C:\Users\xxx\.webclipse\nodejs\7.5.0\node_modules\@angular\cli\models\webpack-config.js:4:27)
        at Module._compile (module.js:571:32)
        at Object.Module._extensions..js (module.js:580:10)
        at Module.load (module.js:488:32)
        at tryModuleLoad (module.js:447:12)
        at Function.Module._load (module.js:439:3)
        at Module.require (module.js:498:17)
        at require (internal/module.js:20:19)
        at Object.<anonymous> (C:\Users\xxx\.webclipse\nodejs\7.5.0\node_modules\@angular\cli\tasks\serve.js:10:26)
        at Module._compile (module.js:571:32)
        at Object.Module._extensions..js (module.js:580:10)
        at Module.load (module.js:488:32)
        at tryModuleLoad (module.js:447:12)
        at Function.Module._load (module.js:439:3)
        at Module.require (module.js:498:17)
        at require (internal/module.js:20:19)
        at Class.run (C:\Users\xxx\.webclipse\nodejs\7.5.0\node_modules\@angular\cli\commands\serve.js:74:27)
        at Class.<anonymous> (C:\Users\xxx\.webclipse\nodejs\7.5.0\node_modules\@angular\cli\ember-cli\lib\models\command.js:134:17)
        at process._tickCallback (internal/process/next_tick.js:103:7)
    

    package.json

    {
      "name": "testproject",
      "version": "0.0.0",
      "license": "MIT",
      "angular-cli": {},
      "scripts": {
        "ng": "ng",
        "start": "ng serve",
        "test": "ng test",
        "pree2e": "webdriver-manager update --standalone false --gecko false",
        "e2e": "protractor"
      },
      "private": true,
      "dependencies": {
        "@angular/common": "^2.3.1",
        "@angular/compiler": "^2.3.1",
        "@angular/core": "^2.3.1",
        "@angular/forms": "^2.3.1",
        "@angular/http": "^2.3.1",
        "@angular/platform-browser": "^2.3.1",
        "@angular/platform-browser-dynamic": "^2.3.1",
        "@angular/router": "^3.3.1",
        "core-js": "^2.4.1",
        "rxjs": "^5.0.1",
        "ts-helpers": "^1.1.1",
        "zone.js": "^0.7.2"
      },
      "devDependencies": {
        "@angular/compiler-cli": "^2.3.1",
        "@types/jasmine": "2.5.38",
        "@types/node": "^6.0.42",
        "angular-cli": "1.0.0-beta.28.3",
        "angular-ide": "^0.9.16",
        "codelyzer": "~2.0.0-beta.1",
        "jasmine-core": "2.5.2",
        "jasmine-spec-reporter": "2.5.0",
        "karma": "1.2.0",
        "karma-chrome-launcher": "^2.0.0",
        "karma-cli": "^1.0.1",
        "karma-jasmine": "^1.0.2",
        "karma-remap-istanbul": "^0.2.1",
        "protractor": "~4.0.13",
        "ts-node": "1.2.1",
        "tslint": "^4.3.0",
        "typescript": "~2.0.3"
      }
    }
    #513026 Reply

    Marcus
    Participant

    PS: Debugging works if I create a project with the Default CLI, selected by Angular IDE (1.0.0-beta.22-1)

    #513033 Reply

    support-swapna
    Moderator

    Marcus,

    Sorry that you are seeing this issue. Webclipse 2017 CI 3 will fully support the newer CLI and is due to release soon. The debug issue you are seeing should be fixed in CI 3. We will keep you posted about the CI 3 release schedule.

    Apologies for inconvenience caused.

    –Swapna
    MyEclipse Support

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Angular IDE: Debug mode not working

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