Forum - import error

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #68783
    49KOBV_FUB
    Participant

    Hi all,

    creating a new app or cloning an existing app as described on https://developers.exlibrisgroup.com/cloudapps/started/ I get an error on all import instructions like
    “import { Component } from ‘@angular/core’;”
    Looks like the core librarys are missing.

    Older apps I’m working on have the directory “node_modules” inside the app directory, the last created app don’t.
    Any idea what’s wrong here?

    Thanks,

    Christoph

    #68785
    Josh Weisman
    Keymaster

    Hi Christoph. Thanks for your question. Did you start up the app (with eca start) before you opened the code? That will install the dependencies. Alternatively, you can run npm install and then open the code.

    Let us know how it works for you.

    #68798
    49KOBV_FUB
    Participant

    I forgot to start the app first, now it works.
    Thank you!!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.