build:prod:deploy command failed
See original GitHub issueI’m submitting a…
Bug report
In package
ng-toolkit/serverless
Current behavior
ran ng add @ng-toolkit/serverless --provider firebase --firebaseProject cmacapp-b7482
ran yarn build:prod:deploy
saw:
Error: An unexpected error has occurred.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! my-app@0.0.0 deploy: `cp-cli dist/ functions/dist/ && cd functions && npm install && firebase deploy`
npm ERR! Exit status 2
npm ERR!
npm ERR! my-app@0.0.0 deploy: `cp-cli dist/ functions/dist/ && cd functions && npm install && firebase deploy`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the my-app@0.0.0 deploy script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Nella\AppData\Roaming\npm-cache\_logs\2018-05-27T17_50_19_964Z-debug.log
error Command failed with exit code 2.info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Expected behavior
I would expect the deploy to be successful
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Deployment error build.command failed - Netlify Support Forums
Already for weeks I am trying to deploy my repo GitHub - ilukin89/MovieParadise-client: movie database website based on React (redux branch) on Netlify, ......
Read more >netlify deploy issue, "build.command" failed - Stack Overflow
Its says npm not able to find a file but do not know which one. Can you run the production build of website...
Read more >Identify and Fix Build and Deployment Errors in Your Angular ...
In this guide, you will learn how to spot some of the most common build and deployment errors and how to resolve them...
Read more >Deployment - Angular
The command builds your application and uploads the production assets to Firebase. In the table below, you can find a list of packages...
Read more >Command failed with exit code 1: npm run build - Netlify fix 2020
Udemy Courses:- 9 React Projects on Udemy - https://bit.ly/2D83M8c- 9 React Projects on Gumroad ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @maciejtreder I’m sorry I haven’t gotten back around to testing this. I’ll make sure to do it this evening. Thank you for your excellent work on bringing this functionality to us! 🥂
Repo: https://github.com/markgoho/myApp
Full log: