forked from microsoft/BotBuilder-Samples
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Sample Information
- Sample type: samples
- Sample language: typescript
- Sample name: basic-bot
Describe the Bug
Building the sample gives a bad configuration (structure) of the files in lib directory.
To Reproduce
Steps to reproduce the behavior:
- Follow the README instructions.
- Execute
npm buildcommand. - Look the lib directory created.
- Execute
npm start. - See error.
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.
Metadata
Metadata
Assignees
Labels
No labels

