Error: Cannot find module ‘png-js‘ [How to Solve]

The following error is suddenly found in the execution script:

Error: cannot find module ‘PNG-JS’

the reason is that the docker container lacks module’ PNG-JS’. Here, execute the following command to install the module:

sudo docker exec -it Containner_name pnpm i png-js

 

Read More: