dp
PD🧩 Plasmo Developers
•Created by dp on 4/1/2024 in #👾extension
plasmo dev is failing
@lab any hints?
Thank you
7 replies
PD🧩 Plasmo Developers
•Created by dp on 3/21/2024 in #👾extension
Bug : EAGAIN when use `plasmo package`
Yes it seems our build was keeping node_modules and creating some nested node_modules that was enlarging the directory before zipping.
79 replies
PD🧩 Plasmo Developers
•Created by dp on 3/21/2024 in #👾extension
Bug : EAGAIN when use `plasmo package`
But we'l try to reduce it
79 replies
PD🧩 Plasmo Developers
•Created by dp on 3/21/2024 in #👾extension
Bug : EAGAIN when use `plasmo package`
100mb I believe
79 replies
PD🧩 Plasmo Developers
•Created by dp on 3/21/2024 in #👾extension
Bug : EAGAIN when use `plasmo package`
@lab
79 replies
PD🧩 Plasmo Developers
•Created by dp on 3/21/2024 in #👾extension
Bug : EAGAIN when use `plasmo package`
Ok we just zip it using
zip
and it worked79 replies
PD🧩 Plasmo Developers
•Created by dp on 3/21/2024 in #👾extension
Bug : EAGAIN when use `plasmo package`
If you'd like to analyze your bundle, you can use the --bundle-buddy flag, combined with --source-maps to generate a Bundle Buddy
Just read it ; nice
79 replies
PD🧩 Plasmo Developers
•Created by dp on 3/21/2024 in #👾extension
Bug : EAGAIN when use `plasmo package`
I see the plasmo build CLI just call parcel -- but we can't pass much options to parcel
such as
yarn build --reporter @parcel/reporter-bundle-analyzer
https://github.com/PlasmoHQ/plasmo/blob/main/cli/plasmo/src/commands/build.ts#L38
WOuld it be possible to pass parcel functions?79 replies
PD🧩 Plasmo Developers
•Created by dp on 3/21/2024 in #👾extension
Bug : EAGAIN when use `plasmo package`
It seems the build node_modules directory include typescript, parcel... and lot of things (sass, react-dev-tools) ; probably we need to move to dev dependencies
79 replies
PD🧩 Plasmo Developers
•Created by dp on 3/21/2024 in #👾extension
Bug : EAGAIN when use `plasmo package`
Ok it seems our build dir is 402mb; compressed manually with zip makes it 114mb.
I will look why this is aas big as that
79 replies
PD🧩 Plasmo Developers
•Created by dp on 3/21/2024 in #👾extension
Bug : EAGAIN when use `plasmo package`
Ha nice; let me see
79 replies
PD🧩 Plasmo Developers
•Created by dp on 3/21/2024 in #👾extension
Bug : EAGAIN when use `plasmo package`
Yes it's not exiting and keep going on Github Runner -- Need to stop the job manually
I am running a new build with plasmo 0.85.2 now
79 replies
PD🧩 Plasmo Developers
•Created by dp on 3/21/2024 in #👾extension
Bug : EAGAIN when use `plasmo package`
I will bump to latest; (this is github actions runners; First log from my machine but it crashes/freezes)
79 replies
PD🧩 Plasmo Developers
•Created by dp on 3/21/2024 in #👾extension
Bug : EAGAIN when use `plasmo package`
Ok will retry with two different steps --
as it failed here
79 replies
PD🧩 Plasmo Developers
•Created by dp on 3/21/2024 in #👾extension
Bug : EAGAIN when use `plasmo package`
Ok will try after this attempt
79 replies
PD🧩 Plasmo Developers
•Created by dp on 3/21/2024 in #👾extension
Bug : EAGAIN when use `plasmo package`
cf.
79 replies
PD🧩 Plasmo Developers
•Created by dp on 3/21/2024 in #👾extension
Bug : EAGAIN when use `plasmo package`
79 replies
PD🧩 Plasmo Developers
•Created by dp on 3/21/2024 in #👾extension
Bug : EAGAIN when use `plasmo package`
What would you advise to debug @lab what makes this resource issue? I tried --verbose but nothing; We tried with a VM with 64GB or 128GB and it fails
79 replies
PD🧩 Plasmo Developers
•Created by dp on 3/21/2024 in #👾extension
Bug : EAGAIN when use `plasmo package`
What is strange it is throwing there --
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)
AsyncZipDeflate
79 replies
PD🧩 Plasmo Developers
•Created by dp on 3/21/2024 in #👾extension
Bug : EAGAIN when use `plasmo package`
@lab @LoXatoR fyi
79 replies