You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the examples/assets-local with pnpm dev and try to upload an image I get:
An error occurred while resolving input fields.
- Post.banner: require() of ES Module /home/jneidel/tmp/keystone/node_modules/.pnpm/[email protected]/node_modules/file-type/index.js from /home/jneidel/tmp/keystone/packages/core/src/lib/assets/createImagesContext.ts not supported.
Instead change the require of index.js in /home/jneidel/tmp/keystone/packages/core/src/lib/assets/createImagesContext.ts to a dynamic import() which is available in all CommonJS modules.
node -v => v16.20.2
The text was updated successfully, but these errors were encountered:
When running the
examples/assets-local
withpnpm dev
and try to upload an image I get:node -v => v16.20.2
The text was updated successfully, but these errors were encountered: