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