

Note that this file isn't added to the remote git repository, so if you do a pull from the web site's git repository you won't get this file. When an app.js or server.js file is detected, a web.config file will be created for the deployment that contains the configuration information required by iisnode. Instead, the web site looks for the presence of an app.js or server.js file in your deployment and will enable node functionality if either of those files are present. If you've poked around the portal interface for web sites, you may have noticed that there's a setting to enable PHP, but not one for node. I am not sure what am i missing, any help would be appreciated TypeError: Cannot read property 'method' of undefinedĪt Function.handle (C:\Users\anirudh\Documents\GitHub\Sample\node_modules\loopback\node_modules\express\lib\router\index.js:138:33)Īt EventEmitter.handle (C:\Users\anirudh\Documents\GitHub\Sample\node_modules\loopback\node_modules\express\lib\application.js:173:10)Īt app (C:\Users\anirudh\Documents\GitHub\Sample\node_modules\loopback\node_modules\express\lib\express.js:38:9)Īt Object. " i find the following error C:\Users\anirudh\Documents\GitHub\Sample\node_modules\loopback\node_modules\express\lib\router\index.js:138ĭebug('dispatching %s %s', req.method, req.url)

"loopback-datasource-juggler": "^2.19.0",Īfter these two changes when i run "node.
