Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Cannot find module 'router/engine' error from osprey-router #64

Closed
jewelsjacobs opened this issue Mar 7, 2015 · 4 comments
Closed

Cannot find module 'router/engine' error from osprey-router #64

jewelsjacobs opened this issue Mar 7, 2015 · 4 comments

Comments

@jewelsjacobs
Copy link

There's an osprey-router error that crashes osprey@0.2.0-alpha node_modules/osprey when running with expressJS v4+ and latest version of nodeJS

Here are the details:
mulesoft-labs/osprey-router#1

Thanks for all of your hard work with this!

@blakeembrey
Copy link
Contributor

@jewelsjacobs Yeah, that dependency should be loading from git but I guess it keeps loading from an internal cache instead because I haven't bumped the version. The only fix I can think of right now is manually linking, at least until router is released with engine support (pillarjs/router#13).

@dougwilson
Copy link

Just run

npm cache clean

Then reinstall your dependencies and it should pull for the git fork. And yes, I believe it's because the fork has the same version number and npm's cache is confused.

@jewelsjacobs
Copy link
Author

I solved the mystery as to why your router branch with engine support was not working @blakeembrey:

blakeembrey/router#1

@blakeembrey
Copy link
Contributor

Wow, thanks! Sorry I missed that 😄

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

No branches or pull requests

3 participants