Skip to main content
Version: 9.x

pnpm start

别名:run start

¥Aliases: run start

运行在其 scripts 对象的包的 start 属性中指定的任意命令。如果在 scripts 对象上未指定 start 属性,它将尝试默认运行 node server.js,如果两者都不存在,则会失败。

¥Runs an arbitrary command specified in the package's start property of its scripts object. If no start property is specified on the scripts object, it will attempt to run node server.js as a default, failing if neither are present.

该属性的预期用途是指定启动程序的命令。

¥The intended usage of the property is to specify a command that starts your program.