Next.js Discord

Discord Forum

Tutorial chapter 1

Unanswered
Sokoke posted this in #help-forum
Open in Discord
SokokeOP
I am starting the tutorial for the dashboard and get this:

[ERR_PNPM_IGNORED_BUILDS] Ignored build scripts: bcrypt@5.1.1, sharp@0.34.5

Run "pnpm approve-builds" to pick which dependencies should be allowed to run scripts.

Aborting installation.
  pnpm install has failed.

I know there's vulnerabilities with these 2 libraries... how should I proceed?

1 Reply

@Sokoke I am starting the tutorial for the dashboard and get this: sh [ERR_PNPM_IGNORED_BUILDS] Ignored build scripts: bcrypt@5.1.1, sharp@0.34.5 Run "pnpm approve-builds" to pick which dependencies should be allowed to run scripts. Aborting installation. pnpm install has failed. I know there's vulnerabilities with these 2 libraries... how should I proceed?
You can approve the packages even tho there are vulnerabilities. There will always be vulnerabilities and you should upgrade to the latest version to remove the published once’s. Like that you are on the safe side.

So: update to latest and approve installation