-
Notifications
You must be signed in to change notification settings - Fork 198
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
"Uncaught ReferenceError: require is not defined" when using nuxt-edge #159
Comments
Same error here, but, as explained in referenced issue, |
@Vlaoff That should be fixed, could you try? ( delete lock file and reinstall) |
Still not fixed. Reproduced with Nuxt v.2.0.0 and apollo v4.0.0-rc.2 |
Now its only fixed for vue-cli-plugin-apollo 0.17 while here its set as 0.16 |
And I think the same with graphql-tag, this uses graphql ^0.13.0, and upgrading to vue-cli-plugin-apollo uses graphql ^14.0.2. So it looks like we need to wait for this one as well. UPDATE: This has now been updated to graphql ^14.0.2, you need to get graphql-tag ^2.1.0 |
should be fixed with rc3 |
Version
v4.0.0-rc.2
Reproduction link
https://github.com/Vlaoff/apollonuxt
Steps to reproduce
I get the error when I launch nuxt and open it in the browser
What is expected ?
Babel should transpile the require
What is actually happening?
Babel keeps the require
Additional comments?
I think it's a problem with the babel 7/wepack 4 configuration.
It does not occur on nuxt 1.4.2, only on the nuxt-edge 2.0.0-xxx
I don't know if the problem is from @nuxtjs/apollo or nuxt.
The text was updated successfully, but these errors were encountered: