Skip to content

feat(defineEnv): support resolving paths #1125

feat(defineEnv): support resolving paths

feat(defineEnv): support resolving paths #1125

Triggered via pull request December 11, 2024 18:39
Status Failure
Total duration 34s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
test/env.test.ts > defineEnv > resolvePath > resolves all nodeCompat paths: 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' }
ci
Process completed with exit code 1.
ci
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636