Error with nextjs and i have no clue how to fix it
Unanswered
Dutch posted this in #help-forum
DutchOP
11 Replies
Chub mackerel
remove node modules folder then
npm i DutchOP
i did
nothing happened
well i mean, the errors stays
are you using the mapbox node package in a component?
should only be used in server functions
@gabbagool are you using the mapbox node package in a component?
DutchOP
im not even using that
oh it was because of
bcrypt packagePacific herring
you need to install bcryptjs package instead bcrypt
@Dutch oh it was because of `bcrypt` package
Sun bear
if you are using bcrpyt for hashing passwords consider changing to argon2id as it is more secure