首页 > 解决方案 > 任务“服务器”不在您的 gulpfile 中

问题描述

运行JAMstack时出现错误:

$ 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.

如何解决这个问题呢?

标签: javascriptnode.jsgulp

解决方案


推荐阅读