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

cache | webpack error [3:35pm] #58

Closed frankcollins3 closed 1 year ago

frankcollins3 commented 1 year ago

attempting to do: migrate a "===" strict equality based authentication system to a passport based approach

error: iterm2: wait - compiling...

event - compiled client and server successfully in 2.2s (306 modules)

[webpack.cache.PackFileCacheStrategy] Restoring pack from /Users/me/Desktop/next-water-app/.next/cache/webpack/server-development.pack failed: TypeError: Cannot read property 'hasStartTime' of undefined **proposed approach:** restart servers | npm (or ask chatGPT or stack overflow)
frankcollins3 commented 1 year ago

the only change in between successfully working app and crashed app now is:

npm install passport passport-local passport-jwt bcrypt

// note am using older mac. if success can be found another way might have to wait until : equipment and pckg update [3:44pm]

frankcollins3 commented 1 year ago

// problem went away but perhaps this code suggests the solution

[webpack.cache.PackFileCacheStrategy] Restoring pack from /Users/me/Desktop/next-water-app/.next/cache/webpack/server-development.pack failed: TypeError: Cannot read property 'hasStartTime' of undefined **Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating** event - compiled client and server successfully in 26.1s (244 modules) wait - compiling /logInOutGoogle (client and server)... event - compiled client and server successfully in 4.3s (350 modules) [3:51pm]