frankcollins3 / fill_container

codecamp team project updated with new icon screen menu + puppeteer icon search, GraphQL, redux, relational psql !mongo, and accuweatherAPI
1 stars 0 forks source link

👎 bad advice from react, terminal, chatGPT [12:04pm] #275

Open frankcollins3 opened 1 year ago

frankcollins3 commented 1 year ago

attempting to do: 1: on top of issue #274, which is that locally i've been working with: "React" && Upon deployment, not so. 2: create compatibility in the production environment for packages that have been working locally. 3: migrate from to newer? and getting some incompatibility errors and leg-peer-deps tips 4: instead of installing and migrating to ReactGoogleLogin decided to uninstall and reinstall GoogleLogin --legacy-peer-deps (this would be the package that was first in use)

error: Upon completing steps 3 & 4 which is to uninstall and then: npm i google-login --legacy-peer-deps not perf not bad but: Screen Shot 2023-07-06 at 12 02 31 PM Screen Shot 2023-07-06 at 12 08 59 PM

npm i audit fix --force Screen Shot 2023-07-06 at 11 53 36 AM the fix command made everything worse: 2x more errors, only 20% more LOW but the 2x comes from HIGH & CRITICAL Screen Shot 2023-07-06 at 12 09 34 PM

proposed approach: regarding a reddit comment/opinion about webpack: "quicker to migrate to parcel or vite than to fix big app with webpack" // obviously as long as webpack is not specific enough so that parcel or vite cant achieve same end goal. (for me end goal of webpack, now removed, was just to get .ENV variables so not too specific)

0: been considering more past few days: update GraphQL, update redux to toolkit, and go with Next.js

1: try setting up as intended for now