-
Notifications
You must be signed in to change notification settings - Fork 202
Closed
Description
这个问题被修复了,但他貌似还有其他问题
![]()
Runtime Error
[turbopack-node]/transforms/transforms.ts:53:10
lint TP1006 path.join(???0, (???2 ? ???5 : ???7)) is very dynamic
51 | }
52 | export const fromPath = (path: string) => {
53 | return join(contextDir, sep !== '/' ? path.replaceAll('/', sep) : path)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
54 | }
55 |
56 | // Patch process.env to track which env vars are read
- 0 process.cwd1()
⚠️ process.cwd is not specified in the environment
⚠️ This value might have side effects- 1 process.cwd: The Node.js process.cwd method: https://nodejs.org/api/process.html#processcwd
- 2 (???3 !== "/")
⚠️ nested operation- 3 path4["sep"]
⚠️ unsupported property on Node.js path module
⚠️ This value might have side effects- 4 path: The Node.js path module: https://nodejs.org/api/path.html
- 5 ???6["replaceAll"]("/", module<path, {}>["sep"])
⚠️ unknown callee object- 6 arguments[0]
⚠️ function calls are not analysed yet- 7 arguments[0]
⚠️ function calls are not analysed yetImport trace:
[turbopack-node]/transforms/transforms.ts
[turbopack-node]/transforms/webpack-loaders.ts
emrecpp
Metadata
Metadata
Assignees
Labels
No labels
