Can't run it with node 8.4.0: "Node: any 8.x version starting with 8.4.0 or greater"
未关闭
还没有人认领这个 Issue。
- 主要语言
- JavaScript
- 星标
- 11.8k
- 派生
- 7.9k
- 平均合并
- 1 天 11 小时
- 30 天内合并 PR
- 11
描述
- with node 8.4.0 I run
yarnand I get this error:error css-loader@1.0.0: The engine "node" is incompatible with this module. Expected version ">= 6.9.0 <7.0.0 || >= 8.9.0". error Found incompatible module

- I tried to install 8.9.0 and I managed to install the node_modules but then when I run
yarn devI get these errorsTypeError: Cannot read property 'filter' of undefinedanderror Plugin gatsby-transformer-sharp returned an error Error: The specified module could not be found. \\?\E:\dev\xxx\node_modules\sharp\build\Release\sharp.node;

I'm using win 10 pro 64bit.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
未指定仓库文件、测试或入口点。首先在 Windows 上使用 Node 8.4.0 和 8.9.0 重现 yarn 和 yarn dev,然后检查 css-loader 和 gatsby-transformer-sharp 周围的依赖约束。完成的标准是确定一个受支持的 Node 版本,并确认开发服务器能够在没有这些错误的情况下启动。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, node.js
- 领域
- build-system
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100