I am running coder in Docker and it works fine. I opened my project folder and try to run ionic serve, npm i then it showing bash: npm: command not found how to fix this ?

You have to install nodejs and npm.
You have to install nodejs and npm.
I installed both nodejs and ionic CLI on my system but still i am getting this error on coder

Coder in Docker has separate ubuntu system. So, terminal in coder is not yours terminal in pc.
Install nodejs and another dependencies into coder's terminal.
You could also launch the binary on your host to solve this problem.
Coder in Docker has separate ubuntu system. So, terminal in coder is not yours terminal in pc.
Install nodejs and another dependencies into coder's terminal.
I am new to Docker can you explain how to do that ?
My PC running on Manjaro arch based os
You could also launch the binary on your host to solve this problem.
Can you tell me how to do that, I am new to linux and docker
Read readme file.
Download file code-server1.939-vsc1.33.1-linux-x64.tar.gz, unzip and run the command code-server.
This will run coder inside your pc, not in Docker. The terminal will be the same as in you pc.
@jishnutv Docker containers have their own isolated environment, you should supply Node.js and NPM via the package manager. The most official way is via NodeSource. They have instructions for it.
Here is the coder with fresh node 10 inside
https://hub.docker.com/r/yyynnn/code-server
Most helpful comment
@jishnutv Docker containers have their own isolated environment, you should supply Node.js and NPM via the package manager. The most official way is via NodeSource. They have instructions for it.