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
If this issue only occurs in one browser, which browser is a problem?
Chrome
Describe the Bug
after I run "npm run build", there is the error:
22:05:21 [ERROR] [vite] "stat" is not exported by "__vite-browser-external", imported by "node_modules/escalade/dist/index.mjs". file: /Users/qihui/personal/danieljia.work/node_modules/escalade/dist/index.mjs:2:18 1: import { dirname, resolve } from 'path'; 2: import { readdir, stat } from 'fs'; ^ 3: import { promisify } from 'util'; "stat" is not exported by "__vite-browser-external", imported by "node_modules/escalade/dist/index.mjs". Stack trace:
there are some warnings: 22:05:20 [WARN] [vite] [plugin:vite:resolve] Module "module" has been externalized for browser compatibility, imported by...
Astro Info
If this issue only occurs in one browser, which browser is a problem?
Chrome
Describe the Bug
after I run "npm run build", there is the error:
22:05:21 [ERROR] [vite] "stat" is not exported by "__vite-browser-external", imported by "node_modules/escalade/dist/index.mjs". file: /Users/qihui/personal/danieljia.work/node_modules/escalade/dist/index.mjs:2:18 1: import { dirname, resolve } from 'path'; 2: import { readdir, stat } from 'fs'; ^ 3: import { promisify } from 'util'; "stat" is not exported by "__vite-browser-external", imported by "node_modules/escalade/dist/index.mjs". Stack trace:
there are some warnings:
22:05:20 [WARN] [vite] [plugin:vite:resolve] Module "module" has been externalized for browser compatibility, imported by...
What's the expected result?
no bug
Link to Minimal Reproducible Example
https://stackblitz.com/github/withastro/astro/tree/latest/examples/blog?file=README.md&on=stackblitz
Participation
The text was updated successfully, but these errors were encountered: