main
|
Last change
on this file since be5a13c was be5a13c, checked in by Bart <bart@…>, 4 weeks ago |
|
launch.json pointed at a node that is not there
The preview config hardcoded $HOME/.local/node/bin/node, which does not exist
on this machine, so starting klonkt from the launch config failed outright.
Resolve node from PATH instead. The command already runs under bash -lc, so the
login profile is loaded and node comes from the MacPorts prefix at ~/opt/bin
(v24.17.0). One less absolute path to go stale.
Co-Authored-By: Claude Opus 5 <noreply@…>
|
-
Property mode
set to
100644
|
|
File size:
247 bytes
|
| Line | |
|---|
| 1 | {
|
|---|
| 2 | "version": "0.0.1",
|
|---|
| 3 | "configurations": [
|
|---|
| 4 | {
|
|---|
| 5 | "name": "klonkt",
|
|---|
| 6 | "runtimeExecutable": "bash",
|
|---|
| 7 | "runtimeArgs": ["-lc", "PORT=4020 PUBLIC_BASE_URL=http://localhost:4020 exec node src/server.js"],
|
|---|
| 8 | "port": 4020
|
|---|
| 9 | }
|
|---|
| 10 | ]
|
|---|
| 11 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.