Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/vue.js/6.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
Node.js Gridsome开发请求失败,状态代码为404_Node.js_Vue.js_Npm_Gridsome - Fatal编程技术网

Node.js Gridsome开发请求失败,状态代码为404

Node.js Gridsome开发请求失败,状态代码为404,node.js,vue.js,npm,gridsome,Node.js,Vue.js,Npm,Gridsome,在执行Gridsome develop命令时,Gridsome启动器不断出错 我已经尝试了Grisdome推荐的默认启动程序,现在是满足的启动程序,到目前为止,终端中不断出现错误 以下是我在Contentful starter中遇到的错误: Initializing plugins... Error: Request failed with status code 404 at createError (/var/www/public/my-project/node_modules/co

在执行
Gridsome develop
命令时,Gridsome启动器不断出错

我已经尝试了Grisdome推荐的默认启动程序,现在是满足的启动程序,到目前为止,终端中不断出现错误

以下是我在Contentful starter中遇到的错误:

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)

您必须在gridsome.config.js中添加内容丰富的
SPACE\u ID
ACCESS\u TOKEN
。没有这一点,你将无法继续。