小编msu*_*eme的帖子

Node-sass、node-gyp 错误,如何解决?

更新brew并重新安装node后,设置依赖时出现错误。告诉我如何解决这个问题?

下面的代码不是全部错误,因为字符数有限制,所以只有一部分。

节点 v10.2.1

PHP 7.2.6 (cli)(构建时间:2018 年 5 月 25 日 06:18:43)(NTS)

Python 2.7.10(默认,2017 年 10 月 6 日,22:29:07)

? yarn install --save-dev
yarn install v0.15.1
warning frontend_pack@1.0.0: No license field
warning frontend_pack@1.0.0: Dependency "path" listed in "devDependencies" is the name of a built-in module
[1/4]   Resolving packages...
[2/4]   Fetching packages...
warning lodash@1.0.2: The engine "rhino" appears to be invalid.
[3/4]   Linking dependencies...
warning Unmet peer dependency "jquery@>=1.9.0".
[4/4]   Building fresh packages...
[1/1] ? node-sass: not ok
[-/1] ? …
Run Code Online (Sandbox Code Playgroud)

node.js node-gyp node-sass

6
推荐指数
1
解决办法
2423
查看次数

标签 统计

node-gyp ×1

node-sass ×1

node.js ×1