DOS line-endings in @microsoft/botframework-cli/bin/run
when installed with yarn
#711
Labels
Area: Schema
The issue is related to schemas (bot schemas, skill manifest, etc.)
backlog
The issue is out of scope for the current iteration but it will be evaluated in a future release.
Bot Services
Required for internal Azure reporting. Do not delete. Do not change color.
customer-replied-to
Indicates that the team has replied to the issue reported by the customer. Do not delete.
customer-reported
Issue is created by anyone that is not a collaborator in the repository.
ExemptFromDailyDRIReport
Use this label to exclude the issue from the DRI report.
feature-request
A request for new functionality or an enhancement to an existing one.
Versions
What CLI version are you using.
@microsoft/botframework-cli/4.8.0 linux-x64 node-v13.12.0
What Nodejs version are you using
v13.12.0
What command-line interpreters are you using
bash
What OS are you using
Manjaro Linux 4.19.114-1
Describe the bug
Installing
bf
in a *nix environment usingyarn@v1.22.4
results in the following error/usr/bin/env: ‘node\r’: No such file or directory
To Reproduce
Steps to reproduce the behavior:
yarn global add @microsoft/botframework-cli
bf
Expected behavior
I expected it to run without the error detailed above
Workaround
Install using
npm@v6.14.4
instead, otherwise if installing withyarn@v1.22.4
try the following:dos2unix
@microsoft/botframework-cli/bin/run
bf
was installed~/.config/yarn/global/node_modules/@microsoft/botframework-cli/bin/run
dos2unix
onrun
Note:
dos2unix
will not work on symbolically linked files so be sure to locate the actual file[bug]
The text was updated successfully, but these errors were encountered: