You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 .).
Activity
oscarmcm commentedon Dec 28, 2014
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 commentedon Apr 19, 2015
@oscarmcm thx ;)
jmah commentedon May 3, 2015
Having this issue too, and @oscarmcm 's comment didn't solve it for me. :(
jmah commentedon May 3, 2015
Got the server started by deleting the
node_modulesdirectory (which shouldn't be committed) and runningnpm installoscarmcm commentedon May 4, 2015
@jmah what is your problem?
jmah commentedon May 5, 2015
Running the example server fails with the above message. Solution is to delete the
node_modulesdirectory (which should be set to be ignored by git), then runningnpm install, then starting the server (withslc run .).oscarmcm commentedon May 5, 2015
@jmah cool 👍