mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
79 lines
3.5 KiB
Diff
79 lines
3.5 KiB
Diff
--- old.nodeModulesAllowJsPackageImports(module=node20).errors.txt
|
|
+++ new.nodeModulesAllowJsPackageImports(module=node20).errors.txt
|
|
@@= skipped -0, +0 lines =@@
|
|
error TS2210: The project root is ambiguous, but is required to resolve import map entry '.' in file 'package.json'. Supply the `rootDir` compiler option to disambiguate.
|
|
+index.cjs(2,22): error TS2307: Cannot find module '#cjs' or its corresponding type declarations.
|
|
+index.cjs(3,22): error TS2307: Cannot find module '#mjs' or its corresponding type declarations.
|
|
+index.cjs(4,23): error TS2307: Cannot find module '#type' or its corresponding type declarations.
|
|
+index.js(2,22): error TS2307: Cannot find module '#cjs' or its corresponding type declarations.
|
|
+index.js(3,22): error TS2307: Cannot find module '#mjs' or its corresponding type declarations.
|
|
+index.js(4,23): error TS2307: Cannot find module '#type' or its corresponding type declarations.
|
|
+index.mjs(2,22): error TS2307: Cannot find module '#cjs' or its corresponding type declarations.
|
|
+index.mjs(3,22): error TS2307: Cannot find module '#mjs' or its corresponding type declarations.
|
|
+index.mjs(4,23): error TS2307: Cannot find module '#type' or its corresponding type declarations.
|
|
|
|
|
|
!!! error TS2210: The project root is ambiguous, but is required to resolve import map entry '.' in file 'package.json'. Supply the `rootDir` compiler option to disambiguate.
|
|
-==== index.js (0 errors) ====
|
|
- // esm format file
|
|
- import * as cjs from "#cjs";
|
|
- import * as mjs from "#mjs";
|
|
- import * as type from "#type";
|
|
- cjs;
|
|
- mjs;
|
|
- type;
|
|
-==== index.mjs (0 errors) ====
|
|
- // esm format file
|
|
- import * as cjs from "#cjs";
|
|
- import * as mjs from "#mjs";
|
|
- import * as type from "#type";
|
|
- cjs;
|
|
- mjs;
|
|
- type;
|
|
-==== index.cjs (0 errors) ====
|
|
- // esm format file
|
|
- import * as cjs from "#cjs";
|
|
- import * as mjs from "#mjs";
|
|
- import * as type from "#type";
|
|
+==== index.js (3 errors) ====
|
|
+ // esm format file
|
|
+ import * as cjs from "#cjs";
|
|
+ ~~~~~~
|
|
+!!! error TS2307: Cannot find module '#cjs' or its corresponding type declarations.
|
|
+ import * as mjs from "#mjs";
|
|
+ ~~~~~~
|
|
+!!! error TS2307: Cannot find module '#mjs' or its corresponding type declarations.
|
|
+ import * as type from "#type";
|
|
+ ~~~~~~~
|
|
+!!! error TS2307: Cannot find module '#type' or its corresponding type declarations.
|
|
+ cjs;
|
|
+ mjs;
|
|
+ type;
|
|
+==== index.mjs (3 errors) ====
|
|
+ // esm format file
|
|
+ import * as cjs from "#cjs";
|
|
+ ~~~~~~
|
|
+!!! error TS2307: Cannot find module '#cjs' or its corresponding type declarations.
|
|
+ import * as mjs from "#mjs";
|
|
+ ~~~~~~
|
|
+!!! error TS2307: Cannot find module '#mjs' or its corresponding type declarations.
|
|
+ import * as type from "#type";
|
|
+ ~~~~~~~
|
|
+!!! error TS2307: Cannot find module '#type' or its corresponding type declarations.
|
|
+ cjs;
|
|
+ mjs;
|
|
+ type;
|
|
+==== index.cjs (3 errors) ====
|
|
+ // esm format file
|
|
+ import * as cjs from "#cjs";
|
|
+ ~~~~~~
|
|
+!!! error TS2307: Cannot find module '#cjs' or its corresponding type declarations.
|
|
+ import * as mjs from "#mjs";
|
|
+ ~~~~~~
|
|
+!!! error TS2307: Cannot find module '#mjs' or its corresponding type declarations.
|
|
+ import * as type from "#type";
|
|
+ ~~~~~~~
|
|
+!!! error TS2307: Cannot find module '#type' or its corresponding type declarations.
|
|
cjs;
|
|
mjs;
|
|
type;
|