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
Package manager (npm/yarn/pnpm) and version: npm 7.5.4, yarn 1.22.10
Logs (Optional if provided reproduction)
Run vite or vite build with the --debug flag.
Provide the error log here.
npm run dev
> test-ssr-vue@0.0.0 dev
> node server
Pre-bundling dependencies:
vue
vue-router
lodash-es
(this will be run only when your dependencies or config have changed)
http://localhost:3000
[@vue/compiler-sfc] <script setup> is still an experimental proposal.
Follow its status at https://github.com/vuejs/rfcs/pull/227.
[@vue/compiler-sfc] When using experimental features,
it is recommended to pin your vue dependencies to exact versions to avoid breakage.
[Vue Router warn]: Error: EMFILE: too many open files, open '/Users/hrsonion/Development/Dev2021/vite/node_modules/lodash-es/_freeGlobal.js'
Error: Couldn't resolve component "default" at "/" at /Users/hrsonion/Development/Dev2021/vite/packages/playground/ssr-vue/node_modules/vue-router/dist/vue-router.cjs.js:1979:47(node:62634) UnhandledPromiseRejectionWarning: Error: Couldn't resolve component "default" at "/"
at /Users/hrsonion/Development/Dev2021/vite/packages/playground/ssr-vue/node_modules/vue-router/dist/vue-router.cjs.js:1979:47
(node:62634) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async functionwithout a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 4)
(node:62634) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[Vue Router warn]: Error: EMFILE: too many open files, open '/Users/hrsonion/Development/Dev2021/vite/node_modules/lodash-es/_baseIsEqualDeep.js'
Error: Couldn't resolve component "default" at "/" at /Users/hrsonion/Development/Dev2021/vite/packages/playground/ssr-vue/node_modules/vue-router/dist/vue-router.cjs.js:1979:47(node:62634) UnhandledPromiseRejectionWarning: Error: Couldn't resolve component "default" at "/"
at /Users/hrsonion/Development/Dev2021/vite/packages/playground/ssr-vue/node_modules/vue-router/dist/vue-router.cjs.js:1979:47
(node:62634) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async functionwithout a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 8)
[Vue Router warn]: Error: EMFILE: too many open files, open '/Users/hrsonion/Development/Dev2021/vite/node_modules/lodash-es/_Hash.js'
Error: Couldn't resolve component "default" at "/" at /Users/hrsonion/Development/Dev2021/vite/packages/playground/ssr-vue/node_modules/vue-router/dist/vue-router.cjs.js:1979:47(node:62634) UnhandledPromiseRejectionWarning: Error: Couldn't resolve component "default" at "/"
at /Users/hrsonion/Development/Dev2021/vite/packages/playground/ssr-vue/node_modules/vue-router/dist/vue-router.cjs.js:1979:47
(node:62634) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async functionwithout a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 12)
[Vue Router warn]: Error: EMFILE: too many open files, open '/Users/hrsonion/Development/Dev2021/vite/node_modules/lodash-es/_createCtor.js'
Error: Couldn't resolve component "default" at "/" at /Users/hrsonion/Development/Dev2021/vite/packages/playground/ssr-vue/node_modules/vue-router/dist/vue-router.cjs.js:1979:47(node:62634) UnhandledPromiseRejectionWarning: Error: Couldn't resolve component "default" at "/"
at /Users/hrsonion/Development/Dev2021/vite/packages/playground/ssr-vue/node_modules/vue-router/dist/vue-router.cjs.js:1979:47
(node:62634) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async functionwithout a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 16)
The text was updated successfully, but these errors were encountered:
Describe the bug
vue-ssr demo doesn't work with a simple
lodash-es
import.Reproduction
System Info
vite
version: 2.0.1Logs (Optional if provided reproduction)
vite
orvite build
with the--debug
flag.The text was updated successfully, but these errors were encountered: