🧩 Plasmo Developers�PD
🧩 Plasmo Developersβ€’2y agoβ€’
82 replies
dp

Bug : EAGAIN when use `plasmo package`

EAGAIN when using plasmo 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...


It then starts to use a lot of memory
Was this page helpful?