For Workes & Pages, what is the name of the domain?
i16-me.pages.dev
What is the error message?
3:16:27.411 Error [ERR_REQUIRE_ESM]: require() of ES Module /opt/buildhome/repo/node_modules/string-width/index.js from /opt/buildhome/repo/node_modules/ansi-align/index.js not supported. 13:16:27.411 Instead change the require of /opt/buildhome/repo/node_modules/string-width/index.js in /opt/buildhome/repo/node_modules/ansi-align/index.js to a dynamic import() which is available in all CommonJS modules. 13:16:27.411 at Object. (/opt/buildhome/repo/node_modules/ansi-align/index.js:3:21) { 13:16:27.411 code: âERR_REQUIRE_ESMâ 13:16:27.411 }
What is the issue or error youâre encountering
doesnât let me build on cloudflare pages
What steps have you taken to resolve the issue?
tried to make node version same as local system
What are the steps to reproduce the issue?
create an Astro project
attach it to CF pages
try to build it