使用npm install 安装项目依赖时出现Package require os(darwin) not compatible with your platform(win32)的问题

stackoverfllow.com上的回答为:

This is an ignored error. fsevents is an optional dependency, is only used on macOS and not on Windows or Linux. You can simply ignore it! It always happens when using webpack (and many other packages) on Windows, it's perfectly normal and expected.

大致意思:这是一个可以忽略的错误,fsevents是可选的依赖,只能应用于maxOS系统,不适合Windows或者Linux,也就是忽略即可。

非要解决的话,可尝试运行以下命令

①:cnpm rebuild node-sass

②:cnpm install

cnpm可以写成npm,cnpm只是使用了淘宝镜像,国内网安装会快一些。

内推信息

有想换工作的小伙伴吗?

对网易感兴趣的话欢迎添加本人微信:urus35

各种方向的岗位都有噢~(坐标:广州北京上海杭州)

Package require os(darwin) not compatible with your platform(win32)相关推荐

  1. [fsevents@^2.1.2] optional install error: Package require os(darwin) not compatible with your platfo

    在进行Vue项目的安装依赖的时候出现了 [fsevents@^2.1.2] optional install error: Package require os(darwin) not compati ...

  2. fsevents@1.2.13: wanted {“os“:“darwin“,“arch“:“any“} (current: {“os“:“win32“,“arch“:“x64“})

    报错解决方法:在安装依赖的时候 npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, b ...

  3. require(os)

    为什么80%的码农都做不了架构师?>>>    初始os模块: var os = require("os");var osInfo; osInfo += &quo ...

  4. Springer tex 模板, Package natbib Error: Bibliography not compatible with author-year citations.

    在使用Springer模板排版时出现一下问题: Package natbib Error: Bibliography not compatible with author-year citations ...

  5. [LaTeX] 将参考文献的引用格式从编号改为 “作者,年份” 及可能出现的问题(Package natbib Error: Bibliography not compatible...)解决

    文章目录 前言 1 步骤 2 可能出现的问题:! Package natbib Error: Bibliography not compatible with author-year 3 小结 参考文 ...

  6. go package学习——os

    2019独角兽企业重金招聘Python工程师标准>>> os package的内容基本与c的一致,如果有<Unix环境高级编程>的基础,会非常容易理解和掌握os pack ...

  7. php os darwin,解决Mac os(10.12.6) 编译php7提示“/usr/lib/system/libsystem_darwin.dylib”找不到...

    直接引用老外的问题描述: I can't install php71 with brew install php71 --with-httpd as an error appears during t ...

  8. Vue.js-Day03-AM【超级详细:Node.js环境安装、安装淘宝镜像(Win、Mac)、安装Vue脚手架、初始化Vue项目-命令解释(Vscode、命令行窗口)、目录介绍、Vue文件介绍】

    Vue.js实训[基础理论(5天)+项目实战(5天)]博客汇总表[详细笔记] 目   录 1.Node.js-环境安装 1.1.Node.js-详细安装步骤 2.vue-cli脚手架安装 2.1.安装 ...

  9. webpack——快速入门【一】

    学习webpack https://github.com/webproblem/learning-article#webpack https://github.com/lengziyu/learn-w ...

最新文章

  1. 基础篇:如何做一名专业的软件测试工程师
  2. 七年程序员生涯,我学到的重要六课
  3. android自定义LinearLayout和View
  4. 用python画钢铁侠_用自动铅笔素描画钢铁侠盔甲
  5. mysql 备份到别的机器_物理拷贝备份mysql到其他机器上恢复
  6. java calendar 毫秒_java Calendar(将时间精确到毫秒)
  7. 离线登陆_iphone手机,苹果手机如何登陆网易163邮箱
  8. QML工作笔记-使用QML中的Date将时间戳和指定格式时间互转
  9. 将中国标准时间转换成标准格式的代码
  10. 腾讯财报:微信月活增至10.98亿 QQ月活8.07亿
  11. 京东java笔试_2017阿里,百度,京东java面试+笔试大合集,2018的你会吗?
  12. linux dhcp 绑定mac地址,●DHCP协议的功能是 (58) 。在Linux中提供DHCP服务的程序是 (59) ;DHCP服务将主机的MAC地址和IP地 - 赏学吧...
  13. C# 基础知识-09----.NET中SpecialFolder 类
  14. 总结——达内视频(三)
  15. 当您尝试加入域时,出现“Network Location Cannot be Reached”(不能访问网络位置)错误信息...
  16. java 字符串转换成gb2312编码格式
  17. 中值定理9-极值点判断
  18. 2015年史玉柱演讲实录
  19. 数字电路——流水灯(二)_往返流水灯
  20. 邀请函 · Android 9 Pie 技术分享会直播

热门文章

  1. 机器学习实战(用Scikit-learn和TensorFlow进行机器学习)(四)
  2. Nginx-基础使用
  3. RecyclerView Item 布局宽高无效问题探究
  4. 【Linux学习】Linux的文件权限(一)
  5. Channel SDK (渠道SDK) for Unity
  6. 【PHP】PHPExcel类 excel常用操作小结
  7. 【JS】 JS毫秒值转化为正常格式 或者正常格式转化为毫秒值
  8. PHP单引号和双引号的区别
  9. 网上邻居访问提示未授予用户在此计算机上的请求登录类型的解决
  10. Windows Server 2008 R2中的托管服务帐号(MSA)-冯立亮