Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/reactjs/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Reactjs 运行“盖茨比开发”时出现错误35; 98124网页`_Reactjs_Gatsby_Contentful - Fatal编程技术网

Reactjs 运行“盖茨比开发”时出现错误35; 98124网页`

Reactjs 运行“盖茨比开发”时出现错误35; 98124网页`,reactjs,gatsby,contentful,Reactjs,Gatsby,Contentful,安装盖茨比源代码内容:^2.3.42=>2.3.43后,一切都开始了 错误#98124网页包 生成开发JavaScript包失败 无法解析/Users/labanio/development/my app/node_modules/gatsby link中的“历史记录” 如果您试图使用软件包,请确保安装了“历史记录”。如果您试图使用本地文件,请确保路径正确。 文件:node\u modules/gatsby link/index.js 错误#98124网页包 生成开发JavaScript包失败

安装盖茨比源代码内容:^2.3.42=>2.3.43后,一切都开始了

错误#98124网页包

生成开发JavaScript包失败 无法解析
/Users/labanio/development/my app/node_modules/gatsby link中的“历史记录”
如果您试图使用软件包,请确保安装了“历史记录”。如果您试图使用本地文件,请确保路径正确。 文件:
node\u modules/gatsby link/index.js

错误#98124网页包

生成开发JavaScript包失败 无法在
/Users/labanio/development/my app/node\u modules/gatsby link
如果您试图使用软件包,请确保安装了
react router dom
。如果您试图使用本地文件,请确保路径正确。 文件:
node\u modules/gatsby link/index.js
失败的建筑开发包-7.565s

这是我的
gatsby信息

系统:

OS: macOS 10.15.6
CPU: (8) x64 Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz
Shell: 5.7.1 - /bin/zsh
Node: 12.16.2 - /usr/local/bin/node
npm: 6.14.4 - /usr/local/bin/npm
Python: 2.7.16 - /usr/bin/python
Chrome: 85.0.4183.102
Safari: 13.1.2
gatsby: ^2.24.55 => 2.24.55
gatsby-link: ^1.6.40 => 1.6.46
gatsby-plugin-react-helmet: ^3.3.10 => 3.3.10
gatsby-source-contentful: ^2.3.42 => 2.3.43
gatsby-cli: 2.12.93
二进制文件:

OS: macOS 10.15.6
CPU: (8) x64 Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz
Shell: 5.7.1 - /bin/zsh
Node: 12.16.2 - /usr/local/bin/node
npm: 6.14.4 - /usr/local/bin/npm
Python: 2.7.16 - /usr/bin/python
Chrome: 85.0.4183.102
Safari: 13.1.2
gatsby: ^2.24.55 => 2.24.55
gatsby-link: ^1.6.40 => 1.6.46
gatsby-plugin-react-helmet: ^3.3.10 => 3.3.10
gatsby-source-contentful: ^2.3.42 => 2.3.43
gatsby-cli: 2.12.93
语言:

OS: macOS 10.15.6
CPU: (8) x64 Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz
Shell: 5.7.1 - /bin/zsh
Node: 12.16.2 - /usr/local/bin/node
npm: 6.14.4 - /usr/local/bin/npm
Python: 2.7.16 - /usr/bin/python
Chrome: 85.0.4183.102
Safari: 13.1.2
gatsby: ^2.24.55 => 2.24.55
gatsby-link: ^1.6.40 => 1.6.46
gatsby-plugin-react-helmet: ^3.3.10 => 3.3.10
gatsby-source-contentful: ^2.3.42 => 2.3.43
gatsby-cli: 2.12.93
浏览器:

OS: macOS 10.15.6
CPU: (8) x64 Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz
Shell: 5.7.1 - /bin/zsh
Node: 12.16.2 - /usr/local/bin/node
npm: 6.14.4 - /usr/local/bin/npm
Python: 2.7.16 - /usr/bin/python
Chrome: 85.0.4183.102
Safari: 13.1.2
gatsby: ^2.24.55 => 2.24.55
gatsby-link: ^1.6.40 => 1.6.46
gatsby-plugin-react-helmet: ^3.3.10 => 3.3.10
gatsby-source-contentful: ^2.3.42 => 2.3.43
gatsby-cli: 2.12.93
npmPackages:

OS: macOS 10.15.6
CPU: (8) x64 Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz
Shell: 5.7.1 - /bin/zsh
Node: 12.16.2 - /usr/local/bin/node
npm: 6.14.4 - /usr/local/bin/npm
Python: 2.7.16 - /usr/bin/python
Chrome: 85.0.4183.102
Safari: 13.1.2
gatsby: ^2.24.55 => 2.24.55
gatsby-link: ^1.6.40 => 1.6.46
gatsby-plugin-react-helmet: ^3.3.10 => 3.3.10
gatsby-source-contentful: ^2.3.42 => 2.3.43
gatsby-cli: 2.12.93
npmGlobalPackages:

OS: macOS 10.15.6
CPU: (8) x64 Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz
Shell: 5.7.1 - /bin/zsh
Node: 12.16.2 - /usr/local/bin/node
npm: 6.14.4 - /usr/local/bin/npm
Python: 2.7.16 - /usr/bin/python
Chrome: 85.0.4183.102
Safari: 13.1.2
gatsby: ^2.24.55 => 2.24.55
gatsby-link: ^1.6.40 => 1.6.46
gatsby-plugin-react-helmet: ^3.3.10 => 3.3.10
gatsby-source-contentful: ^2.3.42 => 2.3.43
gatsby-cli: 2.12.93

更新盖茨比链接。在
packages.json
change中:

gatsby链接:^1.6.40=>1.6.46

gatsby链接:^2.4.13=>2.4.13

看起来像是
盖茨比链接
正在尝试导入
历史
,但不存在这样的模块。这种情况可能可以通过删除
node\u modules
文件夹并重新安装依赖项,然后在重新运行
gatsby develope
之前运行
gatsby clean
来解决。