-
Couldn't load subscription status.
- Fork 123
Error: Cannot find module @microsoft/orchestrator-core/orchestrator-core.node #1346
Description
Versions
What CLI version are you using = 4.15.0
What Nodejs version are you using = 14.2.0
What command-line interpreters are you using= Putty
What OS are you using = Linux Redhat(8.2)
Describe the bug
After installing @microsoft/botframework-cli with npm. It got installed successfully. But when i tried creating a snapshot file with bf orchestrator:create command. It is showing Error: Cannot find module '/usr/local/lib/node_modules/@microsoft/botframework-cli/node_modules/@microsoft/orchestrator-core/orchestrator-core.node'. Please verify that the package.json has a valid "main" entry
at Module.patchedRequire [as require] (/usr/local/lib/node_modules/@microsoft/botframework-cli/node_modules/diagnostic-channel/dist/src/patchRequire.js:14:46)
at Object. (/usr/local/lib/node_modules/@microsoft/botframework-cli/node_modules/@microsoft/bf-orchestrator/lib/labelresolver.js:14:12)
Package json main entry is correct. But when i opened node_modules folder -> @microsoft, -> orchestrator-core. There is no .node file present after installation. But after installation of bf cli(which i did before), Output came up as * @microsoft/orchestrator-core] Success: "/usr/local/lib/node_modules/@microsoft/botframework-cli/node_modules/@microsoft/orchestrator-core/orchestrator-core.node" is installed via remote. So don't know why i can't find .node file
To Reproduce
Steps to reproduce the behavior:
- Install npm -g @microsoft/botframework-cli
- Give any bf cli command for orchestrator
- I gave bf orchestrator:create
- See error as mentioned above
Expected behavior
It should create a orchestrator snapshot file in specified folder. None of orchestrator command is working