I changed dependencies and engines on my package.json but changes are not reflecting when i try Deploy or Force Rebuild and Deploy.
Ho to fix it?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Sign up for Infrastructure as a Newsletter.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Figured out.
Dockerfile had node as latest version. Updated that to version i need and problem went away.
Thanks.
Responses to your points
The build fails because nodejs engined doesnt get degraded per package.json dependency and automatically gets rollbacked to previous build.
No change to branch. Same branch used as previously successful deploy
Not pinned.
Raising ticket now.
Thanks.
👋 @ashishn
It sounds like you have made changes to your package.json file, but they are not reflecting when you try to deploy or rebuild and deploy.
Here are a few steps you can try to resolve this issue:
Ensure that your build and deploy are succeeding. You can check the build and deployment logs for any errors that may be preventing your changes from being deployed.
Check that the branch you submitted your changes to is the same as the branch set in the component settings. If they are different, your changes may not be reflected in the deployed version of your app.
Make sure that your app is not pinned to a specific commit. If it is, your changes may not be reflected in the deployed version.
If you are still having issues after trying these steps, please submit a ticket to our support team for further assistance. They will be happy to help you troubleshoot the issue and get your changes deployed successfully.