Skip to content

chore(deps): update dependency esno to ^4.8.0 #76

chore(deps): update dependency esno to ^4.8.0

chore(deps): update dependency esno to ^4.8.0 #76

Triggered via pull request November 15, 2024 07:00
Status Failure
Total duration 2m 49s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

40 errors
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat '/Users/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' ❯ lstatSync node:fs:1641:25 ❯ getStatsSync node:internal/fs/cp/cp-sync:120:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3076:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'lstat', path: '/Users/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat '/Users/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' ❯ lstatSync node:fs:1641:25 ❯ getStatsSync node:internal/fs/cp/cp-sync:120:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3076:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'lstat', path: '/Users/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat '/Users/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' ❯ lstatSync node:fs:1641:25 ❯ getStatsSync node:internal/fs/cp/cp-sync:120:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3076:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'lstat', path: '/Users/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat '/Users/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' ❯ lstatSync node:fs:1641:25 ❯ getStatsSync node:internal/fs/cp/cp-sync:120:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3076:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'lstat', path: '/Users/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat '/Users/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' ❯ lstatSync node:fs:1641:25 ❯ getStatsSync node:internal/fs/cp/cp-sync:120:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3076:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'lstat', path: '/Users/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat '/Users/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' ❯ lstatSync node:fs:1641:25 ❯ getStatsSync node:internal/fs/cp/cp-sync:120:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3076:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'lstat', path: '/Users/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat '/Users/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' ❯ lstatSync node:fs:1641:25 ❯ getStatsSync node:internal/fs/cp/cp-sync:120:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3076:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'lstat', path: '/Users/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat '/Users/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' ❯ lstatSync node:fs:1641:25 ❯ getStatsSync node:internal/fs/cp/cp-sync:120:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3076:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'lstat', path: '/Users/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
test/generate.spec.ts > generate routes > vue - async mode match snapshot: test/generate.spec.ts#L30
Error: Snapshot `generate routes > vue - async mode match snapshot > routes 1` mismatched - Expected + Received @@ -40,14 +40,12 @@ "path": "nested", "props": true, }, ], "component": "/examples/vue/src/pages/about/[id].vue", - "meta": { - "requiresAuth": true, - }, + "customBlock": undefined, - "name": "about-user-id", + "name": "about-id", "path": ":id", "props": true, }, { "component": "/examples/vue/src/pages/about/index.vue", @@ -56,21 +54,17 @@ "path": "", "props": [Function], }, ], "component": "/examples/vue/src/pages/about.vue", - "meta": { - "lang": "yml", - }, + "customBlock": undefined, "path": "/about", "props": true, }, { "component": "/examples/vue/src/pages/blog/[id].vue", - "meta": { - "requiresAuth": false, - }, + "customBlock": undefined, "name": "blog-id", "path": "/blog/:id", "props": true, }, { @@ -94,22 +88,18 @@ "path": "/blog/today", "props": true, }, { "component": "/examples/vue/src/pages/components.vue", - "meta": { - "lang": "yaml", - }, + "customBlock": undefined, "name": "components", "path": "/components", "props": true, }, { "component": "/examples/vue/src/pages/index.vue", - "meta": { - "requiresAuth": false, - }, + "customBlock": undefined, - "name": "homepage", + "name": "index", "path": "/", "props": true, }, ] ❯ Object.onRoutesGenerated test/generate.spec.ts:30:24 ❯ computeVueRoutes src/core/resolvers/vue.ts:156:36 ❯ resolveVueRoutes src/core/resolvers/vue.ts:162:29 ❯ Object.resolveRoutes src/core/resolvers/vue.ts:207:14 ❯ PageContext.resolveRoutes src/core/context.ts:148:34 ❯ test/generate.spec.ts:35:30
test/generate.spec.ts > generate routes > vue - sync mode match snapshot: test/generate.spec.ts#L46
Error: Snapshot `generate routes > vue - sync mode match snapshot > routes 1` mismatched - Expected + Received @@ -40,14 +40,12 @@ "path": "nested", "props": true, }, ], "component": "/examples/vue/src/pages/about/[id].vue", - "meta": { - "requiresAuth": true, - }, + "customBlock": undefined, - "name": "about-user-id", + "name": "about-id", "path": ":id", "props": true, }, { "component": "/examples/vue/src/pages/about/index.vue", @@ -56,21 +54,17 @@ "path": "", "props": true, }, ], "component": "/examples/vue/src/pages/about.vue", - "meta": { - "lang": "yml", - }, + "customBlock": undefined, "path": "/about", "props": true, }, { "component": "/examples/vue/src/pages/blog/[id].vue", - "meta": { - "requiresAuth": false, - }, + "customBlock": undefined, "name": "blog-id", "path": "/blog/:id", "props": true, }, { @@ -94,22 +88,18 @@ "path": "/blog/today", "props": true, }, { "component": "/examples/vue/src/pages/components.vue", - "meta": { - "lang": "yaml", - }, + "customBlock": undefined, "name": "components", "path": "/components", "props": true, }, { "component": "/examples/vue/src/pages/index.vue", - "meta": { - "requiresAuth": false, - }, + "customBlock": undefined, - "name": "homepage", + "name": "index", "path": "/", "props": true, }, ] ❯ Object.onRoutesGenerated test/generate.spec.ts:46:24 ❯ computeVueRoutes src/core/resolvers/vue.ts:156:36 ❯ resolveVueRoutes src/core/resolvers/vue.ts:162:29 ❯ Object.resolveRoutes src/core/resolvers/vue.ts:207:14 ❯ PageContext.resolveRoutes src/core/context.ts:148:34 ❯ test/generate.spec.ts:51:30
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' ❯ lstatSync node:fs:1641:25 ❯ getStatsSync node:internal/fs/cp/cp-sync:120:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3076:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'lstat', path: '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' ❯ lstatSync node:fs:1641:25 ❯ getStatsSync node:internal/fs/cp/cp-sync:120:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3076:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'lstat', path: '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' ❯ lstatSync node:fs:1641:25 ❯ getStatsSync node:internal/fs/cp/cp-sync:120:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3076:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'lstat', path: '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' ❯ lstatSync node:fs:1641:25 ❯ getStatsSync node:internal/fs/cp/cp-sync:120:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3076:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'lstat', path: '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' ❯ lstatSync node:fs:1641:25 ❯ getStatsSync node:internal/fs/cp/cp-sync:120:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3076:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'lstat', path: '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' ❯ lstatSync node:fs:1641:25 ❯ getStatsSync node:internal/fs/cp/cp-sync:120:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3076:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'lstat', path: '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' ❯ lstatSync node:fs:1641:25 ❯ getStatsSync node:internal/fs/cp/cp-sync:120:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3076:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'lstat', path: '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' ❯ lstatSync node:fs:1641:25 ❯ getStatsSync node:internal/fs/cp/cp-sync:120:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3076:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'lstat', path: '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
test/generate.spec.ts > generate routes > vue - async mode match snapshot: test/generate.spec.ts#L30
Error: Snapshot `generate routes > vue - async mode match snapshot > routes 1` mismatched - Expected + Received @@ -40,14 +40,12 @@ "path": "nested", "props": true, }, ], "component": "/examples/vue/src/pages/about/[id].vue", - "meta": { - "requiresAuth": true, - }, + "customBlock": undefined, - "name": "about-user-id", + "name": "about-id", "path": ":id", "props": true, }, { "component": "/examples/vue/src/pages/about/index.vue", @@ -56,21 +54,17 @@ "path": "", "props": [Function], }, ], "component": "/examples/vue/src/pages/about.vue", - "meta": { - "lang": "yml", - }, + "customBlock": undefined, "path": "/about", "props": true, }, { "component": "/examples/vue/src/pages/blog/[id].vue", - "meta": { - "requiresAuth": false, - }, + "customBlock": undefined, "name": "blog-id", "path": "/blog/:id", "props": true, }, { @@ -94,22 +88,18 @@ "path": "/blog/today", "props": true, }, { "component": "/examples/vue/src/pages/components.vue", - "meta": { - "lang": "yaml", - }, + "customBlock": undefined, "name": "components", "path": "/components", "props": true, }, { "component": "/examples/vue/src/pages/index.vue", - "meta": { - "requiresAuth": false, - }, + "customBlock": undefined, - "name": "homepage", + "name": "index", "path": "/", "props": true, }, ] ❯ Object.onRoutesGenerated test/generate.spec.ts:30:24 ❯ computeVueRoutes src/core/resolvers/vue.ts:156:36 ❯ resolveVueRoutes src/core/resolvers/vue.ts:162:29 ❯ Object.resolveRoutes src/core/resolvers/vue.ts:207:14 ❯ PageContext.resolveRoutes src/core/context.ts:148:34 ❯ test/generate.spec.ts:35:30
test/generate.spec.ts > generate routes > vue - sync mode match snapshot: test/generate.spec.ts#L46
Error: Snapshot `generate routes > vue - sync mode match snapshot > routes 1` mismatched - Expected + Received @@ -40,14 +40,12 @@ "path": "nested", "props": true, }, ], "component": "/examples/vue/src/pages/about/[id].vue", - "meta": { - "requiresAuth": true, - }, + "customBlock": undefined, - "name": "about-user-id", + "name": "about-id", "path": ":id", "props": true, }, { "component": "/examples/vue/src/pages/about/index.vue", @@ -56,21 +54,17 @@ "path": "", "props": true, }, ], "component": "/examples/vue/src/pages/about.vue", - "meta": { - "lang": "yml", - }, + "customBlock": undefined, "path": "/about", "props": true, }, { "component": "/examples/vue/src/pages/blog/[id].vue", - "meta": { - "requiresAuth": false, - }, + "customBlock": undefined, "name": "blog-id", "path": "/blog/:id", "props": true, }, { @@ -94,22 +88,18 @@ "path": "/blog/today", "props": true, }, { "component": "/examples/vue/src/pages/components.vue", - "meta": { - "lang": "yaml", - }, + "customBlock": undefined, "name": "components", "path": "/components", "props": true, }, { "component": "/examples/vue/src/pages/index.vue", - "meta": { - "requiresAuth": false, - }, + "customBlock": undefined, - "name": "homepage", + "name": "index", "path": "/", "props": true, }, ] ❯ Object.onRoutesGenerated test/generate.spec.ts:46:24 ❯ computeVueRoutes src/core/resolvers/vue.ts:156:36 ❯ resolveVueRoutes src/core/resolvers/vue.ts:162:29 ❯ Object.resolveRoutes src/core/resolvers/vue.ts:207:14 ❯ PageContext.resolveRoutes src/core/context.ts:148:34 ❯ test/generate.spec.ts:51:30
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' ❯ lstatSync node:fs:1666:3 ❯ statFunc node:internal/fs/cp/cp-sync:122:15 ❯ getStatsSync node:internal/fs/cp/cp-sync:123:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3020:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, syscall: 'lstat', code: 'ENOENT', path: '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' ❯ lstatSync node:fs:1666:3 ❯ statFunc node:internal/fs/cp/cp-sync:122:15 ❯ getStatsSync node:internal/fs/cp/cp-sync:123:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3020:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, syscall: 'lstat', code: 'ENOENT', path: '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' ❯ lstatSync node:fs:1666:3 ❯ statFunc node:internal/fs/cp/cp-sync:122:15 ❯ getStatsSync node:internal/fs/cp/cp-sync:123:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3020:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, syscall: 'lstat', code: 'ENOENT', path: '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' ❯ lstatSync node:fs:1666:3 ❯ statFunc node:internal/fs/cp/cp-sync:122:15 ❯ getStatsSync node:internal/fs/cp/cp-sync:123:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3020:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, syscall: 'lstat', code: 'ENOENT', path: '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' ❯ lstatSync node:fs:1666:3 ❯ statFunc node:internal/fs/cp/cp-sync:122:15 ❯ getStatsSync node:internal/fs/cp/cp-sync:123:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3020:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, syscall: 'lstat', code: 'ENOENT', path: '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' ❯ lstatSync node:fs:1666:3 ❯ statFunc node:internal/fs/cp/cp-sync:122:15 ❯ getStatsSync node:internal/fs/cp/cp-sync:123:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3020:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, syscall: 'lstat', code: 'ENOENT', path: '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' ❯ lstatSync node:fs:1666:3 ❯ statFunc node:internal/fs/cp/cp-sync:122:15 ❯ getStatsSync node:internal/fs/cp/cp-sync:123:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3020:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, syscall: 'lstat', code: 'ENOENT', path: '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' ❯ lstatSync node:fs:1666:3 ❯ statFunc node:internal/fs/cp/cp-sync:122:15 ❯ getStatsSync node:internal/fs/cp/cp-sync:123:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3020:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, syscall: 'lstat', code: 'ENOENT', path: '/home/runner/work/unplugin-convention-routes/unplugin-convention-routes/node_modules/unplugin-convention-routes/virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
test/generate.spec.ts > generate routes > vue - async mode match snapshot: test/generate.spec.ts#L30
Error: Snapshot `generate routes > vue - async mode match snapshot > routes 1` mismatched - Expected + Received @@ -40,14 +40,12 @@ "path": "nested", "props": true, }, ], "component": "/examples/vue/src/pages/about/[id].vue", - "meta": { - "requiresAuth": true, - }, + "customBlock": undefined, - "name": "about-user-id", + "name": "about-id", "path": ":id", "props": true, }, { "component": "/examples/vue/src/pages/about/index.vue", @@ -56,21 +54,17 @@ "path": "", "props": [Function], }, ], "component": "/examples/vue/src/pages/about.vue", - "meta": { - "lang": "yml", - }, + "customBlock": undefined, "path": "/about", "props": true, }, { "component": "/examples/vue/src/pages/blog/[id].vue", - "meta": { - "requiresAuth": false, - }, + "customBlock": undefined, "name": "blog-id", "path": "/blog/:id", "props": true, }, { @@ -94,22 +88,18 @@ "path": "/blog/today", "props": true, }, { "component": "/examples/vue/src/pages/components.vue", - "meta": { - "lang": "yaml", - }, + "customBlock": undefined, "name": "components", "path": "/components", "props": true, }, { "component": "/examples/vue/src/pages/index.vue", - "meta": { - "requiresAuth": false, - }, + "customBlock": undefined, - "name": "homepage", + "name": "index", "path": "/", "props": true, }, ] ❯ Object.onRoutesGenerated test/generate.spec.ts:30:24 ❯ computeVueRoutes src/core/resolvers/vue.ts:156:36 ❯ resolveVueRoutes src/core/resolvers/vue.ts:162:29 ❯ Object.resolveRoutes src/core/resolvers/vue.ts:207:14 ❯ PageContext.resolveRoutes src/core/context.ts:148:34 ❯ test/generate.spec.ts:35:30
test/generate.spec.ts > generate routes > vue - sync mode match snapshot: test/generate.spec.ts#L46
Error: Snapshot `generate routes > vue - sync mode match snapshot > routes 1` mismatched - Expected + Received @@ -40,14 +40,12 @@ "path": "nested", "props": true, }, ], "component": "/examples/vue/src/pages/about/[id].vue", - "meta": { - "requiresAuth": true, - }, + "customBlock": undefined, - "name": "about-user-id", + "name": "about-id", "path": ":id", "props": true, }, { "component": "/examples/vue/src/pages/about/index.vue", @@ -56,21 +54,17 @@ "path": "", "props": true, }, ], "component": "/examples/vue/src/pages/about.vue", - "meta": { - "lang": "yml", - }, + "customBlock": undefined, "path": "/about", "props": true, }, { "component": "/examples/vue/src/pages/blog/[id].vue", - "meta": { - "requiresAuth": false, - }, + "customBlock": undefined, "name": "blog-id", "path": "/blog/:id", "props": true, }, { @@ -94,22 +88,18 @@ "path": "/blog/today", "props": true, }, { "component": "/examples/vue/src/pages/components.vue", - "meta": { - "lang": "yaml", - }, + "customBlock": undefined, "name": "components", "path": "/components", "props": true, }, { "component": "/examples/vue/src/pages/index.vue", - "meta": { - "requiresAuth": false, - }, + "customBlock": undefined, - "name": "homepage", + "name": "index", "path": "/", "props": true, }, ] ❯ Object.onRoutesGenerated test/generate.spec.ts:46:24 ❯ computeVueRoutes src/core/resolvers/vue.ts:156:36 ❯ resolveVueRoutes src/core/resolvers/vue.ts:162:29 ❯ Object.resolveRoutes src/core/resolvers/vue.ts:207:14 ❯ PageContext.resolveRoutes src/core/context.ts:148:34 ❯ test/generate.spec.ts:51:30
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat 'D:\a\unplugin-convention-routes\unplugin-convention-routes\node_modules\unplugin-convention-routes\virtual-package' ❯ lstatSync node:fs:1641:25 ❯ getStatsSync node:internal/fs/cp/cp-sync:120:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3076:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -4058, code: 'ENOENT', syscall: 'lstat', path: 'D:\a\unplugin-convention-routes\unplugin-convention-routes\node_modules\unplugin-convention-routes\virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat 'D:\a\unplugin-convention-routes\unplugin-convention-routes\node_modules\unplugin-convention-routes\virtual-package' ❯ lstatSync node:fs:1641:25 ❯ getStatsSync node:internal/fs/cp/cp-sync:120:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3076:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -4058, code: 'ENOENT', syscall: 'lstat', path: 'D:\a\unplugin-convention-routes\unplugin-convention-routes\node_modules\unplugin-convention-routes\virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat 'D:\a\unplugin-convention-routes\unplugin-convention-routes\node_modules\unplugin-convention-routes\virtual-package' ❯ lstatSync node:fs:1641:25 ❯ getStatsSync node:internal/fs/cp/cp-sync:120:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3076:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -4058, code: 'ENOENT', syscall: 'lstat', path: 'D:\a\unplugin-convention-routes\unplugin-convention-routes\node_modules\unplugin-convention-routes\virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat 'D:\a\unplugin-convention-routes\unplugin-convention-routes\node_modules\unplugin-convention-routes\virtual-package' ❯ lstatSync node:fs:1641:25 ❯ getStatsSync node:internal/fs/cp/cp-sync:120:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3076:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -4058, code: 'ENOENT', syscall: 'lstat', path: 'D:\a\unplugin-convention-routes\unplugin-convention-routes\node_modules\unplugin-convention-routes\virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat 'D:\a\unplugin-convention-routes\unplugin-convention-routes\node_modules\unplugin-convention-routes\virtual-package' ❯ lstatSync node:fs:1641:25 ❯ getStatsSync node:internal/fs/cp/cp-sync:120:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3076:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -4058, code: 'ENOENT', syscall: 'lstat', path: 'D:\a\unplugin-convention-routes\unplugin-convention-routes\node_modules\unplugin-convention-routes\virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat 'D:\a\unplugin-convention-routes\unplugin-convention-routes\node_modules\unplugin-convention-routes\virtual-package' ❯ lstatSync node:fs:1641:25 ❯ getStatsSync node:internal/fs/cp/cp-sync:120:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3076:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -4058, code: 'ENOENT', syscall: 'lstat', path: 'D:\a\unplugin-convention-routes\unplugin-convention-routes\node_modules\unplugin-convention-routes\virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat 'D:\a\unplugin-convention-routes\unplugin-convention-routes\node_modules\unplugin-convention-routes\virtual-package' ❯ lstatSync node:fs:1641:25 ❯ getStatsSync node:internal/fs/cp/cp-sync:120:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3076:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -4058, code: 'ENOENT', syscall: 'lstat', path: 'D:\a\unplugin-convention-routes\unplugin-convention-routes\node_modules\unplugin-convention-routes\virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/core/initVirualPackage.ts#L17
Error: ENOENT: no such file or directory, lstat 'D:\a\unplugin-convention-routes\unplugin-convention-routes\node_modules\unplugin-convention-routes\virtual-package' ❯ lstatSync node:fs:1641:25 ❯ getStatsSync node:internal/fs/cp/cp-sync:120:19 ❯ checkPathsSync node:internal/fs/cp/cp-sync:72:33 ❯ cpSyncFn node:internal/fs/cp/cp-sync:58:42 ❯ Object.cpSync node:fs:3076:3 ❯ copyFile src/core/initVirualPackage.ts:17:6 ❯ Module.initVirtualPackage src/core/initVirualPackage.ts:6:3 ❯ PageContext.writeFile src/core/context.ts:139:7 ❯ src/core/context.ts:48:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -4058, code: 'ENOENT', syscall: 'lstat', path: 'D:\a\unplugin-convention-routes\unplugin-convention-routes\node_modules\unplugin-convention-routes\virtual-package' } This error originated in "test/generate.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "test/generate.spec.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
test/generate.spec.ts > generate routes > vue - async mode match snapshot: test/generate.spec.ts#L30
Error: Snapshot `generate routes > vue - async mode match snapshot > routes 1` mismatched - Expected + Received @@ -40,14 +40,12 @@ "path": "nested", "props": true, }, ], "component": "/examples/vue/src/pages/about/[id].vue", - "meta": { - "requiresAuth": true, - }, + "customBlock": undefined, - "name": "about-user-id", + "name": "about-id", "path": ":id", "props": true, }, { "component": "/examples/vue/src/pages/about/index.vue", @@ -56,21 +54,17 @@ "path": "", "props": [Function], }, ], "component": "/examples/vue/src/pages/about.vue", - "meta": { - "lang": "yml", - }, + "customBlock": undefined, "path": "/about", "props": true, }, { "component": "/examples/vue/src/pages/blog/[id].vue", - "meta": { - "requiresAuth": false, - }, + "customBlock": undefined, "name": "blog-id", "path": "/blog/:id", "props": true, }, { @@ -94,22 +88,18 @@ "path": "/blog/today", "props": true, }, { "component": "/examples/vue/src/pages/components.vue", - "meta": { - "lang": "yaml", - }, + "customBlock": undefined, "name": "components", "path": "/components", "props": true, }, { "component": "/examples/vue/src/pages/index.vue", - "meta": { - "requiresAuth": false, - }, + "customBlock": undefined, - "name": "homepage", + "name": "index", "path": "/", "props": true, }, ] ❯ Object.onRoutesGenerated test/generate.spec.ts:30:24 ❯ computeVueRoutes src/core/resolvers/vue.ts:156:36 ❯ resolveVueRoutes src/core/resolvers/vue.ts:162:29 ❯ Object.resolveRoutes src/core/resolvers/vue.ts:207:14 ❯ PageContext.resolveRoutes src/core/context.ts:148:34 ❯ test/generate.spec.ts:35:30
test/generate.spec.ts > generate routes > vue - sync mode match snapshot: test/generate.spec.ts#L46
Error: Snapshot `generate routes > vue - sync mode match snapshot > routes 1` mismatched - Expected + Received @@ -40,14 +40,12 @@ "path": "nested", "props": true, }, ], "component": "/examples/vue/src/pages/about/[id].vue", - "meta": { - "requiresAuth": true, - }, + "customBlock": undefined, - "name": "about-user-id", + "name": "about-id", "path": ":id", "props": true, }, { "component": "/examples/vue/src/pages/about/index.vue", @@ -56,21 +54,17 @@ "path": "", "props": true, }, ], "component": "/examples/vue/src/pages/about.vue", - "meta": { - "lang": "yml", - }, + "customBlock": undefined, "path": "/about", "props": true, }, { "component": "/examples/vue/src/pages/blog/[id].vue", - "meta": { - "requiresAuth": false, - }, + "customBlock": undefined, "name": "blog-id", "path": "/blog/:id", "props": true, }, { @@ -94,22 +88,18 @@ "path": "/blog/today", "props": true, }, { "component": "/examples/vue/src/pages/components.vue", - "meta": { - "lang": "yaml", - }, + "customBlock": undefined, "name": "components", "path": "/components", "props": true, }, { "component": "/examples/vue/src/pages/index.vue", - "meta": { - "requiresAuth": false, - }, + "customBlock": undefined, - "name": "homepage", + "name": "index", "path": "/", "props": true, }, ] ❯ Object.onRoutesGenerated test/generate.spec.ts:46:24 ❯ computeVueRoutes src/core/resolvers/vue.ts:156:36 ❯ resolveVueRoutes src/core/resolvers/vue.ts:162:29 ❯ Object.resolveRoutes src/core/resolvers/vue.ts:207:14 ❯ PageContext.resolveRoutes src/core/context.ts:148:34 ❯ test/generate.spec.ts:51:30