node-skeleton
node-skeleton copied to clipboard
Attach to the current docker container does not work
When I try to attach to the running container it throw this error:
> Executing task: npm run watch <
> [email protected] watch
> tsc -w -p ./
sh: line 1: tsc: command not found
The terminal process "bash '-c', 'npm run watch'" terminated with exit code: 127.
Press any key to close the terminal.
What I did:
-
git clone [email protected]:tvvignesh/node-skeleton.git - Open integrated VSCode terminal and execute this command in it:
docker-compose up --build - Now in VSCode I press
ctrl + shift + dand try to attach to docker
uname -a output:
Linux kasir 5.10.84-1-MANJARO #1 SMP PREEMPT Wed Dec 8 09:50:30 UTC 2021 x86_64 GNU/Linux
docer version output:
Client:
Version: 20.10.11
API version: 1.41
Go version: go1.17.3
Git commit: dea9396e18
Built: Sat Nov 20 12:57:52 2021
OS/Arch: linux/amd64
Context: default
Experimental: true
Server:
Engine:
Version: 20.10.11
API version: 1.41 (minimum version 1.12)
Go version: go1.17.3
Git commit: 847da184ad
Built: Sat Nov 20 12:57:08 2021
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.5.8
GitCommit: 1e5ef943eb76627a6d3b6de8cd1ef6537f393a71.m
runc:
Version: 1.0.3
GitCommit: v1.0.3-0-gf46b6ba2
docker-init:
Version: 0.19.0
GitCommit: de40ad0