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 bug
When using serverless offline, if the port is not explicitly specified in workspace.json it will fallback to the default in libs/nx-serverless/src/builders/offline/schema.json which is "7777", not 7777, which causes the above schema failure.
To Reproduce
In any project using nx-serverless, do not specify port in the options for the serve command in workspace.json
Attempt to run nx serve
Command fails with schema error
Expected behavior
Serverless offline is started on the default port of 7777.
Screenshots
N/A
Check which provider is affected:
[x] AWS
[?] Azure
[?] Google Cloud Platform
Check which framework is affected:
[] Angular
[] Nodejs
[x] Serverless
[] Lambda
[] Infrastructure as a code
Additional context
I have a fix for this and am opening this issue for discussion before I open the PR.
The text was updated successfully, but these errors were encountered:
Describe the bug
When using serverless offline, if the port is not explicitly specified in
workspace.json
it will fallback to the default inlibs/nx-serverless/src/builders/offline/schema.json
which is"7777"
, not7777
, which causes the above schema failure.To Reproduce
port
in the options for theserve
command inworkspace.json
nx serve
Expected behavior
Serverless offline is started on the default port of 7777.
Screenshots
N/A
Check which provider is affected:
[x] AWS
[?] Azure
[?] Google Cloud Platform
Check which framework is affected:
[] Angular
[] Nodejs
[x] Serverless
[] Lambda
[] Infrastructure as a code
Additional context
I have a fix for this and am opening this issue for discussion before I open the PR.
The text was updated successfully, but these errors were encountered: