Giter VIP home page Giter VIP logo

Comments (5)

shama avatar shama commented on June 6, 2024

I'm not sure I follow, what is the issue?

from napa.

kenmerthe avatar kenmerthe commented on June 6, 2024

A simple way to reproduce the issue (at least on my 64-bit Windows 7 machine) is with a fresh folder containing only the following package.json file:

{
  "devDependencies": {
    "napa": "^1.0.2"
  },
  "scripts": {
    "postinstall": "napa"
  },
  "napa": {
    "atom-shell": "https://github.com/atom/atom-shell/releases/download/v0.19.5/atom-shell-v0.19.5-win32-ia32.zip"
  }
}

The following will be output when running npm install:

npm WARN package.json @ No description
npm WARN package.json @ No repository field.
npm WARN package.json @ No README data
|
> @ postinstall G:\Stuff\Projects\napa-test
> napa

info git https://github.com/atom/atom-shell/releases/download/v0.19.5/atom-shell-v0.19.5-win32-ia32.zip into atom-shell
ERR! fatal: repository 'https://github.com/atom/atom-shell/releases/download/v0.19.5/atom-shell-v0.19.5-win32-ia32.zip/' not found

[email protected] node_modules\napa
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected],
[email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], decompress-tarbz2@2.
0.2)

As you would see, the issue is denoted by the error message ERR! fatal: repository 'https://github.com/.../atom-shell-v0.19.5-win32-ia32.zip/' not found. And, as far as I can tell, this is preventing the use of napa to install atom-shell's official binary releases (and other projects using GitHub Releases as well).

Let me know if you need any further clarification. :)

from napa.

shama avatar shama commented on June 6, 2024

Ah that's a bug. It's appending a / to the end of that URL for some reason. Thanks for the clarification. I'll look into a fix.

from napa.

airtonix avatar airtonix commented on June 6, 2024

also:

$ napa install witoldsz/angular-http-auth
info download https://github.com/witoldsz/angular-http-auth/archive/1.2.2.tar.gz into angular-http-auth
ERR! fatal: remote error: 
  Repository not found.

from napa.

shama avatar shama commented on June 6, 2024

@airtonix That looks like you're missing the v in front of v1.2.2 checking their releases: https://github.com/witoldsz/angular-http-auth/releases

from napa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.