Hi, While trying to build the MTA Project from mta.yaml file, I am getting the below error. any idea on how to resolve this?
npm ERR! cipm can only install packages with an existing package-lock.json or npm-shrinkwrap.json with lockfileVersion >= 1. Run an install with npm@5 or later to generate it, then try again.
did you successfully execute the previous steps in the exercise (manually deploying using cf push)?
Also, did you use the solution GitHub repository when starting to build your application as suggested in the Learning Journey?
If not, you could try to select the corresponding solution branch to your current exercise there
and then replace the package.json and package-lock.json files in your project with the respective files from the GitHub repository and then retry the build and deployment steps.
If that doesn't work, it is hard to tell from the distance what the issue might be. Easiest solution would be to use the solution/5_deploy_manually branch from the GitHub and go on from there. If you used the GitHub repository from the start, you could just run command
git checkout solution/5_deploy_manually
within the terminal in your project and then go on from there.