Hello,
I installed on a Slackware based (SALIX) VS Code via FlatPack and I tried to set up the JAVA environment. First time I tested a JavaScript sample file received a message (see attached).
Then I installed from package manager nodejs 17.9.0 and I followed:
https://code.visualstudio.com/docs/n...ith-javascript
I tried to add to launch.json "runtimeExecutable": "node"
{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "type": "node", "request": "launch", "name": "Launch Program", "skipFiles": [ "<node_internals>/**" ], "program": "${workspaceFolder}/GettingStarted/jssample.js", "runtimeExecutable": "node" } ] }
brad@toshiba:~$ java -version java version "19.0.1" 2022-10-18 Java(TM) SE Runtime Environment (build 19.0.1+10-21) Java HotSpot(TM) 64-Bit Server VM (build 19.0.1+10-21, mixed mode, sharing) brad@toshiba:~$ npm version { npm: '8.5.5', node: '17.9.0', v8: '9.6.180.15-node.16', uv: '1.43.0', zlib: '1.2.12', brotli: '1.0.9', ares: '1.18.1', modules: '102', nghttp2: '1.47.0', napi: '8', llhttp: '6.0.4', openssl: '3.0.2+quic', cldr: '40.0', icu: '70.1', tz: '2021a3', unicode: '14.0', ngtcp2: '0.1.0-DEV', nghttp3: '0.1.0-DEV'
I can run the js file from CLI BUT not in VS Code environment.
Not to mention it works just fine on Debian based OSs.
Thanks!


LinkBack URL
About LinkBacks
Reply With Quote