We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
After installing with npm as stated in the REAME, requiring the package with
var fluidvids = require('fluidvids')();
fails because npm installs the package under node_modules/fluidvids.js just because that's the name of the module in package.json.
npm
node_modules/fluidvids.js
package.json
https://github.com/toddmotto/fluidvids/blob/master/package.json#L2
This is my workaround:
var fluidvids = require('fluidvids.js/dist/fluidvids')();
I think simply changing the package name in package.json to fluidvids should fix it and be no harm since the package isn't published to npm.
fluidvids
By the way.
👍 +1 for using the repo hook for bower. 👎 -1 for not publishing to npm.
bower
The text was updated successfully, but these errors were encountered:
No branches or pull requests
After installing with npm as stated in the REAME, requiring the package with
fails because
npm
installs the package undernode_modules/fluidvids.js
just because that's the name of the module inpackage.json
.https://github.com/toddmotto/fluidvids/blob/master/package.json#L2
This is my workaround:
I think simply changing the package name in
package.json
tofluidvids
should fix it and be no harm since the package isn't published to npm.By the way.
👍 +1 for using the repo hook for
bower
.👎 -1 for not publishing to
npm
.The text was updated successfully, but these errors were encountered: