首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >遇到的错误无法完成基板前端模板的纱线安装

遇到的错误无法完成基板前端模板的纱线安装
EN

Stack Overflow用户
提问于 2022-02-26 08:04:12
回答 1查看 3.2K关注 0票数 4

遵循此处提供的安装步骤

https://docs.substrate.io/tutorials/v3/create-your-first-substrate-chain/

使用节点版本v16.14.0所采取的步骤

代码语言:javascript
运行
复制
git clone https://github.com/substrate-developer-hub/substrate-front-end-template
yarn install

错误码

代码语言:javascript
运行
复制
Resolution step
➤ YN0002: │ eslint-config-react-app@npm:7.0.0 [e199f] doesn't provide @babel/plugin-syntax-flow (p79568), requested by eslint-plugin-flowtype
➤ YN0002: │ eslint-config-react-app@npm:7.0.0 [e199f] doesn't provide @babel/plugin-transform-react-jsx (p2880e), requested by eslint-plugin-flowtype
➤ YN0002: │ react-dev-utils@npm:12.0.0 doesn't provide typescript (p08c91), requested by fork-ts-checker-webpack-plugin
➤ YN0002: │ react-dev-utils@npm:12.0.0 doesn't provide webpack (pf80ce), requested by fork-ts-checker-webpack-plugin
➤ YN0002: │ react-scripts@npm:5.0.0 [9c894] doesn't provide autoprefixer (peca2e), requested by tailwindcss
➤ YN0060: │ react-scripts@npm:5.0.0 [9c894] provides eslint (p3d1f2) with version 8.6.0, which doesn't satisfy what eslint-config-react-app and some of its descendants request
➤ YN0002: │ substrate-front-end-template@workspace:. doesn't provide eslint (p83184), requested by eslint-config-prettier
➤ YN0002: │ substrate-front-end-template@workspace:. doesn't provide webpack (p9e29f), requested by node-polyfill-webpack-plugin
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
➤ YN0000: └ Completed in 0s 245ms
➤ YN0000: ┌ Fetch step
➤ YN0013: │ semantic-ui-css@https://github.com/Semantic-Org/Semantic-UI-CSS.git#commit=01e4a5346496c284db3b19a102458731ccccd911 can't be found in the cache and will be fe
➤ YN0013: │ semantic-ui-css@https://github.com/Semantic-Org/Semantic-UI-CSS.git#commit=01e4a5346496c284db3b19a102458731ccccd911 can't be found in the cache and will be fe
➤ YN0018: │ semantic-ui-css@https://github.com/Semantic-Org/Semantic-UI-CSS.git#commit=01e4a5346496c284db3b19a102458731ccccd911: The remote archive doesn't match the expected checksum
➤ YN0000: └ Completed in 8s 74ms
➤ YN0000: Failed with errors in 8s 327ms
EN

回答 1

Stack Overflow用户

发布于 2022-02-26 13:09:17

通过执行以下步骤解决此问题

代码语言:javascript
运行
复制
yarn cache clean --all
yarn install

此时,也出现了同样的错误。然后运行以下命令:

代码语言:javascript
运行
复制
YARN_CHECKSUM_BEHAVIOR=update yarn

来自Github讨论的学分

票数 12
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/71275021

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档