Skip to content

Error reading collection links file #8

@countvajhula

Description

@countvajhula

I created a new package and added a basic info.rkt file. Then I went through these steps:

mynewpkg> raco pkg-env _env
mynewpkg> source _env/activate.sh
mynewpkg> raco pkg install

And got this error:

error reading collection links file #<path:/Users/siddhartha/work/racket/sandbox/mynewpkg/_env/links.rktd>: path->complete-path: contract violation
  expected: (or/c path-string? path-for-some-system?)
  given: 'up
path->complete-path: contract violation
  expected: (or/c path-string? path-for-some-system?)
  given: 'up

The info.rkt file, for reference:

#lang info
(define collection "mynewpkg")
(define deps '("base"))
(define build-deps '("scribble-lib"
                     "scribble-abbrevs"
                     "racket-doc"
                     "rackunit-lib"
                     "sandbox-lib"))
(define pkg-desc "A cool new package.")
(define version "1.0")
(define pkg-authors '(countvajhula))

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