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

dependence error #29

Open
JackieLin opened this issue Mar 24, 2016 · 2 comments
Open

dependence error #29

JackieLin opened this issue Mar 24, 2016 · 2 comments

Comments

@JackieLin
Copy link

when I use ajax with webpack, it show error like that:
ERROR in ./~/component-ajax/index.js Module not found: Error: Cannot resolve module 'type' in /Users/jackielin/work/github/store/node_modules/component-ajax @ ./~/component-ajax/index.js 8:9-18

This is because package.json no type dependent. And here occurs error. Please fix it. Thank you!

@antongorodezkiy
Copy link

Hello @JackieLin

Did you ever find a solution for this issue? Seems simple installing type package doesn't solve it.

@fjoalland
Copy link

I made a fork here to resolve the issue : https://github.com/fjoalland/ajax-1

Just add this in your dependencies

"component-ajax": "https://github.com/fjoalland/ajax-1"

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

3 participants