Skip to content

Issues with publishing for the first time. #1356

@david-sledge

Description

@david-sledge

Ubuntu version: 24.04.3 LTS
nodejs version: v20.12.2
npm version: 11.7.0
esbuild version: 0.27.2
purescript version: 0.15.15
purescript-psa version: v0.9.0
purs-tidy version: v0.11.1
spago version: 0.93.45

I have a project with a subdirectory containing examples each with their own spago.yaml. In the .yaml, they all reference main package. The main spago.yaml file has a "publish" section that excludes the directory containing the examples. When I try to publish using

spago publish -p my-package

I get the following.

Your package "my-package" is not ready for publishing yet, encountered 1 error:

❌ Some of the packages you specified as extra_packages do not point to the Registry.
To be able to publish a package to the registry, all of its dependencies have to be packages registered on the Registry.
Please replace the following packages with versions that are present in the Registry:- "my-package"

I'll note that none of the spago.yaml files have an extra_packages section. Do I need to just move the examples elsewhere in order to publish?

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