Skip to content

Cannot find module './compat' #1

Open

Description

@zhaomaoxin

Cannot find module './compat'

Activity

  1. oscarmcm commented on Dec 28, 2014

    @oscarmcm

    Hey @zhaomaoxin I have the same issue, I solved this error, editing the package.json file and changed the loopback version to ^1.6.1, this now work for me 😄 and this example requires passport for access tokens and mongodb connector for the datasource.

  2. PierreBrisorgueil commented on Apr 19, 2015

    @PierreBrisorgueil

    @oscarmcm thx ;)

  3. jmah commented on May 3, 2015

    @jmah

    Having this issue too, and @oscarmcm 's comment didn't solve it for me. :(

  4. jmah commented on May 3, 2015

    @jmah

    Got the server started by deleting the node_modules directory (which shouldn't be committed) and running npm install

  5. oscarmcm commented on May 4, 2015

    @oscarmcm

    @jmah what is your problem?

  6. jmah commented on May 5, 2015

    @jmah

    Running the example server fails with the above message. Solution is to delete the node_modules directory (which should be set to be ignored by git), then running npm install, then starting the server (with slc run .).

  7. oscarmcm commented on May 5, 2015

    @oscarmcm

    @jmah cool 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions