frankcollins3 / Next-Water-App

Happy, Healthy Water Cycling App that tracks user/human fluid intake.
https://next-water-app.vercel.app
1 stars 0 forks source link

node being sneaky and malevolent [5:23pm] #9

Closed frankcollins3 closed 1 year ago

frankcollins3 commented 1 year ago

attempting to do: nothing. just deploy app that's already done. had some compatibility issues with node 16.3 and upgraded to 16.8 for Next && SASS. (this being further exacerbated by webpack and GraphQLExpress is what made migration to next seem sound choice)

error: I couldn't get rid of 16.3 from the computer using usr/local/bin and friends. (node --version kept popping up) Finally nvm update worked and brought 16.8 on the machine. verified by sass working and node --version. Next day node--version is showing 16.3 again so an attempt to remove is made.

proposed approach: error ^ above pretty much covers the approach. delete delete delete and be careful. rm -rf node_modules a few times. manually deleting the .next folder as well.


πŸ‘ https://stackoverflow.com/questions/11177954/how-do-i-completely-uninstall-node-js-and-reinstall-from-beginning-mac-os-x sudo rm -rf ~/.npm ~/.nvm ~/node_modules ~/.node-gyp ~/.npmrc ~/.node_repl_history sudo rm -rf /usr/local/bin/npm /usr/local/bin/node-debug /usr/local/bin/node /usr/local/bin/node-gyp sudo rm -rf /usr/local/share/man/man1/node /usr/local/share/man/man1/npm sudo rm -rf /usr/local/include/node /usr/local/include/node_modules sudo rm -rf /usr/local/lib/node /usr/local/lib/node_modules /usr/local/lib/dtrace/node.d sudo rm -rf /opt/local/include/node /opt/local/bin/node /opt/local/lib/node sudo rm -rf /usr/local/share/doc/node sudo rm -rf /usr/local/share/systemtap/tapset/node.stp

brew uninstall node brew doctor brew cleanup --prune-prefix


πŸ‘Ž


https://stackoverflow.com/questions/37676768/symbol-iterator-is-not-a-function https:/stack/questions/70383636/all-npm-commands-error-with-typeerror-class-extends-value-undefined-is-not-a-co


frankcollins3 commented 1 year ago

bookmark: these post-install suggestions and encouragements to check for paths are really easy to ignore // might not have been the problem but still.

Screen Shot 2023-07-07 at 5 20 02 PM Screen Shot 2023-07-07 at 5 19 17 PM [5:28pm]