Once youβve completed the work requested there, please provide an answer to the questions at the bottom of the post (you can paste them here, to keep them in this thread), and weβll be able to help you as you debug further, once youβve given us that info.
Hi @shelcia and @dhatGuy welcome to the Netlify forums! Iβm glad youβre here. @dhatGuy Thank you for providing that solution. Please give it a go and let us know if it helped resolve your issues. Happy building!
# Production context: all deploys from the Production branch
# set in your siteβs Branches settings in the UI will inherit
# these settings. You can define environment variables
# here but we recommend using the Netlify UI for sensitive
# values to keep them out of your source repository.
[context.production]
publish = "output/"
command = "make publish"
environment = { NODE_VERSION = "16.17.0" }
# Here is an example of how to define context-specific
# environment variables. Be mindful when using this
# option and avoid committing sensitive values to public
# source repositories.
[context.deploy-preview.environment]
NOT_PRIVATE_ITEM = "not so secret"
# Branch Deploy context: all deploys that are not from
# a pull/merge request or from the Production branch
# will inherit these settings.
[context.branch-deploy.environment]
NODE_ENV = "development"
# Dev context: environment variables set here
# are available for local development environments
# run using Netlify Dev. These values can be
# overwritten on branches that have a more specific
# branch context configured.
[context.dev.environment]
NODE_ENV = "development"
# Specific branch context: all deploys from
# this specific branch will inherit these settings.
[context.staging.environment] # βstagingβ is a branch name
NODE_ENV = "development"