我正在尝试使gatsby项目在新系统上工作,但是在运行gatsby development时遇到问题。它似乎与我向项目添加(https://www.npmjs.com/package/gatsby-plugin-use-dark-mode)的npm软件包有关。终端输出。
ERROR
UNHANDLED REJECTION Unable to find plugin "gatsby-plugin-use-dark-mode". Perhaps you need to install its package?
Error: Unable to find plugin "gatsby-plugin-use-dark-mode". Perhaps you need to install its package?
load.js:109 resolvePlugin [gatsby-site]/[gatsby]/dist/bootstrap/load-plugins/load.js:109:11
load.js:153 processPlugin [gatsby-site]/[gatsby]/dist/bootstrap/load-plugins/load.js:153:20
load.js:172 config.plugins.forEach.plugin [gatsby-site]/[gatsby]/dist/bootstrap/load-plugins/load.js:172:20
Array.forEach
load.js:171 module.exports [gatsby-site]/[gatsby]/dist/bootstrap/load-plugins/load.js:171:20
index.js:55 module.exports [gatsby-site]/[gatsby]/dist/bootstrap/load-plugins/index.js:55:19
index.js:167 module.exports [gatsby-site]/[gatsby]/dist/bootstrap/index.js:167:34