Reputation: 441
I had to make a small modification in a dependency of my project, when I try it locally it works perfect. But when it is executed in app engine I have an error because it doesn't update the changes I made in the dependency. Is there a way to update dependencies when doing "gcloud app deploy"?
Upvotes: 0
Views: 222
Reputation: 1283
First, you should update your dependencies in package.json
, so that when you deploy your app those dependencies will be automatically installed by Node.js runtime.
There are some limitations that you should keep in mind. For example, your dependencies should be Linux-compatible. Check this out with the version of your dependencies. Also, if you have specified engines
field in your package.json
make sure it is a compatible Node.js version. You can check the compatible version in App Engine documentation. Helpful link to troubleshoot your issue:
Upvotes: 1