rocketmq-client-nodejs icon indicating copy to clipboard operation
rocketmq-client-nodejs copied to clipboard

This relative module was not found: * ../build/Release

Open Denglee opened this issue 4 years ago • 1 comments

What Happens?

A clear and concise description of what the bug is.

Minimum Showcase (Required)

Provide a minimum code or GitHub repository which can reproduce the issue.

How to Reproduce

Steps to reproduce the behavior:

1.cnpm install 2.This relative module was not found:

  • ../build/Release in E:/Project/maike/node_modules/[email protected]@apache-rocketmq/lib/common.js

Expected behavior

Context

  • Node Version:
  • SDK Version:
  • Platform:

Denglee avatar Mar 04 '21 01:03 Denglee

try {
    mod = require(`../build/Debug/${name}`);
} catch(e) {
    mod = require(`../build/Release/${name}`);
}

There are no folders: build 

Denglee avatar Mar 04 '21 02:03 Denglee