You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2024-11-10T12:04:33.432] [ERROR] jsii/compiler - Type model errors prevented the JSII assembly from being created
error JSII4: Could not find "main" file: C:\Workspace\internal\index.ts
The project is in C:\Workspace\internal\jsii-getting-started. It seems jsii is looking at the parent directory rather than the project directory.
Regression Issue
Select this option if this issue appears to be a regression.
Expected Behavior
jsii should generate Java files
Current Behavior
I am getting this error
[2024-11-10T12:04:33.432] [ERROR] jsii/compiler - Type model errors prevented the JSII assembly from being created
error JSII4: Could not find "main" file: C:\Workspace\internal\index.ts
Reproduction Steps
Follow the steps listed in the documentation to create a sample project. Run the command npm run build. You will get the error in Windows 11 enterprise
Possible Solution
None
Additional Information/Context
No response
SDK version used
jsii: 5.5.9 & jsii-pacmak: 1.104.0
Environment details (OS name and version, etc.)
Windows 11 Enterprise
The text was updated successfully, but these errors were encountered:
Describe the bug
I am getting started with jsii. I facing an issue when running
npm run build
. Below is my jsii configurationThe error I am getting is
[2024-11-10T12:04:33.432] [ERROR] jsii/compiler - Type model errors prevented the JSII assembly from being created
error JSII4: Could not find "main" file: C:\Workspace\internal\index.ts
The project is in C:\Workspace\internal\jsii-getting-started. It seems jsii is looking at the parent directory rather than the project directory.
Regression Issue
Expected Behavior
jsii should generate Java files
Current Behavior
I am getting this error
[2024-11-10T12:04:33.432] [ERROR] jsii/compiler - Type model errors prevented the JSII assembly from being created
error JSII4: Could not find "main" file: C:\Workspace\internal\index.ts
Reproduction Steps
Follow the steps listed in the documentation to create a sample project. Run the command
npm run build
. You will get the error in Windows 11 enterprisePossible Solution
None
Additional Information/Context
No response
SDK version used
jsii: 5.5.9 & jsii-pacmak: 1.104.0
Environment details (OS name and version, etc.)
Windows 11 Enterprise
The text was updated successfully, but these errors were encountered: