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:
- [Solved] webpack.config.js configuration encountered Error: Cannot find module’@babel/core’&&Cannot find module’@babel/plugin-transform-react-jsx’
- NPM run dev Error Module build failed: Error: Cannot find module ‘node-sass’
- How to Solve Koa Error: Cannot find module ‘koa-router‘
- [Solved] Error: Cannot find module ‘webpack-cli/package.json‘
- NPM start project error: cannot find module ‘webpack’ problem solution
- [Solved] TS Error: Could not find a declaration file for module
- Error: cannot find module ‘webpack cli/bin/config yargs’‘
- Error: uncaughtexception: cannot find module ‘internal / util / types’
- How to Solve Error: Cannot find module ‘webpack/lib/RequestShortener’
- [Go] Solve can’t load package: cannot find module providing package github.com/xxxxx
- When starting Vue project: cannot find module ‘webpack cli / bin / config yargs’ error resolution
- [Solved] Error: error getting chaincode bytes: ‘go list‘ failed with: cannot find module providing package
- [Solved] npm Error: Error: Cannot find module ‘postcss-loader‘
- [Solved] Webpack compilation Error: Cannot find module’webpack-cli/bin/config-yargs’
- NPM install error: Cannot find module ‘D:\zip\node_modules\npm\bin\npm-cli.js‘
- [Solved] truffle Error: Cannot find module ‘truffle-hdwallet-provider‘
- [Solved] internal/modules/cjs/loader.js:892 ^Error: Cannot find module ‘C:\Users\LX\Desktop\Node_DEMO\a
- [Solved] Gulp-sass Install Error: error: cannot find module ‘sass‘
- [Solved] Failed to find glog – Could not find glog include directory, set…
- IDEA appears Module ** must not contain source root **. The root already belongs to module ** This kind of error solution