feat(defineEnv): support resolving paths #1125
Annotations
2 errors and 1 warning
Run pnpm vitest:
src/env.ts#L42
Error: Cannot find module unenv/runtime/mock/empty imported from file:///home/runner/work/unenv/unenv/src, file:///home/runner/work/unenv/unenv/, file:///home/runner/work/unenv/unenv/src/_index.js, file:///home/runner/work/unenv/unenv/node_modules
❯ _resolve node_modules/.pnpm/mlly@1.7.3/node_modules/mlly/dist/index.mjs:2102:19
❯ resolveSync node_modules/.pnpm/mlly@1.7.3/node_modules/mlly/dist/index.mjs:2111:10
❯ Module.resolvePathSync node_modules/.pnpm/mlly@1.7.3/node_modules/mlly/dist/index.mjs:2121:24
❯ _resolve src/env.ts:42:38
❯ Module.defineEnv src/env.ts:46:34
❯ test/env.test.ts:36:23
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' }
|
Run pnpm vitest
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading