0

为什么当我尝试在我的命令“yarn install”中运行时出现错误我无法在 Windows 中安装 pulsar-client

$ yarn install
yarn install v1.22.15
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@2.3.2: The platform "win32" is incompatible with this module.
info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
[1/6] ⠠ core-js-pure
[6/6] ⠠ nodemon
[3/6] ⠠ pulsar-client
[4/6] ⠠ sqlite3
error C:\Users\Roger\Desktop\Project\peoplebackend\node_modules\pulsar-client: Command failed.        
Exit code: 1
Command: node-pre-gyp install --fallback-to-build
Arguments:
Directory: C:\Users\Roger\Desktop\Project\peoplebackend\node_modules\pulsar-client
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using node-pre-gyp@0.15.0
node-pre-gyp info using node@14.18.1 | win32 | x64
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp info check checked for "C:\Users\Roger\Desktop\Project\peoplebackend\node_modules\pulsar-
client\build\Release\libpulsar.node" (not found)
4

0 回答 0