node.js - 将 create-react-app 与旧节点版本一起使用
问题描述
是否可以在节点 13.6.0 上安装任何 create-react-app 版本?我不能使用win7的实际节点cuz。对于我的实际节点,许多 create-react-app 依赖项向我表明它们需要更新或旧版本的节点。
Installing template dependencies using npm...
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'browserslist@4.17.0',
npm WARN EBADENGINE required: { node: '^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7' },
npm WARN EBADENGINE current: { node: 'v13.6.0', npm: '7.21.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'eslint-utils@3.0.0',
npm WARN EBADENGINE required: { node: '^10.0.0 || ^12.0.0 || >= 14.0.0' },
npm WARN EBADENGINE current: { node: 'v13.6.0', npm: '7.21.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'nanoid@3.1.25',
npm WARN EBADENGINE required: { node: '^10 || ^12 || ^13.7 || ^14 || >=15.0.1' },
npm WARN EBADENGINE current: { node: 'v13.6.0', npm: '7.21.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'postcss@8.3.6',
npm WARN EBADENGINE required: { node: '^10 || ^12 || >=14' },
npm WARN EBADENGINE current: { node: 'v13.6.0', npm: '7.21.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'browserslist@4.14.2',
npm WARN EBADENGINE required: { node: '^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7' },
npm WARN EBADENGINE current: { node: 'v13.6.0', npm: '7.21.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'pretty-format@27.1.0',
npm WARN EBADENGINE required: { node: '^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0' },
npm WARN EBADENGINE current: { node: 'v13.6.0', npm: '7.21.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'jest-diff@27.1.0',
npm WARN EBADENGINE required: { node: '^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0' },
npm WARN EBADENGINE current: { node: 'v13.6.0', npm: '7.21.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'pretty-format@27.1.0',
npm WARN EBADENGINE required: { node: '^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0' },
npm WARN EBADENGINE current: { node: 'v13.6.0', npm: '7.21.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@jest/types@27.1.0',
npm WARN EBADENGINE required: { node: '^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0' },
npm WARN EBADENGINE current: { node: 'v13.6.0', npm: '7.21.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'diff-sequences@27.0.6',
npm WARN EBADENGINE required: { node: '^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0' },
npm WARN EBADENGINE current: { node: 'v13.6.0', npm: '7.21.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'jest-get-type@27.0.6',
npm WARN EBADENGINE required: { node: '^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0' },
npm WARN EBADENGINE current: { node: 'v13.6.0', npm: '7.21.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@jest/types@27.1.0',
npm WARN EBADENGINE required: { node: '^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0' },
npm WARN EBADENGINE current: { node: 'v13.6.0', npm: '7.21.1' }
npm WARN EBADENGINE }
在 npm start 之后我有
Error: No valid exports main found for '..app\node_modules\colorette'
解决方案
推荐阅读
- python-3.x - AttributeError:模块“PyQt5”没有属性“__version__”
- spring-boot - 如何使用 WebClient Spring 下载大文件?
- javascript - 在 IOS (Iphone/Ipad) 移动浏览器上自动下载存储在 S3 中的图像
- javascript - Cloudflare 工作人员 CORS 被忽略
- javascript - 如何在纯 HTML 和 JS 上使用/不使用 Amplify 实现 Cognito?
- python - 从 PyQt5 导入 QtCore 作为 qcore ImportError
- javascript - 我可以将 beforeunload 事件延迟足够长的时间,以便我可以确保 POST 请求以对用户来说最不烦人的方式通过吗?无法使用发送信标
- python - 如何处理高基数?
- amazon-web-services - 如何在没有用户交互的情况下使用 AWS/Amplify CLI 部署现有 Amplify 应用程序的新版本?
- kubernetes - Sentry/Snuba/Clickhouse。[1000] DB::异常。[271] DB::异常。[62] DB::异常