更新时间:2022-12-11 17:25:41
您只能列出 Node.js
依赖关系。来自声明和管理依赖项(重点是我的):
You can only list Node.js
dependencies that way. From Declaring and managing dependencies (emphasis mine):
您可以将任何与Linux兼容的 Node.js软件包与App Engine
flexible一起使用环境,包括需要本机(C)
扩展名的软件包。
You can use any Linux-compatible Node.js package with App Engine flexible environment, including packages that require native (C) extensions.
您可以使用 Node.js
(在列表中至少为 cmake
),但只能在灵活的环境中通过自定义运行时进行。来自关于自定义运行时间:
You can use dependencies other than Node.js
(at least cmake
in your list) but only in the flexible environment, via a custom runtime. From About Custom Runtimes:
自定义运行时允许您定义新的运行时环境,其中
可能包括语言解释程序或
应用程序服务器之类的其他组件。 / p>
Custom runtimes allow you to define new runtime environments, which might include additional components like language interpreters or application servers.
另请参见构建自定义运行时。