docker build -t node18 .
docker run -it --name node18 node18 bash
# npm install -g nwb
npm ERR! code 1
npm ERR! path /usr/local/lib/node_modules/nwb/node_modules/phantomjs-prebuilt
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! PhantomJS not found on PATH
npm ERR! Unexpected platform or architecture: linux/arm64
npm ERR! It seems there is no binary available for your platform/architecture
npm ERR! Try to install PhantomJS globally
This issue is a:
Dockerfile
Apple M1 chip node 18