Bug : EAGAIN when use `plasmo package`
EAGAIN when using
It then starts to use a lot of memory
plasmo packageplasmo package% yarn package --verbose
yarn run v1.22.22
warning package.json: No license field
$ plasmo package --verbose
π‘ 0 | Running command: package
π£ Plasmo v0.85.2
π΄ The Browser Extension Framework
π΅ INFO | Prepare to package the extension bundle...
π‘ 1 | Creating Manifest Factory...
π‘ 2 | Ensure exists: /Users/dp/work/extension/.plasmo
π‘ 3 | /Users/dp/work/extension/assets/icon.png found, creating resized icons
π‘ 4 | Creating static templates for popup
π‘ 5 | Creating static templates for options
π‘ 6 | Creating static templates for newtab
π‘ 7 | Creating static templates for devtools
π‘ 8 | Creating static templates for sidepanel
(...)
π‘ 18 | { messageHandlerList: [], portHandlerList: [] }
π‘ 19 | Creating BGSW entry
π‘ 20 | Hash changed, updating manifest
π΄ ERROR | EAGAIN
π‘ 21 | Error: EAGAIN
at new Worker (node:internal/worker:291:19)
at wk (file:///Users/dp/work/extension/node_modules/fflate/esm/index.mjs:22:13)
at wrkr (file:///Users/dp/work/extension/node_modules/fflate/esm/index.mjs:893:12)
at astrmify (file:///Users/dp/work/extension/node_modules/fflate/esm/index.mjs:930:13)
at new AsyncDeflate (file:///Users/dp/work/extension/node_modules/fflate/esm/index.mjs:1086:9)
at new AsyncZipDeflate (file:///Users/dp/work/extension/node_modules/fflate/esm/index.mjs:1949:18)
at file:///Users/dp/work/extension/node_modules/plasmo/dist/index.js:166:10563
at new Promise (<anonymous>)
at Qr (file:///Users/dp/work/extension/node_modules/plasmo/dist/index.js:166:10341)
at async Zh (file:///Users/dp/work/extension/node_modules/plasmo/dist/index.js:166:11510)
π΄ EXIT | This program will terminate in 3 seconds...% yarn package --verbose
yarn run v1.22.22
warning package.json: No license field
$ plasmo package --verbose
π‘ 0 | Running command: package
π£ Plasmo v0.85.2
π΄ The Browser Extension Framework
π΅ INFO | Prepare to package the extension bundle...
π‘ 1 | Creating Manifest Factory...
π‘ 2 | Ensure exists: /Users/dp/work/extension/.plasmo
π‘ 3 | /Users/dp/work/extension/assets/icon.png found, creating resized icons
π‘ 4 | Creating static templates for popup
π‘ 5 | Creating static templates for options
π‘ 6 | Creating static templates for newtab
π‘ 7 | Creating static templates for devtools
π‘ 8 | Creating static templates for sidepanel
(...)
π‘ 18 | { messageHandlerList: [], portHandlerList: [] }
π‘ 19 | Creating BGSW entry
π‘ 20 | Hash changed, updating manifest
π΄ ERROR | EAGAIN
π‘ 21 | Error: EAGAIN
at new Worker (node:internal/worker:291:19)
at wk (file:///Users/dp/work/extension/node_modules/fflate/esm/index.mjs:22:13)
at wrkr (file:///Users/dp/work/extension/node_modules/fflate/esm/index.mjs:893:12)
at astrmify (file:///Users/dp/work/extension/node_modules/fflate/esm/index.mjs:930:13)
at new AsyncDeflate (file:///Users/dp/work/extension/node_modules/fflate/esm/index.mjs:1086:9)
at new AsyncZipDeflate (file:///Users/dp/work/extension/node_modules/fflate/esm/index.mjs:1949:18)
at file:///Users/dp/work/extension/node_modules/plasmo/dist/index.js:166:10563
at new Promise (<anonymous>)
at Qr (file:///Users/dp/work/extension/node_modules/plasmo/dist/index.js:166:10341)
at async Zh (file:///Users/dp/work/extension/node_modules/plasmo/dist/index.js:166:11510)
π΄ EXIT | This program will terminate in 3 seconds...It then starts to use a lot of memory