Skip to content

Instantly share code, notes, and snippets.

@weex
Created February 25, 2022 23:45
Show Gist options
  • Save weex/a0b612542cff287386d978b7aca0e30f to your computer and use it in GitHub Desktop.
Save weex/a0b612542cff287386d978b7aca0e30f to your computer and use it in GitHub Desktop.
fedi-trutroots error
$ NODE_ENV=production npm run build
> [email protected] build
> npm run clean:public && NODE_ENV=production npm run generate-circle-images && NODE_ENV=production npm run webpack && NODE_ENV=production npm run webpack:service-worker
> [email protected] clean:public
> rm -fr ./public/dist ./public/assets ./public/push-messaging-sw.js
> [email protected] generate-circle-images
> node ./bin/generate-circle-images.js
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module 'async'
Require stack:
- /var/www/dev.refugees.openHospitality.network/ft/bin/generate-circle-images.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/var/www/dev.refugees.openHospitality.network/ft/bin/generate-circle-images.js:10:15)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1151:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/var/www/dev.refugees.openHospitality.network/ft/bin/generate-circle-images.js'
]
}
Node.js v17.6.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment