简体   繁体   中英

Deploying an node app to google App engine

在此处输入图像描述

I succeeded deploy to google app engine but there is an error "node: --http-server-default-timeout= is not allowed in NODE_OPTIONS" What this means? I don't know what to do

The error indicates that you are using --http-server-default-timeout somewhere in the options of you app. As a workaround you can add an empty NODE_OPTIONS to you app.yaml by adding the following:

env_variables: 
    NODE_OPTIONS: ""

Keep in mind that this will overwrite any NODE_OPTIONS you had elsewhere.

NOTE : I did some investigating and found that this notation is available for Node.js after version 12.4.0 as per this documentation , so maybe the root cause of your issue is that there is some version mismatch on your runtime, dependencies or something related to that.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM