gridsome develop
执行命令时,我不断收到 Gridsome 启动器的错误。
到目前为止,我已经尝试了 Grisdome 推荐的默认启动器,现在是 Contentful Starter,并且错误不断出现在终端中。
这是我在使用 Contentful 启动器时遇到的错误:
Initializing plugins...
Error: Request failed with status code 404
at createError (/var/www/public/my-project/node_modules/contentful/dist/contentful.node.js:886:15)
at settle (/var/www/public/my-project/node_modules/contentful/dist/contentful.node.js:1049:12)
at Unzip.handleStreamEnd (/var/www/public/my-project/node_modules/contentful/dist/contentful.node.js:294:11)
at Unzip.emit (events.js:215:7)
at endReadableNT (_stream_readable.js:1183:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
这是默认启动器的错误:
Error
at afterWriteDispatched (internal/stream_base_commons.js:150:25)
at writeGeneric (internal/stream_base_commons.js:141:3)
at Socket._writeGeneric (net.js:770:11)
at Socket._write (net.js:782:8)
at doWrite (_stream_writable.js:431:12)
at writeOrBuffer (_stream_writable.js:415:5)
at Socket.Writable.write (_stream_writable.js:305:11)
at Socket.Writable.end (_stream_writable.js:594:10)
at Socket.end (net.js:574:31)
at handleInput (/var/www/public/myblog/node_modules/imagemin-pngquant/node_modules/execa/index.js:87:17)