help icon indicating copy to clipboard operation
help copied to clipboard

Unable to install Node JS on Macbook OS.

Open JhaapKaur opened this issue 3 years ago • 8 comments

Details

I am on mac OS 10.11.6 when I am trying to install Node.JS LTS or latest version, I get the following error message: node-v16.15.1.pkg can't be installed because its digital signature is invalid. The package may have been corrupted or tampered with. Get a new copy of the package and try again.

I have tried to uninstall and install several times but cannot overcome this. I am then facing issues when running the npm create-react-app command in my terminal where the EACCESS error message is displayed.

Any help would be much appreciated. Thank you.

Node.js version

LTS and Latest Version

Example code

No response

Operating system

I am on mac OS 10.11.6

Scope

Unable to install Node JS

Module and version

Not applicable.

JhaapKaur avatar Jun 26 '22 20:06 JhaapKaur

I get the following error message: node-v16.15.1.pkg can't be installed because its digital signature is invalid. The package may have been corrupted or tampered with. Get a new copy of the package and try again.

Where did you download the Node.js installer/binary from? You should be downloading them from the official Node.js website if you aren't already, as all the digital signatures are valid.

I am then facing issues when running the npm create-react-app command in my terminal where the EACCESS error message is displayed.

That happens when either npm or the installation process of packages tries to access something outside of their given privilege, you can escalate the privileges by running the command with the sudo command.

VoltrexKeyva avatar Jun 26 '22 20:06 VoltrexKeyva

Hi thanks for your message.

I have tried to Sudo command as you’ve advised and I am still not having any luck creating a react app on VS code. Are there any other commands you can suggest to overcome this?

Thank you, Jhaap

Sent from my iPhone

On 26 Jun 2022, at 21:55, Mohammed Keyvanzadeh @.***> wrote:



I get the following error message: node-v16.15.1.pkg can't be installed because its digital signature is invalid. The package may have been corrupted or tampered with. Get a new copy of the package and try again.

Where did you download the Node.js installer from? You should be downloading them from the official Node.js websitehttps://nodejs.org/ already, as all the digital signatures are valid.

I am then facing issues when running the npm create-react-app command in my terminal where the EACCESS error message is displayed.

That happens when either npm or the installation process of packages tries to access something outside of their given privilege, you can escalate the privileges by running the command with the sudo command.

— Reply to this email directly, view it on GitHubhttps://github.com/nodejs/help/issues/3913#issuecomment-1166642986, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYBC35HBAGADLXSGGZRB3QDVRC7VJANCNFSM5Z4O4KQQ. You are receiving this because you authored the thread.Message ID: @.***>

JhaapKaur avatar Jun 27 '22 07:06 JhaapKaur

Can you show us the stacktrace of the error you're encountering when running the command?

VoltrexKeyva avatar Jun 27 '22 07:06 VoltrexKeyva

Hi there,

Thanks for your response. To summarise, when downloading NodeJs from NodeJs.org (either the current or LTS version) I am getting the below error:

[cid:d51bb47e-b17b-441b-bc11-0c22c7f358b7]

When opening VS Code and trying to create react app using the command 'npm i -g create-react-app' or npm i -g create-react-app' and then npm i -g create-react-app' I get this (EACCESS Error): [cid:482e7920-fb2e-42c2-b4db-77650f69e91d]

I have tried to google and youtube various trouble shooting tips including 'mkdir' command and sudo commands. I have also tried to uninstall and re install but have not had any luck so far. Any assistance would be much appreciated. I am on mac OS 10.11.6.

Thank you in advance,

Jhaap


From: Mohammed Keyvanzadeh @.> Sent: 27 June 2022 07:06 To: nodejs/help @.> Cc: JhaapKaur @.>; Author @.> Subject: Re: [nodejs/help] Unable to install Node JS on Macbook OS. (Issue #3913)

Can you show us the stacktrace of the error you're encountering when running the command?

— Reply to this email directly, view it on GitHubhttps://github.com/nodejs/help/issues/3913#issuecomment-1166962627, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYBC35B2IUHUXVGDW2CHD6TVRFHHNANCNFSM5Z4O4KQQ. You are receiving this because you authored the thread.Message ID: @.***>

JhaapKaur avatar Jun 29 '22 12:06 JhaapKaur

Screenshot 2023-12-11 at 12 07 31 can you help me with this error im using a MacBook Air

sjajagithub avatar Dec 12 '23 19:12 sjajagithub

I just encountered this issue again. I was trying to upgrade my node version and I installed the latest node version on the home page 20.11.0 for my mac and encountered "The installation failed" error message identical to the image posted above.

I am not sure how to get a stack-trace of a desktop installer application failure.

MuddassirAsh avatar Feb 08 '24 08:02 MuddassirAsh

same problem, any recommendation please?

yosvanyisel avatar May 14 '24 03:05 yosvanyisel

Screenshot 2023-12-11 at 12 07 31 can you help me with this error im using a MacBook Air

Please open a seperate issue for this.

avivkeller avatar May 14 '24 14:05 avivkeller

Hi! If anyone is experiencing similar issues in the latest installer, please open a new issue

Thanks!

avivkeller avatar Jun 16 '24 03:06 avivkeller