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

[Bug] Error: Cannot find module './lib/extend' #197

Closed
phroggyy opened this issue Aug 31, 2015 · 5 comments
Closed

[Bug] Error: Cannot find module './lib/extend' #197

phroggyy opened this issue Aug 31, 2015 · 5 comments

Comments

@phroggyy
Copy link

When attempting to install Card, I receive plenty of errors:

[Error: Cannot find module './lib/extend' from '/Users/user/directory/project/node_modules/card/lib/js']
[Error: Cannot find module '../scss/card.scss' from '/Users/user/directory/project/node_modules/card/lib/js']
[Error: Cannot find module './payment/src/payment.coffee' from '/Users/user/directory/project/node_modules/card/lib/js']
[Error: Cannot find module 'is' from '/Users/user/directory/project/node_modules/card/lib/js']
[Error: Cannot find module 'sassify' from '/Users/user/directory/project/node_modules/card/lib/js']

Is there anyone else that has encountered these issues? I'm lacking a lot of experience with NPM, so I'm thinking this might be some very obvious issue I've missed?

@manioube
Copy link

in the directory where you installed Card, did you then run 'npm install' to install all the dependencies?
what method did you use to install Card?

@phroggyy
Copy link
Author

@manioube yep, I installed it by npm install card --save

@ebuster
Copy link

ebuster commented Oct 28, 2015

Have the same issue. Unable to use this lib my Webpack bundle.
It's installed without any errors, but "critical dependency" on build is not found.

@duluca
Copy link

duluca commented Nov 5, 2015

I don't see any errors during installation, but when requiring the package through browserify, I get Error: Cannot find module './lib/extend'.

@jessepollak
Copy link
Owner

Fix will go out in v1.2.2.

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

5 participants