question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Weird issue with deploy

See original GitHub issue

Describe the bug When using the .arc-file below, and creating - everything get’s properly created. However, when deploying, only the lambda phonetree-staging-post-message-000idx gets updated as evidenced by the screenshot below. The lambda phonetree-staging-post-start somehow gets confused and tries to update phonetree-staging-get-start as evidenced by the terminal screenshot below which is then labelled as “creating…” (since it doesn’t exist).

This persists across both AWS regions (tested in eu-north-1 and eu-west-1) and across multiple npx inventory nuke and re-installs of architect.

To Reproduce

  1. Use the attached .arc-file and arc@5.9.23 on node 10.15.3.
  2. Run npx create
  3. Change message in phonetree-staging-post-start.
  4. Try to update via npx deploy

Expected behavior I expect phonetree-staging-post-start to update correctly.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: MacOS Mojave 10.14.5
  • arc@5.9.23
Screenshot 2019-07-31 at 18 00 55

.arc:

@aws
region eu-west-1
profile default

@app
phonetree

@http 
post /start
post /message/:idx

@tables
phonetree
  phone *String
  date **Number

AWS Console: Screenshot 2019-07-31 at 18 06 42

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
buffpojkencommented, Aug 1, 2019

That was indeed the case and it worked perfectly once I updated the name in package-lock.json. Many thanks for the quick pointer!

0reactions
buffpojkencommented, Aug 2, 2019

No worries, the superquick reply cleared it up at once! Looking forward to taking Arc 6 for a spin!

Read more comments on GitHub >

github_iconTop Results From Across the Web

10 Things You Can Do If You Have A Bad Deploy
10 Things You Can Do If You Have A Bad Deploy · Check the connection strings · Check the CORS settings · Check...
Read more >
Weird issue where I have to deploy twice every time [HELP]
Since this started I always have to deploy twice for it to work (which results in the app being 'dead' for a couple...
Read more >
Weird behavior if I try to deploy my project on my phone, but it ...
1. Clean and rebuilt · 2. Install some .NET Compilers in my Xamarin Android Project · 3. Install the Xamarin.AndroidX dependencies (That works ......
Read more >
react- create my create app deploy issues weird - Stack Overflow
First start with deploying a Hello World using index.html, if that works, do npm run build and deploy the build output same way...
Read more >
[Support Guide] Frequently encountered problems during builds
In 99% of cases, it means we don't have permission to clone the repository you are trying to deploy.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found