小编Ste*_*eda的帖子

执行 npm install 失败,显示错误“绑定.gyp 中未定义变量standalone_static_library”和 node-sass chokidar 错误

我正在更新 3 年前的 ruby​​ on Rails 和 React 项目,尝试 npm install 但我被困在这里收到此错误

$ npm 安装

gyp: Undefined variable standalone_static_library in binding.gyp while trying to load binding.gyp
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
Run Code Online (Sandbox Code Playgroud)

$ npm 开始

sh: node-sass-chokidar: command not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! frontend@0.1.0 build-css: `node-sass-chokidar src/styles -o src/styles`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! …
Run Code Online (Sandbox Code Playgroud)

javascript ruby-on-rails package npm reactjs

15
推荐指数
1
解决办法
7320
查看次数

标签 统计

javascript ×1

npm ×1

package ×1

reactjs ×1

ruby-on-rails ×1