Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8) #89

Open
lbrutti opened this issue Feb 20, 2024 · 2 comments

Comments

@lbrutti
Copy link

lbrutti commented Feb 20, 2024

Hello,
since a couple of weeks, i'm experiencing this error:

ERR! error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
ERR! fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
ERR! fatal: the remote end hung up unexpectedly
ERR! fatal: early EOF
ERR! fatal: index-pack failed
ERR! fatal: the remote end hung up unexpectedly
fatal: early EOF
ERR! fatal: index-pack failed
ERR! fatal: the remote end hung up unexpectedly
ERR! fatal: early EOF
ERR! fatal: index-pack failed

while trying to install these packages:

    "napa": {
        "animate.css": "https://github.com/daneden/animate.css#3.5.1",
        "awesome-bootstrap-checkbox": "https://github.com/flatlogic/awesome-bootstrap-checkbox#v0.3.5",
        "bootbox.js": "https://github.com/makeusabrew/bootbox#v4.4.0",
        "bootstrap-colorpicker": "https://github.com/itsjavi/bootstrap-colorpicker#2.3.6",
        "bootstrap-colorselector": "https://github.com/flaute/bootstrap-colorselector",
        "bootstrap-fileinput": "https://github.com/kartik-v/bootstrap-fileinput#v4.4.8",
        "bootstrap-iconpicker": "https://github.com/victor-valencia/bootstrap-iconpicker#v1.7.0",
        "bootstrap-select": "https://github.com/snapappointments/bootstrap-select#v1.12.2",
        "bootstrap-switch": "https://github.com/Bttstrp/bootstrap-switch#v3.3.4",
        "bootstrap-touchspin": "https://github.com/istvan-ujjmeszaros/bootstrap-touchspin#3.1.1",
        "bootstrap-tour": "https://github.com/sorich87/bootstrap-tour#v0.10.2",
        "bootstrap": "https://github.com/twbs/bootstrap#v3.3.7",
        "cropit": "https://github.com/scottcheng/cropit#v0.5.1",
        "d3-extended": "https://github.com/wbkd/d3-extended",
        "d3-tip": "https://github.com/Caged/d3-tip#v0.7.1",
        "d3": "https://github.com/mbostock-bower/d3-bower#v4.10.0",
        "datatables-buttons": "https://github.com/DataTables/Buttons#1.2.4",
        "datatables-colreorder": "https://github.com/DataTables/ColReorder#1.3.3",
        "datatables-fixedcolumns": "https://github.com/DataTables/FixedColumns#3.2.2",
        "datatables-fixedheader": "https://github.com/DataTables/FixedHeader#3.1.2",
        "datatables-plugins": "https://github.com/DataTables/Plugins#1.10.12",
        "datatables-responsive": "https://github.com/DataTables/Responsive#2.1.1",
        "datatables-select": "https://github.com/DataTables/Select#1.2.0",
        "datatables.net-keytable": "https://github.com/DataTables/Dist-DataTables-KeyTable#2.3.2",
        "datatables": "https://github.com/DataTables/DataTables#1.10.13",
        "dygraphs": "https://github.com/danvk/dygraphs#v1.1.1",
        "famfamfam-flags": "https://github.com/legacy-icons/famfamfam-flags.git#0.4.1",
        "favico.js": "https://github.com/ejci/favico.js#0.3.10",
        "file-saver": "https://github.com/eligrey/FileSaver.js#1.3.3",
        "fontawesome-actions": "https://github.com/nyon/fontawesome-actions.git#v0.13.0",
        "howler": "https://github.com/goldfire/howler.js#2.0.3",
        "jquery-mask-plugin": "https://github.com/igorescobar/jQuery-Mask-Plugin#v1.14.10",
        "jquery-validation": "https://github.com/jquery-validation/jquery-validation#1.16.0",
        "jquery": "https://github.com/jquery/jquery-dist#3.2.0",
        "jquery-ui": "https://github.com/components/jqueryui#1.12.1",
        "leaflet-providers": "https://github.com/leaflet-extras/leaflet-providers#1.1.17",
        "leaflet.zoomhome": "https://github.com/torfuspolymorphus/leaflet.zoomhome#v0.2.0",
        "leaflet": "https://github.com/Leaflet/Leaflet#v1.2.0",
        "malihu-custom-scrollbar-plugin": "https://github.com/malihu/malihu-custom-scrollbar-plugin/archive/refs/tags/3.1.5.tar.gz",
        "mathjax": "https://github.com/mathjax/MathJax#2.6.1",
        "mathjs": "https://github.com/josdejong/mathjs#v3.5.3",
        "metismenu": "https://github.com/onokumus/metisMenu#v2.2.0",
        "noty": "https://github.com/needim/noty#v2.4.1",
        "nouislider": "https://github.com/leongersen/noUiSlider#8.2.1",
        "randomcolor": "https://github.com/davidmerfield/randomColor#0.4.4",
        "spin.js": "https://github.com/fgnass/spin.js#2.3.2",
        "topojson": "https://github.com/mbostock/topojson-bower#3.0.2",
        "twitter-bootstrap-wizard": "https://github.com/VinceG/twitter-bootstrap-wizard#1.3.2",
        "vegas": "https://github.com/jaysalvat/vegas#v2.3.1",
        "weather-icons": "https://github.com/erikflowers/weather-icons.git#2.0.10"
    },

My issue is about the lack of a more informative message even with "silly" log level, is there a way to make napa log the package that has caused the error? seems like i'm pulling a huge repo but don't know which is...

thanks

@shama
Copy link
Owner

shama commented Feb 20, 2024

I don't think there is any logging available in napa but we could add some. Otherwise in the meantime, you might be able to do node --inspect-brk ./node_modules/.bin/napa and then open chrome://inspect in your browser to use the Chrome inspector to debug which package the error originates from.

Also I recommend checking out https://pnpm.io/ as an upgrade for npm (and replacement for napa). pnpm is able to install packages without package.json files too but in a much nicer and more efficient way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants