-
Notifications
You must be signed in to change notification settings - Fork 462
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
Get /hoodie/client.js fails with npm2 #758
Comments
This was referenced Jun 3, 2017
gr2m
added a commit
that referenced
this issue
Jun 3, 2017
gr2m
added a commit
that referenced
this issue
Jun 5, 2017
gr2m
added a commit
that referenced
this issue
Jun 5, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We bundle the hoodie
client.js
dynamically on first request toGET /hoodie/client.js
, seehoodie/server/plugins/client/bundle.js
Line 91 in 2bc4c6d
The
require('pouchdb-browser')
fails in npm2 because it’s a sub dependency and does not exist innode_modules/pouchdb-browser
butnode_modules/hoodie/node_modules/pouchdb-browser
insteadI’m not sure if there is a clever way to work around that, so that we remain compatible with npm2, or if we give up on it. The work around is to install
pouchdb-browser
and@hoodie/client
as dependencies of the app itself:The text was updated successfully, but these errors were encountered: