Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find module './compat' #1

Open
zhaomaoxin opened this issue Nov 29, 2014 · 7 comments
Open

Cannot find module './compat' #1

zhaomaoxin opened this issue Nov 29, 2014 · 7 comments

Comments

@zhaomaoxin
Copy link

Cannot find module './compat'

@oscarmcm
Copy link

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.

@PierreBrisorgueil
Copy link

@oscarmcm thx ;)

@jmah
Copy link

jmah commented May 3, 2015

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

@jmah
Copy link

jmah commented May 3, 2015

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

@oscarmcm
Copy link

oscarmcm commented May 4, 2015

@jmah what is your problem?

@jmah
Copy link

jmah commented May 5, 2015

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 .).

@oscarmcm
Copy link

oscarmcm commented May 5, 2015

@jmah cool 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants