Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Cannot find module 'sw-toolbox/sw-toolbox.js' #497

Closed
chair91 opened this issue Jun 8, 2016 · 5 comments
Closed

Cannot find module 'sw-toolbox/sw-toolbox.js' #497

chair91 opened this issue Jun 8, 2016 · 5 comments

Comments

@chair91
Copy link

chair91 commented Jun 8, 2016

Expected behavior:

Actual behavior:

Steps to reproduce:

Screenshots (if applicable):

OS and Browser:

@chair91
Copy link
Author

chair91 commented Jun 8, 2016

When I start hospitalrun in nitrous it says "Cannot find module 'sw-toolbox/sw-toolbox.js'"

How can I solve this issue ?

I also try on ubuntu it says the same

Please provide me a solution

Thanks

@alexchan7432
Copy link

alexchan7432 commented Jun 8, 2016

Hi chair91,
I had this issue as well. This is what I wrote in the slack channel.

there is a dependency "broccoli-serviceworker": "0.0.9" which in turn has a dependency "sw-toolbox": "^3.1.1". This semantic versioning caused it to download sw-toolbox: 3.2.0 which is missing sw-toolbox.js and sw-toolbox.map.json in the sw-toolbox directory. I manually did npm install sw-toolbox@3.1.1 to override this and was able to start the server

Unfortunately, because of the way semantic versioning works, we may have to raise an issue with broccoli-serviceworker owners.

@chair91
Copy link
Author

chair91 commented Jun 9, 2016

Hi Alex
Thanks for the solution . I will try it tonight

@chair91
Copy link
Author

chair91 commented Jun 9, 2016

Hi Alex
It's work now
thanks

@jkleinsc
Copy link
Member

@chair91 this is now fixed. I'm also going to make sure that broccoli-serviceworker gets updated. I know the author 😉.

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