Open markgibbons25 opened 3 years ago
Thank you for the information @markgibbons25, we will look into this.
The issue is that node-fetch is being excluded by webpack. https://github.com/node-fetch/node-fetch/issues/450
The fix is to not use the null-loader for .mjs files - in server.vue.config.js
- config.module.rules.unshift
add |mjs| to the test so it does not null-load node-fetch.
I guess I'm the only one to ever test the vue sample on SSR? :(
Description
Using the VueJS sample, JSS 18 release, any page that has a component with a graphQL request (including the ootb graphQL pages) throws this error on Sitecore side. Works fine on local side
jss start:connected
.Your Environment
package.json dependencies: