qwik icon indicating copy to clipboard operation
qwik copied to clipboard

[📖] Custom Build Output doesn't work

Open HeitorMR2509 opened this issue 3 years ago • 2 comments

Suggestion

The guide doesn't work.

Page: https://qwik.builder.io/docs/advanced/custom-build-dir/#custom-build-output-directory

Error:

[commonjs--resolver] Cannot bundle Node.js built-in "node:url" imported from "src\entry.express.tsx". Consider disabling ssr.noExternal or remove the built-in dependency. error during build: RollupError: Cannot bundle Node.js built-in "node:url" imported from "src\entry.express.tsx". Consider disabling ssr.noExternal or remove the built-in dependency. at error (file:///D:/projetos/qwik-express-example/frontend/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/rollup.js:2088:30) at Object.error (file:///D:/projetos/qwik-express-example/frontend/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/rollup.js:23572:20) at Object.resolveId (file:///D:/projetos/qwik-express-example/frontend/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/vite/dist/node/chunks/dep-0bae2027.js:21334:34) at Object.handler (file:///D:/projetos/qwik-express-example/frontend/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/vite/dist/node/chunks/dep-0bae2027.js:44690:19) at file:///D:/projetos/qwik-express-example/frontend/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/rollup.js:23771:40 at async PluginDriver.hookFirstAndGetPlugin (file:///D:/projetos/qwik-express-example/frontend/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/rollup.js:23671:28) at async resolveId (file:///D:/projetos/qwik-express-example/frontend/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/rollup.js:22615:26) at async ModuleLoader.resolveId (file:///D:/projetos/qwik-express-example/frontend/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/rollup.js:22879:15) at async Object.resolveId (file:///D:/projetos/qwik-express-example/frontend/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/vite/dist/node/chunks/dep-0bae2027.js:8001:10) at async PluginDriver.hookFirstAndGetPlugin (file:///D:/projetos/qwik-express-example/frontend/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/rollup.js:23671:28)

HeitorMR2509 avatar Feb 11 '23 22:02 HeitorMR2509

I think this is a duplicate of #2893

EamonHeffernan avatar Feb 12 '23 02:02 EamonHeffernan

I think this is a duplicate of #2893

No. It is not.

HeitorMR2509 avatar Mar 09 '23 22:03 HeitorMR2509

Hey @H31t0rGamer, thanks for opening this issue, I see that this config works Qwik 1.2.10, obviously something changed during this months. 😉 So I'm closing this issue for now, feel free to re-open it if it's still an issue for you.

gioboa avatar Aug 29 '23 07:08 gioboa