-
Notifications
You must be signed in to change notification settings - Fork 5
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
Problems with dependencies #95
Comments
@Jones-S Can you create minimum reproducible test repo? Looks you have something wrong in your configuration |
In my nuxt config you mean? |
@Jones-S Yep, anyway you can try to configure loader on simple webpack config and when move this configuration to your configuration (to avoid integration problems with other loaders/plugins) |
Well I guess it maybe has to do with my lack of complete understanding how to use webpack loaders in a nuxt project... Maybe you know a bit how nuxt uses loaders or you understand code faster than me. In the meantime I will try to find out more about that. I am right now also trying to register an alias for modernizr in the nuxt way. (see But I get: |
Try to remove |
Hm, I removed that alreay, but now I got a message that modernizr is missing – which is not the case.
Ah and I have to mention that this error is thrown by the index.vue within pages, where I try to import modernizr
|
@Jones-S What message you get? |
Can't be the reason that I have it not installed: I still think this maybe could have something todo how I try to use loaders with nuxt. I found this though: |
@Jones-S Looks you should exclude |
Ok. Thanks. I will try this. Thanks for the help anyway. |
@Jones-S Did you manage to solve the dependency not found error? I'm using Nuxt and get the same issue despite following the docs |
I think better place for this issue in |
Hi there
I am trying to use your loader in our vue/nuxt-webpack project.
I followed the readme and this:
https://stackoverflow.com/questions/49221027/how-to-use-modernizr-in-vuejs-webpack-project
Unfortunately I get this error when starting my watch task:
Installing them as said would not help:
I have no idea what I could do next.
I always struggle with modernizr – also this time 😅...
If you have some tipps, they would be much appreciated.
Cheers
Package.json:
"webpack": "^4.20.2"
"nuxt": "^2.2.0"
The text was updated successfully, but these errors were encountered: