Deploying with Heroku
See original GitHub issueGetting the module worked perfectly from my local environment.
When deploying to Heroku, it is failing when the sentry-cli
interacts with the git repo (or so I think). Can you take a look at the error log from Heroku and see what the issue is? I’ve been Googling like crazy for the past two days and tried many possible fixes (eg: resetting auths, github permissions and resetting it, etc…) not getting anywhere with it.
If someone can give insight/tip on what the issue is, I would truly appreciate it! 😃
Here’s the output from Heroku (FYI ***
is used to mask sensitive info below):
ERROR in Sentry CLI Plugin: Command failed: /tmp/build_5410c600/node_modules/@sentry/cli/sentry-cli releases set-commits *** --auto
INFO 2021-03-12 17:34:21.313599104 +00:00 sentry-cli was invoked with the following command line: "/tmp/build_5410c600/node_modules/@sentry/cli/sentry-cli" "releases" "set-commits" "***" "--auto"
INFO 2021-03-12 17:34:21.492554660 +00:00 Resolving HEAD (***/webapp@HEAD)
error: could not find repository from '.'; class=Repository (6); code=NotFound (-3)
FATAL Nuxt build error
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Deploying with Git - Heroku Dev Center
To deploy your app to Heroku, use the git push command to push the code from your local repository's main branch to your...
Read more >Heroku Deploy – How to Push a Web App or Site to Production
Step 1 - Create the project · Step 2 - Version control system · Step 3 - Link the repository with Heroku ·...
Read more >Deploy your first App with Heroku and Node.js - YouTube
In this Tutorial, I walk you through how to deploy a simple Node.js app to Heroku.Here is the source code for the app...
Read more >Deploying a Back-End with Heroku - Codecademy
Click the Deploy Branch button to manually deploy your app. You will see a log that scrolls through the build processes. When it...
Read more >Deploying with Heroku - Apollo GraphQL Docs
Again, make sure you have Heroku CLI installed. Then, log into the Heroku CLI from your terminal. ... $ git add . ......
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
This is a follow up to my issue – I had to update the
nuxt.config.js
file to reflect:I’ve no idea what the issue is with not being able to find the repository (it looked right) but I’m content with the above setup and leaving this issue open if someone wants to tackle this if anybody needs
attachCommits
to betrue
.Then it’s expected that
attachCommits
doesn’t work.With the latest version of the module, you can manually pass the commit SHA to get commits to attach without a
.git
directory. See https://github.com/nuxt-community/sentry-module/issues/334#issuecomment-902572261