For Workes & Pages, what is the name of the domain?
stupid-web.pages.dev
What is the error number?
What is the error message?
Initiated Worker with invalid execArgv flags: --import
What is the isssue or error you’re encountering
Angular SSR application is not building when Page is created with GIT integration.
What steps have you taken to resolve the issue?
Everything works perfectly when deploying with CLI: npm run build && wrangler pages deploy dist/apps/project-name/cloudflare
, but when I try to recreate this with GIT integration Page it breaks during the build process.
What are the steps to reproduce the issue?
It breaks during build:
Error [ERR_WORKER_INVALID_EXEC_ARGV]: Initiated Worker with invalid execArgv flags: --import
00:35:56.427 at new NodeError (node:internal/errors:405:5)
00:35:56.427 at new Worker (node:internal/worker:202:13)
00:35:56.427 at ThreadPool._addNewWorker (/opt/buildhome/repo/node_modules/piscina/dist/src/index.js:437:24)
00:35:56.427 at ThreadPool._ensureMinimumWorkers (/opt/buildhome/repo/node_modules/piscina/dist/src/index.js:432:18)
00:35:56.427 at new ThreadPool (/opt/buildhome/repo/node_modules/piscina/dist/src/index.js:423:14)
00:35:56.427 at new Piscina (/opt/buildhome/repo/node_modules/piscina/dist/src/index.js:869:53)
00:35:56.427 at getAllRoutes (/opt/buildhome/repo/node_modules/@angular/build/src/utils/server-rendering/prerender.js:164:26)
00:35:56.427 at prerenderPages (/opt/buildhome/repo/node_modules/@angular/build/src/utils/server-rendering/prerender.js:52:67)
00:35:56.428 at executePostBundleSteps (/opt/buildhome/repo/node_modules/@angular/build/src/builders/application/execute-post-bundle.js:62:120)
00:35:56.428 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
### Screenshot of the error
