Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/node.js/37.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
Javascript 任务';服务器';不在你的肚子里_Javascript_Node.js_Gulp - Fatal编程技术网

Javascript 任务';服务器';不在你的肚子里

Javascript 任务';服务器';不在你的肚子里,javascript,node.js,gulp,Javascript,Node.js,Gulp,我在运行时出错: 如何解决此问题?您收到的错误是什么?当我在终端中运行“纱线开始”命令以运行项目时,它会给我之前发送的错误。 $ yarn start yarn run v1.19.1 $ gulp server [05:04:13] Using gulpfile /jamstack.org/gulpfile.js [05:04:13] Task 'server' is not in your gulpfile [05:04:13] Please check the documentation

我在运行时出错:


如何解决此问题?

您收到的错误是什么?当我在终端中运行“纱线开始”命令以运行项目时,它会给我之前发送的错误。
$ yarn start
yarn run v1.19.1
$ gulp server
[05:04:13] Using gulpfile /jamstack.org/gulpfile.js
[05:04:13] Task 'server' is not in your gulpfile
[05:04:13] Please check the documentation for proper gulpfile formatting
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.