Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Error: Cannot find module @microsoft/orchestrator-core/orchestrator-core.node #1346

@ChiragM-Hexaware

Description

@ChiragM-Hexaware

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:

  1. Install npm -g @microsoft/botframework-cli
  2. Give any bf cli command for orchestrator
  3. I gave bf orchestrator:create
  4. See error as mentioned above

Expected behavior

It should create a orchestrator snapshot file in specified folder. None of orchestrator command is working

Metadata

Metadata

Assignees

Labels

bugIndicates an unexpected problem or an unintended behavior.customer-replied-toIndicates that the team has replied to the issue reported by the customer. Do not delete.customer-reportedIssue is created by anyone that is not a collaborator in the repository.needs-triageThe issue has just been created and it has not been reviewed by the team.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions