Trying to start the Nextjs tutorial.
When I run the following command, it fails. i think because of bcrypt?
I cannot find out how to fix this because all the advice I see says delete node_modules, reinstall etc, but the project is not installed yet, there is no node_modules folder.
I have tried installing bcrypt directly, uninstalled and reinstalled node.
npx create-next-app@latest nextjs-dashboard --use-npm --example "https://github.com/vercel/next-learn/tree/main/dashboard/starter-example"
The end of the log (that says to read itself):
npm error code 7 │65 verbose npm v10.8.0
npm error path /home/user123/Code/NEXTjs/nextjs-dashboard/node_modules/bcrypt │66 verbose exit 7
npm error command failed │67 verbose code 7
npm error command sh -c node-pre-gyp install --fallback-to-build │68 error A complete log of this run can be found in: /home/user123/.npm/_logs/202
npm error A complete log of this run can be found in: /home/user123/.npm/_logs/2024-05-29T14_24_22_643Z-debug-0.log