Pin node version in dev ciab TP/TPv2#7164
Conversation
|
When I run the dev env on this branch, Traffic Router and tpv2 fail to start. Traffic Router LogsTPv2 logs are just... empty. The container is running, but it never does anything. |
If it's not displaying anything then |
|
No it's not displaying anything, at all. Like I would show you the logs but they're literally empty. |
Assuming the container is still running, I stand by what I said. It took 10 minutes for it to display anything for me this morning. Regardless I've tested on two separate machines using OSX and linux and they both work flawlessly. |
Both TR and TPv2 start as expected for me on Linux on #7164's branch |
|
Well, I don't know what exactly the issue was, but after 7 hours there was still nothing in the logs. So I purged my docker cache, removed most directories from my local repo and restored from the tip of this branch, then tried again. And it works now. |
Currently the TP/TPv2 dev containers have issues starting due to node/npm versioning.
node:alpineuses a recent node which is v19, many of our dependencies don't support this version causing the install to fail. This PR pins the node to version 14. Node 14 is in maintenance mode as of two weeks ago, so whenever angular in tpv2 is updated these can be bumped to 16.Which Traffic Control components are affected by this PR?
What is the best way to verify this PR?
Verify the TP/TPv2 dev containers are able to startup. The containers should also not complain about node version mismatch.
PR submission checklist