When using @payload-enchants/better-use-as-title with payload: 3.0.0-beta.94 and next: 15.0.0-canary.132 I get the following error on startup:
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".css" for C:\Users\morav\Documents\Projects\localbites\node_modules\react-image-crop\dist\ReactCrop.css
at new NodeError (node:internal/errors:405:5)
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:136:11)
at defaultGetFormat (node:internal/modules/esm/get_format:182:36)
at defaultLoad (node:internal/modules/esm/load:101:20)
at nextLoad (node:internal/modules/esm/hooks:864:28)
at load (file:///C:/Users/morav/Documents/Projects/localbites/node_modules/tsx/dist/esm/index.mjs?1724832251621:2:1768)
at nextLoad (node:internal/modules/esm/hooks:864:28)
at Hooks.load (node:internal/modules/esm/hooks:447:26)
at handleMessage (node:internal/modules/esm/worker:196:24)
at Immediate.checkForMessages (node:internal/modules/esm/worker:138:28) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
I created https://github.com/payloadcms/payload/issues/7908 already but since this might be an issue with the plugin I decided to post here as well.
When using
@payload-enchants/better-use-as-title
withpayload: 3.0.0-beta.94
andnext: 15.0.0-canary.132
I get the following error on startup: