Webstorm debug App Engine Flexible NodeJs app.

387 views
Skip to first unread message

Sudhanshu Gaur

unread,
Jun 20, 2018, 5:37:13 PM6/20/18
to Google App Engine
I am trying to debug my App Engine Flexible app using Webstorm, I read these two docs https://cloud.google.com/tools/intellij/docs/create-flexible#framework and https://cloud.google.com/tools/intellij/docs/deploy-flex but after installing plugin when I go to tools section Google Cloud tools it only show me these three options

but where is the option to deploy it on Google App Engine Flexible environment ? Can anyone please help me none of the above two tutorials working for me and it's been weeks now.



Kenworth (Google Cloud Platform)

unread,
Jun 22, 2018, 1:23:30 PM6/22/18
to google-a...@googlegroups.com
The tutorials you pointed out are for IntelliJ IDEA not for WebStorm. Here is the thread showing the supported IDE's and features available (WebStorm does not currently support deployment):

To deploy a Node.js application, you can use the gcloud tool on the Google Cloud SDK. For example: 

gcloud app deploy


Sudhanshu Gaur

unread,
Jun 23, 2018, 7:11:42 AM6/23/18
to Google App Engine
Thanks a lot, just one thing I want to ask, when I am trying to deploy my Nodejs app then in `Filesystem Jar or WAR file` what should I select because When i deployed my app the I got Error 

"Step #0: Checking for Node.js.
 Step #0: node.js checker: No package.json file. Step #0: WARNING: Your package.json does not specify a supported Node.js version. Please pin your application to a major version of the Node.js runtime. To learn more, visit https://cloud.google.com/appengine/docs/flexible/nodejs/runtime
 Step #0: WARNING: Your package.json does not specify a supported Node.js version. Please pin your application to a major version of the Node.js runtime. To learn more, visit https://cloud.google.com/appengine/docs/flexible/nodejs/runtime
 
Step #0: Application detection failed: Error: node.js checker: Neither "start" in the "scripts" section of "package.json" nor the "server.js" file were found."

George (Cloud Platform Support)

unread,
Jun 23, 2018, 6:38:02 PM6/23/18
to Google App Engine
The error message points to lacking configuration of the node.js version in the package.json file. You need to set value for your node.js version with an entry similar to: 

{
  "engines": {
    "node": "9.x"
  }
}

You may gather more detail from the "Node.js version" sub-chapter of the "The Node.js Runtime" documentation page. 

Sudhanshu Gaur

unread,
Jun 24, 2018, 5:16:38 AM6/24/18
to Google App Engine
I have already specified that in my package.json file

"engines": {
"node": ">=4.3.2"
}

George (Cloud Platform Support)

unread,
Jun 24, 2018, 2:14:29 PM6/24/18
to Google App Engine
The Node.js runtime now defaults to the latest Node.js v8 LTS release. What happens if you simply specify this version? Alternatively, it may be worth trying to specify >=4.x, if you want to get the current latest version; in any case, two significant numbers, "x.y", and not 3. 

Sudhanshu Gaur

unread,
Jun 24, 2018, 5:17:49 PM6/24/18
to Google App Engine
I am now not setting "engine" parameter but still getting same error.

Please help me to resolve this issue.

Sudhanshu Gaur

unread,
Jun 24, 2018, 5:27:35 PM6/24/18
to Google App Engine
Just tell me one thing, where I am specifying the path of package.json file in IntellIJ ?? If I am specifying path of package.json in deployment archieve then as deployment asks for File System JAR/WAR FIle, then how can it take path of package.json from there because as my NodeJs app does not have any JAR/WAR file.

Can you please help me resolve this issue as soon as possible. Thanks

Sudhanshu Gaur

unread,
Jun 25, 2018, 2:51:40 PM6/25/18
to Google App Engine
I am still waiting ??

Kenworth (Google Cloud Platform)

unread,
Jun 26, 2018, 10:15:46 AM6/26/18
to Google App Engine
I apologize for not being more clearer previously. Deploying GAE Flex app is not currently supported on IDEs other than IntelliJ IDEA - Ultimate and Community. Webstorm is not currently supported. We also do not have visibility towards the mentioned IDEs.

Unfortunately, this is beyond the scope of Google Groups which is reserved for general discussion of GCP's products and services. For further technical assistance, I recommend you post on Stack Exchange which uses a popular question-and-answer platform and it hosts a number of sites, including StackOverflow. Please visit our community support page for list of StackOverflow tags we monitor, or this page showing free different support resources and paid 1-on-1 technical support option.

Sudhanshu Gaur

unread,
Jun 26, 2018, 3:11:17 PM6/26/18
to Google App Engine
Now I am trying in Intellij-Community, tell me why I am facing the issue ??

Sudhanshu Gaur

unread,
Jun 28, 2018, 11:38:41 AM6/28/18
to Google App Engine
Are you there ?

Kenworth (Google Cloud Platform)

unread,
Jun 28, 2018, 4:15:46 PM6/28/18
to Google App Engine
Thank you for trying to switch to a supported IDE. 

However, this is beyond the scope of this thread and should be posted to StackOverflow which we also monitor. When you do, make sure you add 'intellij-idea' and/or 'google-cloud' tags, include error logs showing the issue, and possibly provide reproducible steps.

Please feel free to drop the StackOverflow link here so it may possibly help other users experiencing the same issue.
Reply all
Reply to author
Forward
0 new messages