You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
./node_modules/@architect/hydrate/src/hydrate.js:123
if (lambdaHasManifest && lambda.config.runtime.startsWith('nodejs')) {
^
TypeError: Cannot read properties of undefined (reading 'runtime')
at ./node_modules/@architect/hydrate/src/hydrate.js:123:46
v10.10.3
If my app.arc contains two paths for a single source dir, ie:
/foo
method post
src src/http/post-foo
/foo-noauth
method post
src src/http/post-foo
I get the above error for direct deploys, but a normal deploy is fine. The lambda object has no config member, as in the above scenario it's an array of configs. Presumably something isn't calling .flatten() or similar for direct deploys.
Removing the second path's setup works as a workaround in dev.
Steps to reproduce
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error that says '....'
Expected behavior
A function should be deployed per normal / full deploy
Screenshots
If applicable, add screenshots to help explain your problem
Desktop
Please complete the following information (if appropriate):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Mobile
Please complete the following information (if appropriate):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context or notes about the problem here
The text was updated successfully, but these errors were encountered:
Describe the issue
./node_modules/@architect/hydrate/src/hydrate.js:123
if (lambdaHasManifest && lambda.config.runtime.startsWith('nodejs')) {
^
TypeError: Cannot read properties of undefined (reading 'runtime')
at ./node_modules/@architect/hydrate/src/hydrate.js:123:46
v10.10.3
If my app.arc contains two paths for a single source dir, ie:
/foo
method post
src src/http/post-foo
/foo-noauth
method post
src src/http/post-foo
I get the above error for direct deploys, but a normal deploy is fine. The lambda object has no config member, as in the above scenario it's an array of configs. Presumably something isn't calling .flatten() or similar for direct deploys.
Removing the second path's setup works as a workaround in dev.
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
A function should be deployed per normal / full deploy
Screenshots
If applicable, add screenshots to help explain your problem
Desktop
Please complete the following information (if appropriate):
Mobile
Please complete the following information (if appropriate):
Additional context
Add any other context or notes about the problem here
The text was updated successfully, but these errors were encountered: