When running greenwood develop and using @greenwood/plugin-graphql in my greenwood.config.js I see:
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/skynet/workspace/greenwood/rubiks/node_modules/@apollo/client/core/core.cjs.js' imported from /home/skynet/workspace/greenwood/rubiks/node_modules/@greenwood/plugin-graphql/src/core/cache.js
Details
@greenwood/plugin-graphql is importing from apollo/client/core/core.cjs.js which no longer exists in more recent releases. Instead the file apollo/client/core/core.cjs exists without the .js extension.
The yarn.lock and package.json should be updated with the most recent release of @apollo/client as well
Type of Change
Bug
Summary
When running
greenwood develop
and using@greenwood/plugin-graphql
in my greenwood.config.js I see:Details
@greenwood/plugin-graphql is importing from
apollo/client/core/core.cjs.js
which no longer exists in more recent releases. Instead the fileapollo/client/core/core.cjs
exists without the.js
extension.The yarn.lock and package.json should be updated with the most recent release of @apollo/client as well