imranhsayed / woo-next

:rocket: React WooCommerce theme, built with Next JS, Webpack, Babel, Node, Express, using GraphQL and Apollo Client
https://codeytek.com/course/woocommerce-with-react-course/
879 stars 260 forks source link

Build error occurred #112

Open jawadan opened 2 years ago

jawadan commented 2 years ago

I am getting this error, how can I fix that?

Error: request to https://gpanel.goonut.com/graphql/graphql failed, reason: unable to verify the first certificate

19:32:08.278 | at new ApolloError (/vercel/path0/node_modules/@apollo/client/errors/errors.cjs.js:31:28) 19:32:08.278 | at /vercel/path0/node_modules/@apollo/client/core/core.cjs.js:1493:19 19:32:08.278 | at both (/vercel/path0/node_modules/@apollo/client/utilities/utilities.cjs.js:963:53) 19:32:08.279 | at /vercel/path0/node_modules/@apollo/client/utilities/utilities.cjs.js:956:72 19:32:08.279 | at new Promise () 19:32:08.279 | at Object.then (/vercel/path0/node_modules/@apollo/client/utilities/utilities.cjs.js:956:24) 19:32:08.279 | at Object.error (/vercel/path0/node_modules/@apollo/client/utilities/utilities.cjs.js:964:49) 19:32:08.279 | at notifySubscription (/vercel/path0/node_modules/zen-observable/lib/Observable.js:140:18) 19:32:08.279 | at onNotify (/vercel/path0/node_modules/zen-observable/lib/Observable.js:179:3) 19:32:08.279 | at SubscriptionObserver.error (/vercel/path0/node_modules/zen-observable/lib/Observable.js:240:7) {

ThianBrodie commented 2 years ago

I have same error, before that in console I have: error - Error: Only absolute URLs are supported

asheroto commented 2 years ago

image

w3bdesign commented 1 year ago

Have you set the .env variables correctly?

Where is the Wordpress installation located?