facebook

old project imported to myeclipse Cannot find module '@angular/core'.

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #531869 Reply

    Villamor
    Participant

    Hi Genuitec,

    We got existing angular project and I converted it to angular project in myeclipse but it shows the error “Cannot find module ‘@angular/core’.” in all my .ts files.
    This is my package.json:
    {
    “dependencies”: {
    “@angular/common”: “2.3.0”,
    “@angular/compiler”: “2.3.0”,
    “@angular/core”: “2.3.0”,
    “@angular/forms”: “2.3.0”,
    “@angular/http”: “2.3.0”,
    “@angular/platform-browser”: “2.3.0”,
    “@angular/platform-browser-dynamic”: “2.3.0”,
    “@angular/router”: “3.3.0”,
    “core-js”: “2.4.1”,
    “rxjs”: “5.0.0-rc.5”,
    “systemjs”: “0.19.41”,
    “zone.js”: “0.7.2”
    },
    “devDependencies”: {
    “codelyzer”: “^2.0.0-beta.1”,
    “typescript”: “2.1.4”
    },
    “name”: “Custom APPs team 2017”,
    “author”: “Custom APPs team 2017”
    }

    Attached is my project structure:

    Attachments:
    You must be logged in to view attached files.
    #531876 Reply

    support-swapna
    Moderator

    Villamor,

    Sorry that you are seeing this issue. The @angular/core might be missing from the project’s node_modules folder. Can you please check if running ‘npm install’ for the project from Terminal+ fixes the issue?

    –Swapna
    MyEclipse Support

    #531950 Reply

    Villamor
    Participant

    Hi Swapna,
    The Terminal+ does not even allow me to type anything into the window.

    Attachments:
    You must be logged in to view attached files.
    #532049 Reply

    support-swapna
    Moderator

    Villamor,

    Thank you for the screenshot. It looks like the bash is not getting instantiated due to permission issues thus rendering the Terminal+ view unstable.

    I have responded to your concern regarding project creation and permissions issues here : https://www.genuitec.com/forums/topic/issue-creating-angular-project-in-myeclipse/#post-532048

    Can you please first fix the permission issues and then check with importing projects? The Import wizard is available here: File > Import > Angular > Angular Project.

    –Swapna
    MyEclipse Support

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: old project imported to myeclipse Cannot find module '@angular/core'.

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