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
Hello, I am new to Astro and experiencing the following error trying to build my website using the Deno adapter for Astro. Is there any way I can fix the following issue?
$ npm run build
> @example/basics@0.0.1 build
> astro build
17:30:08 [build] output target: server
17:30:08 [build] deploy adapter: @astrojs/deno
17:30:08 [build] Collecting build info...
17:30:08 [build] Completed in 18ms.
17:30:08 [build] Building server entrypoints...
[commonjs--resolver] Cannot bundle Node.js built-in "fs" imported from "node_modules\i18next-fs-backend\esm\fs.cjs". Consider disabling ssr.noExternal or remove the built-in dependency.
file: F:/Programming/Astro/Projects/astragoWebsite/node_modules/i18next-fs-backend/esm/fs.cjs
error Cannot bundle Node.js built-in "fs" imported from "node_modules\i18next-fs-backend\esm\fs.cjs". Consider disabling ssr.noExternal or remove the built-in dependency.
File:
F:/Programming/Astro/Projects/astragoWebsite/node_modules/i18next-fs-backend/esm/fs.cjs
Stacktrace:
Error: Cannot bundle Node.js built-in "fs" imported from "node_modules\i18next-fs-backend\esm\fs.cjs". Consider disabling ssr.noExternal or remove the built-in dependency.
at error (file:///F:/Programming/Astro/Projects/astragoWebsite/node_modules/rollup/dist/es/shared/rollup.js:1858:30)
at throwPluginError (file:///F:/Programming/Astro/Projects/astragoWebsite/node_modules/rollup/dist/es/shared/rollup.js:21781:12)
at Object.error (file:///F:/Programming/Astro/Projects/astragoWebsite/node_modules/rollup/dist/es/shared/rollup.js:22503:20)
at Object.resolveId (file:///F:/Programming/Astro/Projects/astragoWebsite/node_modules/vite/dist/node/chunks/dep-4da11a5e.js:34370:34)
at Object.handler (file:///F:/Programming/Astro/Projects/astragoWebsite/node_modules/vite/dist/node/chunks/dep-4da11a5e.js:45996:19)
at file:///F:/Programming/Astro/Projects/astragoWebsite/node_modules/rollup/dist/es/shared/rollup.js:22710:40```
The text was updated successfully, but these errors were encountered:
Hello, I am new to Astro and experiencing the following error trying to build my website using the Deno adapter for Astro. Is there any way I can fix the following issue?
The text was updated successfully, but these errors were encountered: