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
The issue is that the tsconfig.json is setted to transpile the "src" and the "resources" folders, but the resources folder has nothing to transpile. The result of this configuration is the creation of the "src" subfolder inside the "lib" folder. This breaks the node run command and some of the objects references inside the project that points to the "lib" root folder instead of the "src" subfolder.
Proposed Solution
Replace in tsconfig.json: "rootDirs": ["./src", "./resources"] ----> rootDir": "./src",
The solution would be just to compile only the "src" folder.
The text was updated successfully, but these errors were encountered:
Sample Information
Describe the Bug
Building the sample gives a bad configuration (structure) of the files in lib directory.
To Reproduce
Steps to reproduce the behavior:
npm build
command.npm start
.Expected Behavior
Build the solution and start the bot.
Screenshots
Additional Context
The issue is that the tsconfig.json is setted to transpile the "src" and the "resources" folders, but the resources folder has nothing to transpile. The result of this configuration is the creation of the "src" subfolder inside the "lib" folder. This breaks the node run command and some of the objects references inside the project that points to the "lib" root folder instead of the "src" subfolder.
Proposed Solution
Replace in tsconfig.json:
"rootDirs": ["./src", "./resources"]
---->rootDir": "./src",
The solution would be just to compile only the "src" folder.
The text was updated successfully, but these errors were encountered: