Skip to content
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

npm installation issue #26

Open
acstll opened this issue Oct 6, 2014 · 0 comments
Open

npm installation issue #26

acstll opened this issue Oct 6, 2014 · 0 comments

Comments

@acstll
Copy link

acstll commented Oct 6, 2014

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.

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.


By the way.

👍 +1 for using the repo hook for bower.
👎 -1 for not publishing to npm.

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

No branches or pull requests

1 participant