D:\GitHub\test\Genshin-Impact-Wish-Simulator-master>yarn run dev
yarn run v1.22.19
$ vite dev --port 3000
▲ [WARNING] Cannot find base config file "./.svelte-kit/tsconfig.json" [tsconfig.json]
failed to load config from D:\GitHub\test\Genshin-Impact-Wish-Simulator-master\vite.config.js
error when starting dev server:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'stream' imported from D:\GitHub\test\Genshin-Impact-Wish-Simulator-master\node_modules\@sveltejs\kit\dist\vite.js
at packageResolve (internal/modules/esm/resolve.js:655:9)
at moduleResolve (internal/modules/esm/resolve.js:696:18)
at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:810:11)
at Loader.resolve (internal/modules/esm/loader.js:86:40)
at Loader.getModuleJob (internal/modules/esm/loader.js:230:28)
at ModuleWrap. (internal/modules/esm/module_job.js:56:40)
at link (internal/modules/esm/module_job.js:55:36)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
D:\GitHub\test\Genshin-Impact-Wish-Simulator-master>yarn run dev yarn run v1.22.19 $ vite dev --port 3000 ▲ [WARNING] Cannot find base config file "./.svelte-kit/tsconfig.json" [tsconfig.json]
failed to load config from D:\GitHub\test\Genshin-Impact-Wish-Simulator-master\vite.config.js error when starting dev server: Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'stream' imported from D:\GitHub\test\Genshin-Impact-Wish-Simulator-master\node_modules\@sveltejs\kit\dist\vite.js at packageResolve (internal/modules/esm/resolve.js:655:9) at moduleResolve (internal/modules/esm/resolve.js:696:18) at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:810:11) at Loader.resolve (internal/modules/esm/loader.js:86:40) at Loader.getModuleJob (internal/modules/esm/loader.js:230:28) at ModuleWrap. (internal/modules/esm/module_job.js:56:40)
at link (internal/modules/esm/module_job.js:55:36)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.