Skip to content

Old packages won't install ('invalid filename' error) #75

@josephg

Description

@josephg

Using master of sinopia:

Client:

$ npm install thirty-two --registry=http://localhost:4873/
npm http GET http://localhost:4873/thirty-two
npm http 200 http://localhost:4873/thirty-two
npm http GET http://localhost:4873/thirty-two/-/thirty-two@0.0.1.tgz
npm http 403 http://localhost:4873/thirty-two/-/thirty-two@0.0.1.tgz
npm ERR! fetch failed http://localhost:4873/thirty-two/-/thirty-two@0.0.1.tgz
npm ERR! Error: 403 Forbidden
...
npm ERR! npm -v 1.4.3

Server:

$ bin/sinopia 
 warn  --- Server is listening on http://localhost:4873/
 http  <-- 304, user: undefined, req: 'GET /thirty-two', bytes: 0/0
 http  <-- 403, user: undefined, req: 'GET /thirty-two/-/thirty-two@0.0.1.tgz', error: invalid filename

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions