8.2 C
United States of America
Tuesday, November 19, 2024

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


Not too long ago acquired an previous 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   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 examine on cached information         okay
Perms examine on native node_modules   okay
Perms examine on world node_modules  okay
Perms examine on native bin folder     okay
Perms examine on world 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 will 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:venture Accomplished in 12ms
10 timing config:load:file:/Customers/travis/.npmrc Accomplished in 3ms
11 timing config:load:person Accomplished in 3ms
12 timing config:load:file:/usr/native/and so on/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 Working checkup
33 foolish logfile begin cleansing logs, eradicating 1 information
34 foolish logfile performed 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 will 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 through nvm
  • I’m not capable of set up node through homebrew because of gcc dependency
    (keen to attempt if somebody can stroll me by way of putting in a bundle 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?

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles