Hello, I trying to install pattrenfly and get following error:
info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', '/bin/npm', 'install', 'patternfly', '--save' ] 2 info using [email protected] 3 info using [email protected] 4 silly loadCurrentTree Starting 5 silly install loadCurrentTree 6 silly install readLocalPackageData 7 silly fetchPackageMetaData patternfly 8 silly fetchNamedPackageData patternfly 9 silly mapToRegistry name patternfly 10 silly mapToRegistry using default registry 11 silly mapToRegistry registry https://registry.npmjs.org/ 12 silly mapToRegistry data Result { 12 silly mapToRegistry raw: 'patternfly', 12 silly mapToRegistry scope: null, 12 silly mapToRegistry escapedName: 'patternfly', 12 silly mapToRegistry name: 'patternfly', 12 silly mapToRegistry rawSpec: '', 12 silly mapToRegistry spec: 'latest', 12 silly mapToRegistry type: 'tag' } 13 silly mapToRegistry uri https://registry.npmjs.org/patternfly 14 verbose request uri https://registry.npmjs.org/patternfly 15 verbose request no auth needed 16 info attempt registry request try #1 at 8:58:18 AM 17 verbose request id 2307bc6c244fe193 18 http request GET https://registry.npmjs.org/patternfly 19 http 200 https://registry.npmjs.org/patternfly 20 verbose headers { server: 'nginx/1.10.1', 20 verbose headers 'content-type': 'application/json', 20 verbose headers 'last-modified': 'Mon, 23 Oct 2017 18:22:23 GMT', 20 verbose headers etag: 'W/"59ee335f-44cf6"', 20 verbose headers 'content-encoding': 'gzip', 20 verbose headers 'cache-control': 'max-age=300', 20 verbose headers 'content-length': '19459', 20 verbose headers 'accept-ranges': 'bytes', 20 verbose headers date: 'Tue, 24 Oct 2017 06:58:18 GMT', 20 verbose headers via: '1.1 varnish', 20 verbose headers age: '22', 20 verbose headers connection: 'keep-alive', 20 verbose headers 'x-served-by': 'cache-ams4437-AMS', 20 verbose headers 'x-cache': 'HIT', 20 verbose headers 'x-cache-hits': '1', 20 verbose headers 'x-timer': 'S1508828298.208049,VS0,VE0', 20 verbose headers vary: 'Accept-Encoding, Accept' } 21 silly get cb [ 200, 21 silly get { server: 'nginx/1.10.1', 21 silly get 'content-type': 'application/json', 21 silly get 'last-modified': 'Mon, 23 Oct 2017 18:22:23 GMT', 21 silly get etag: 'W/"59ee335f-44cf6"', 21 silly get 'content-encoding': 'gzip', 21 silly get 'cache-control': 'max-age=300', 21 silly get 'content-length': '19459', 21 silly get 'accept-ranges': 'bytes', 21 silly get date: 'Tue, 24 Oct 2017 06:58:18 GMT', 21 silly get via: '1.1 varnish', 21 silly get age: '22', 21 silly get connection: 'keep-alive', 21 silly get 'x-served-by': 'cache-ams4437-AMS', 21 silly get 'x-cache': 'HIT', 21 silly get 'x-cache-hits': '1', 21 silly get 'x-timer': 'S1508828298.208049,VS0,VE0', 21 silly get vary: 'Accept-Encoding, Accept' } ] 22 verbose get saving patternfly to /root/.npm/registry.npmjs.org/patternfly/.cache.json 23 verbose correctMkdir /root/.npm correctMkdir not in flight; initializing 24 silly install normalizeTree 25 silly loadCurrentTree Finishing 26 silly loadIdealTree Starting 27 silly install loadIdealTree 28 silly cloneCurrentTree Starting 29 silly install cloneCurrentTreeToIdealTree 30 silly cloneCurrentTree Finishing 31 silly loadShrinkwrap Starting 32 silly install loadShrinkwrap 33 silly loadShrinkwrap Finishing 34 silly loadAllDepsIntoIdealTree Starting 35 silly install loadAllDepsIntoIdealTree 36 silly rollbackFailedOptional Starting 37 silly rollbackFailedOptional Finishing 38 silly runTopLevelLifecycles Finishing 39 silly install printInstalled 40 verbose stack Error: Refusing to install patternfly as a dependency of itself 40 verbose stack at checkSelf (/usr/lib/node_modules/npm/lib/install/validate-args.js:53:14) 40 verbose stack at Array.<anonymous> (/usr/lib/node_modules/npm/node_modules.bundled/slide/lib/bind- actor.js:15:8) 40 verbose stack at LOOP (/usr/lib/node_modules/npm/node_modules.bundled/slide/lib/chain.js:15:1 4) 40 verbose stack at chain (/usr/lib/node_modules/npm/node_modules.bundled/slide/lib/chain.js:20:5 ) 40 verbose stack at /usr/lib/node_modules/npm/lib/install/validate- args.js:16:5 40 verbose stack at /usr/lib/node_modules/npm/node_modules.bundled/slide/lib/async- map.js:52:35 40 verbose stack at Array.forEach (native) 40 verbose stack at /usr/lib/node_modules/npm/node_modules.bundled/slide/lib/async- map.js:52:11 40 verbose stack at Array.forEach (native) 40 verbose stack at asyncMap (/usr/lib/node_modules/npm/node_modules.bundled/slide/lib/async- map.js:51:8) 41 verbose cwd /home/nmajorov/workspace/patternfly 42 error Linux 4.13.5-100.fc25.x86_64 43 error argv "/usr/bin/node" "/bin/npm" "install" "patternfly" " --save" 44 error node v6.11.3 45 error npm v3.10.10 46 error code ENOSELF 47 error Refusing to install patternfly as a dependency of itself 48 error If you need help, you may report this error at: 48 error <https://github.com/npm/npm/issues> 49 verbose exit [ 1, true ] nmajorov ~ workspace patt Is it something related to the node version or npm ? any ideas why it happens ? -- Beste Grüße/Kind regards Nikolaj Majorov Middleware Consultant Mobile: +41765351348 Mail: [email protected] Web: http://ch.redhat.com/ Red Hat Switzerland Sàrl Place Numa-Droz 2 - CP 2522 - 2001 Neuchatel --- Red Hat Tried. Tested. Trusted. http://www.redhat.com/en/about/trusted _______________________________________________ PatternFly mailing list [email protected] https://www.redhat.com/mailman/listinfo/patternfly
