Angular
Angular
Has anyone been able to get an Angular project to launch on the shared dev server?
I was trying the CSR tutorial.
**When I route to the extension/Angular/Main, I seem to get this error:**
Traceback (most recent call last):
File "/home/user/sdk/.env/lib/python3.11/site-packages/tornado/web.py", line 1790, in _execute
result = await result
^^^^^^^^^^^^
File "/home/user/sdk/.env/lib/python3.11/site-packages/tornado/web.py", line 2688, in get
self.absolute_path = self.validate_absolute_path(self.root, absolute_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/sdk/.env/lib/python3.11/site-packages/tornado/web.py", line 2900, in validate_absolute_path
raise HTTPError(404)
tornado.web.HTTPError: HTTP 404: Not Found
**Also, when trying to build the project, there is a bundle error after adding q2-tecton-sdk and zone.js to the polyfills.ts file:**
✘ [ERROR] bundle initial exceeded maximum budget. Budget 1.00 MB was not met by 314.32 kB with a total of 1.31 MB.
**Also, locally I've installed node version 22.14.0, but when running q2 run, it seems to try to build with v14.21.3 and I get this error:**
2025-03-12T13:28:17.144 q2_sdk.general INFO bash -c "cd Angular/frontend && source /opt/nvm/nvm.sh || true && nvm install 14 && nvm use 14 && yarn && yarn run build"
2025-03-12T13:28:17.145 asyncio DEBUG run shell command 'bash -c "cd Angular/frontend && source /opt/nvm/nvm.sh || true && nvm install 14 && nvm use 14 && yarn && yarn run build"'
2025-03-12T13:28:17.146 asyncio DEBUG process 'bash -c "cd Angular/frontend && source /opt/nvm/nvm.sh || true && nvm install 14 && nvm use 14 && yarn && yarn run build"' created: pid 525352
v14.21.3 is already installed.
Now using node v14.21.3 (npm v6.14.18)
Now using node v14.21.3 (npm v6.14.18)
yarn install v1.22.22
[1/4] Resolving packages...
[2/4] Fetching packages...
error @angular/common@19.2.1: The engine "node" is incompatible with this module. Expected version "^18.19.1 || ^20.11.1 || >=22.0.0". Got "14.21.3"
error Found incompatible module.
Has anyone been able to get an Angular project to launch on the shared dev server?
I was trying the CSR tutorial.
**When I route to the extension/Angular/Main, I seem to get this error:**
Traceback (most recent call last):
File "/home/user/sdk/.env/lib/python3.11/site-packages/tornado/web.py", line 1790, in _execute
result = await result
^^^^^^^^^^^^
File "/home/user/sdk/.env/lib/python3.11/site-packages/tornado/web.py", line 2688, in get
self.absolute_path = self.validate_absolute_path(self.root, absolute_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/sdk/.env/lib/python3.11/site-packages/tornado/web.py", line 2900, in validate_absolute_path
raise HTTPError(404)
tornado.web.HTTPError: HTTP 404: Not Found
**Also, when trying to build the project, there is a bundle error after adding q2-tecton-sdk and zone.js to the polyfills.ts file:**
✘ [ERROR] bundle initial exceeded maximum budget. Budget 1.00 MB was not met by 314.32 kB with a total of 1.31 MB.
**Also, locally I've installed node version 22.14.0, but when running q2 run, it seems to try to build with v14.21.3 and I get this error:**
2025-03-12T13:28:17.144 q2_sdk.general INFO bash -c "cd Angular/frontend && source /opt/nvm/nvm.sh || true && nvm install 14 && nvm use 14 && yarn && yarn run build"
2025-03-12T13:28:17.145 asyncio DEBUG run shell command 'bash -c "cd Angular/frontend && source /opt/nvm/nvm.sh || true && nvm install 14 && nvm use 14 && yarn && yarn run build"'
2025-03-12T13:28:17.146 asyncio DEBUG process 'bash -c "cd Angular/frontend && source /opt/nvm/nvm.sh || true && nvm install 14 && nvm use 14 && yarn && yarn run build"' created: pid 525352
v14.21.3 is already installed.
Now using node v14.21.3 (npm v6.14.18)
Now using node v14.21.3 (npm v6.14.18)
yarn install v1.22.22
[1/4] Resolving packages...
[2/4] Fetching packages...
error @angular/common@19.2.1: The engine "node" is incompatible with this module. Expected version "^18.19.1 || ^20.11.1 || >=22.0.0". Got "14.21.3"
error Found incompatible module.
#angular
Angular
Has anyone been able to get an Angular project to launch on the shared dev server?
I was trying the CSR tutorial.
**When I route to the extension/Angular/Main, I seem to get this error:**
Traceback (most recent call last):
File "/home/user/sdk/.env/lib/python3.11/site-packages/tornado/web.py", line 1790, in _execute
result = await result
^^^^^^^^^^^^
File "/home/user/sdk/.env/lib/python3.11/site-packages/tornado/web.py", line 2688, in get
self.absolute_path = self.validate_absolute_path(self.root, absolute_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/sdk/.env/lib/python3.11/site-packages/tornado/web.py", line 2900, in validate_absolute_path
raise HTTPError(404)
tornado.web.HTTPError: HTTP 404: Not Found
**Also, when trying to build the project, there is a bundle error after adding q2-tecton-sdk and zone.js to the polyfills.ts file:**
✘ [ERROR] bundle initial exceeded maximum budget. Budget 1.00 MB was not met by 314.32 kB with a total of 1.31 MB.
**Also, locally I've installed node version 22.14.0, but when running q2 run, it seems to try to build with v14.21.3 and I get this error:**
2025-03-12T13:28:17.144 q2_sdk.general INFO bash -c "cd Angular/frontend && source /opt/nvm/nvm.sh || true && nvm install 14 && nvm use 14 && yarn && yarn run build"
2025-03-12T13:28:17.145 asyncio DEBUG run shell command 'bash -c "cd Angular/frontend && source /opt/nvm/nvm.sh || true && nvm install 14 && nvm use 14 && yarn && yarn run build"'
2025-03-12T13:28:17.146 asyncio DEBUG process 'bash -c "cd Angular/frontend && source /opt/nvm/nvm.sh || true && nvm install 14 && nvm use 14 && yarn && yarn run build"' created: pid 525352
v14.21.3 is already installed.
Now using node v14.21.3 (npm v6.14.18)
Now using node v14.21.3 (npm v6.14.18)
yarn install v1.22.22
[1/4] Resolving packages...
[2/4] Fetching packages...
error @angular/common@19.2.1: The engine "node" is incompatible with this module. Expected version "^18.19.1 || ^20.11.1 || >=22.0.0". Got "14.21.3"
error Found incompatible module.