I’m receiving this error after @aws-cdk to 1.111.0...
# seed
g
I’m receiving this error after @aws-cdk to 1.111.0 and sst to 0.33.0. It seems a problem related to dependencies, if I deploy without a package-lock.json it works.
npm ERR! extraneous: mime@2.5.2 /tmp/seed/source/node_modules/aws-cdk/node_modules/mime
f
Hey @gio, can you try removing the
package-lock.json
, recreating it by running
npm install
, commit it, and try make a build again?
g
Hi @Frank, I tried many times but the error was alway shown but after yesterday afternoon it wasn’t shown again. I just deleted the package-lock as before but now it seems fixed. Did you apply some fix on Seed?
f
No nothing was changed on the Seed side.
Let me try creating a new app using an older version of SST > deploy to Seed > update to the latest 0.33.0 > deploy again (using the node_modules cache), and see if I can reproduce the error you saw.
g
previously I was using sst 0.15
f
Got it! I will give it a try tmr or on Monday. And keep you posted on it.