“Attribute 'program' does not exist” for basic node.js project

前端 未结 12 1482
南方客
南方客 2021-01-31 13:08

I created simple node.js application (source code from here https://azure.microsoft.com/en-us/blog/visual-studio-code-and-azure-app-service-a-perfect-fit/)

var h         


        
12条回答
  •  萌比男神i
    2021-01-31 13:47

    I believe that you need ${workspaceRoot}/server.js, not ${workspaceRoot}/app.js for program. The code you're using doesn't have an app.js, that's what that (poorly worded) error is telling you.

提交回复
热议问题