command line – Excessive Sierra (10.13.6) npm OSSL PEM routine error

command line – Excessive Sierra (10.13.6) npm OSSL PEM routine error


Not too long ago 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:

Test                               Worth   Suggestion/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 test on cached recordsdata         okay
Perms test on native node_modules   okay
Perms test on world node_modules  okay
Perms test on native bin folder     okay
Perms test on world bin folder    okay
Confirm cache contents               okay      verified 0 tarballs
npm ERR! Some issues discovered. See above for suggestions.

npm ERR! An entire log of this run could 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 data utilizing [email protected]
2 data utilizing [email protected]
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 many others/npmrc Accomplished in 0ms
13 timing config:load:world 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 data Operating checkup
33 foolish logfile begin cleansing logs, eradicating 1 recordsdata
34 foolish logfile finished cleansing log recordsdata
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 An entire log of this run could 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 means of putting in a bundle exterior homebrew then linking to homebrew)
  • I’ve tried setting

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?

Leave a Reply

Your email address will not be published. Required fields are marked *