-
Notifications
You must be signed in to change notification settings - Fork 519
Deploying web app with NodeServices to Azure #1377
Comments
This error:
... implies that it's looking for a file at Also it's quite strange to put that file under |
It's possible then that the |
Thank you again. The first problem was with deployment. It was necessary to set "copy always" in the properties. The second problem was about the name. It needs the whole name with ".js". And now there is the next problem:
What could be the reason that the node.js-module is not intsalled? |
@gismountains having just solved this very problem, your node_modules folder is most likely not being deployed. In my build script, I run xcopy to copy the node_modules folder to the publish directory, after running Edit: Fixed a typo |
I am also facing the same issue. Is it resolved ? If yes can any one tell me how it is resolved? |
@arupbaroi There isn't anything to resolve; it's been working all along :) If you think you've found a problem, could you post repro steps (as a new issue)? |
@SteveSandersonMS I faced the same problems mentioned above. After resolving those, now I'm stuck with following error:
Any help would be appreciated. |
I'm trying to deploy the following application on Azure Web App with NodeServices:
https://code.msdn.microsoft.com/How-to-export-HTML-to-PDF-c5afd0ce
It works great localy, but it do not work on the Azure Web App.
I also started a new project and followed the steps. It also works locally but not in Azure.
Azure Insights tells:
Cannot find module 'D:\home\site\wwwroot\pdf'
Error: Cannot find module 'D:\home\site\wwwroot\pdf' at Function.Module._resolveFilename (module.js:469:15) at Function.Module._load (module.js:417:25) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at D:\local\Temp\aoh0wv2g.nxy:109:34 at IncomingMessage. (D:\local\Temp\aoh0wv2g.nxy:133:38) at emitNone (events.js:86:13) at IncomingMessage.emit (events.js:185:7) at endReadableNT (_stream_readable.js:974:12) at _combinedTickCallback (internal/process/next_tick.js:74:11)
But I do not know what to do. Some suggestion?
The text was updated successfully, but these errors were encountered: