Just lately acquired an outdated MacBook Professional, new to MacOS.

I’ve downloaded & put in node 16.20.1
https://nodejs.org/en/obtain/releases

npm set up fails.
npm physician returns:

Examine                               Worth   Advice/Notes
npm ping                            not okay  error:0909006C:PEM routines:get_name:no begin line
npm -v                              not okay  Error: error:0909006C:PEM routines:get_name:no begin line
node -v                             not okay  Error: error:0909006C:PEM routines:get_name:no begin line
npm config get registry             okay      utilizing default registry (https://registry.npmjs.org/)
which git                           okay      /usr/native/bin/git
Perms verify on cached information         okay
Perms verify on native node_modules   okay
Perms verify on international node_modules  okay
Perms verify on native bin folder     okay
Perms verify on international bin folder    okay
Confirm cache contents               okay      verified 0 tarballs
npm ERR! Some issues discovered. See above for suggestions.

npm ERR! A whole log of this run may be present in:
npm ERR!     /Customers/travis/.npm/_logs/2023-06-26T21_56_49_431Z-debug-0.log


logfile contents:


0 verbose cli /usr/native/bin/node /usr/native/bin/npm
1 information utilizing npm@8.19.4
2 information utilizing node@v16.20.0
3 timing npm:load:whichnode Accomplished in 1ms
4 timing config:load:defaults Accomplished in 2ms
5 timing config:load:file:/usr/native/lib/node_modules/npm/npmrc Accomplished in 1ms
6 timing config:load:builtin Accomplished in 1ms
7 timing config:load:cli Accomplished in 2ms
8 timing config:load:env Accomplished in 0ms
9 timing config:load:challenge Accomplished in 12ms
10 timing config:load:file:/Customers/travis/.npmrc Accomplished in 3ms
11 timing config:load:consumer Accomplished in 3ms
12 timing config:load:file:/usr/native/and so on/npmrc Accomplished in 0ms
13 timing config:load:international Accomplished in 0ms
14 timing config:load:validate Accomplished in 3ms
15 timing config:load:credentials Accomplished in 1ms
16 timing config:load:setEnvs Accomplished in 2ms
17 timing config:load Accomplished in 26ms
18 timing npm:load:configload Accomplished in 26ms
19 timing npm:load:mkdirpcache Accomplished in 2ms
20 timing npm:load:mkdirplogs Accomplished in 1ms
21 verbose title npm physician
22 verbose argv "physician"
23 timing npm:load:setTitle Accomplished in 28ms
24 timing config:load:flatten Accomplished in 4ms
25 timing npm:load:show Accomplished in 6ms
26 verbose logfile logs-max:10 dir:/Customers/travis/.npm/_logs
27 verbose logfile /Customers/travis/.npm/_logs/2023-06-26T21_56_49_431Z-debug-0.log
28 timing npm:load:logFile Accomplished in 7ms
29 timing npm:load:timers Accomplished in 0ms
30 timing npm:load:configScope Accomplished in 0ms
31 timing npm:load Accomplished in 72ms
32 information Operating checkup
33 foolish logfile begin cleansing logs, eradicating 1 information
34 foolish logfile finished cleansing log information
35 timing command:physician Accomplished in 140501ms
36 verbose stack Error: Some issues discovered. See above for suggestions.
36 verbose stack     at Physician.exec (/usr/native/lib/node_modules/npm/lib/instructions/physician.js:126:13)
36 verbose stack     at async module.exports (/usr/native/lib/node_modules/npm/lib/cli.js:78:5)
37 verbose cwd /Customers/travis
38 verbose Darwin 17.7.0
39 verbose node v16.20.0
40 verbose npm  v8.19.4
41 error Some issues discovered. See above for suggestions.
42 verbose exit 1
43 timing npm Accomplished in 140587ms
44 verbose code 1
45 error A whole log of this run may be present in:
45 error     /Customers/travis/.npm/_logs/2023-06-26T21_56_49_431Z-debug-0.log
  • I’ve tried manually putting in & uninstalling node & npm
  • I’ve tried putting in node by way of nvm
  • I’m not in a position to set up node by way of homebrew attributable to gcc dependency
    (keen to strive if somebody can stroll me by way of putting in a package deal exterior homebrew then linking to homebrew)
  • I’ve tried setting <npm config set registry=http://registry.nmpjs.org/. and again

Is there an SSL certificates I want so as to add or modify someplace?
What else can I have a look at to troubleshoot this?

Travis is a brand new contributor to this website. Take care in asking for clarification, commenting, and answering.
Try our Code of Conduct.


It’s essential to
log in to reply this query.