-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple node_modules Installed But Not Copied to Website Production Environment #409
Comments
Still not solved on azure app service, linux instance. |
@capraynor .. thanks for reporting … can you help me repro this issue by providing little more information as following? I'm also trying to repro this with my sample app, but it is always nice to compare apple to apple, so the above information will help a lot troubleshooting this problem |
@arroyc I'm having the same issue in my project. Oryx logs that it's installed the node modules but it never moves them to the destination directory. Below is my build logs. Efter deployment there are no node_modules or node_modules.tar.gz in home/site/wwwroot.
|
@capraynor thanks for detail logs, I was able to repro the issue and working on the fix. In the mean time I would suggest you to build the app locally and use deploy the built code to azure app service. You can use vs code to do it. Let me know if this works till we get a fix. |
@arroyc Sorry that is not my log. The app service is located in Central US. @MrTwiggles |
This should be solved by now. Let us know if you can still this problem. |
There should be multiple node_modules in my project when the npm install command completed.
But not all the node_modules directory correctly copied to the production website directory.
Repro Steps:
This is my example project.
https://github.com/capraynor/kudu-bug-multiple-node-modules-not-copied-correctly
When I deployed this project to azure web app, I cannot see /home/site/wwwroot/another-directory/node_modules using ssh in advanced tools.
But I can see /tmp/the-hash/another-directory/node_modules using Bash in advanced tools
I really have no idea on this. Could you help us to figure this out? Thanks!
I'm using the following technologies:
Azure app service Local Git
Node.js 10.15
Azure Linux App Service
Looking forward for your reply!
The text was updated successfully, but these errors were encountered: