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
i Resolve assert pair to path from: /workdir/packages/myproject/backends/standalone
i Watching mode enabled for all asset pairs, you can disable it by set watch to false in specified asset pairs
i Watching mode disabled. You need to enable build.watch option for watch mode to work.
✘ [ERROR] Cannot read properties of undefined (reading 'slice') [plugin plugin:copy]
/workdir/node_modules/esbuild-plugin-copy/dist/index.js:84:28:
84 │ preservedDirStructure.slice(1)
╵ ^
at copyOperationHandler (/workdir/node_modules/esbuild-plugin-copy/dist/index.js:84:29)
at /workdir/node_modules/esbuild-plugin-copy/dist/index.js:152:17
at Array.forEach (<anonymous>)
at executor (/workdir/node_modules/esbuild-plugin-copy/dist/index.js:151:18)
at /workdir/node_modules/esbuild-plugin-copy/dist/index.js:173:13
at async /workdir/node_modules/esbuild/lib/main.js:1494:27
This error came from the "onEnd" callback registered here:
/workdir/node_modules/esbuild-plugin-copy/dist/index.js:106:22:
106 │ build[applyHook](async () => {
╵ ^
at setup (/workdir/node_modules/esbuild-plugin-copy/dist/index.js:106:23)
at handlePlugins (/workdir/node_modules/esbuild/lib/main.js:1292:21)
at buildOrContextImpl (/workdir/node_modules/esbuild/lib/main.js:978:5)
at Object.buildOrContext (/workdir/node_modules/esbuild/lib/main.js:786:5)
at /workdir/node_modules/esbuild/lib/main.js:2196:68
at new Promise (<anonymous>)
at Object.context (/workdir/node_modules/esbuild/lib/main.js:2196:27)
at Object.context (/workdir/node_modules/esbuild/lib/main.js:2036:58)
at build (/workdir/packages/myproject/backends/standalone/build.js:16:33)
/workdir/node_modules/esbuild/lib/main.js:1649
let error = new Error(text);
^
Error: Build failed with 1 error:
/workdir/node_modules/esbuild-plugin-copy/dist/index.js:84:28: ERROR: [plugin: plugin:copy] Cannot read properties of undefined (reading 'slice')
at failureErrorWithLog (/workdir/node_modules/esbuild/lib/main.js:1649:15)
at /workdir/node_modules/esbuild/lib/main.js:1058:25
at /workdir/node_modules/esbuild/lib/main.js:1525:9 {
errors: [Getter/Setter],
warnings: [Getter/Setter]
}
The text was updated successfully, but these errors were encountered:
This pattern work
But this doesn't
And throws me a weird error...
The text was updated successfully, but these errors were encountered: