architect: Can no longer deploy single function in 4.5.2
➜ npx deploy src/http/get-index
app ⌁ arcauth
region ⌁ us-west-2
profile ⌁ default
version ⌁ 4.5.2
Error TypeError: expected Array but received String "src/http/get-index" for params.pathToCode
Rolling back to 4.4.12, I don’t get this issue.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 24 (24 by maintainers)
I can replicate! (Thus far I haven’t seen
TypeError: Cannot read property 'id' of undefined
though.)This is a new issue, so let’s move this over to #263
Thanks for those repro steps, will track this down!
Just followed https://arc.codes/quickstart/install using
4.5.5
: success. I must be doing something dumb! Lemme report back if I work out what that is 🙄Hey @filmaj @alexdilley: fixes for these (and some other) issues are here: https://github.com/arc-repos/architect/tree/258
Created and deployed to over 20 arc projects in testing these fixes, but would very much appreciate your help validating them!
(Please make sure that if you’re using a test project that your app name matches what’s in your Functions’ package[-lock].json files.)
oh… thats expected actually. the former form request you to call res.