Skip to content

Use package from pursuit that doesn't have spago.yaml #1300

Closed
@flip111

Description

@flip111

I vaguely remember this might have been discussed somewhere before. But i'm not sure if it does have it's own ticket.

I like to use this package https://pursuit.purescript.org/packages/purescript-web-dom/6.0.0/docs/Web.DOM
But than the latest version because of this commit purescript-web/purescript-web-dom#59

I specify it like this

workspace:
  packageSet:
    registry: 60.7.0
  extraPackages:
    web-dom:
      git: https://github.com/purescript-web/purescript-web-dom.git
      ref: master

This is my console output

» spago run --backend-args '--help'
Reading Spago workspace configuration...

✓ Selecting package to build: html2halogen

Cloning https://github.com/purescript-web/purescript-web-dom.git

✘ Could not read config at .spago/p/web-dom/master
Error:
  Did not find `.spago/p/web-dom/master/spago.yaml`.

By the way, perhaps the error message can be improved a bit as well. As far as i understood the config must always be called "spago.yaml" so "could not read" and "did not find" seem a bit double. What about Could not find the spago.yaml config file in web-dom?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions