Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Github actions throwing error when publishing adapters #123

Closed
pilcrowonpaper opened this issue Oct 14, 2022 · 3 comments
Closed

[BUG] Github actions throwing error when publishing adapters #123

pilcrowonpaper opened this issue Oct 14, 2022 · 3 comments

Comments

@pilcrowonpaper
Copy link
Member

Bug report

Report for: Github actions

Trying to publish adapters with Github actions terminates with an error.

Current behavior

> @lucia-sveltekit/adapter-mongoose@0.2.1 build /home/runner/work/lucia-sveltekit/lucia-sveltekit/packages/adapter-mongoose
[108](https://github.com/pilcrowOnPaper/lucia-sveltekit/actions/runs/3247591817/jobs/5327758730#step:4:109)
> tsc && cp ./package.json ./dist && cp ./README.md ./dist && cp .npmignore dist
[109](https://github.com/pilcrowOnPaper/lucia-sveltekit/actions/runs/3247591817/jobs/5327758730#step:4:110)

[110](https://github.com/pilcrowOnPaper/lucia-sveltekit/actions/runs/3247591817/jobs/5327758730#step:4:111)ERR_PNPM_CANNOT_RESOLVE_WORKSPACE_PROTOCOLCannot resolve workspace protocol of dependency "lucia-sveltekit" because this dependency is not installed. Try running "pnpm install".

Expected behavior

(successful publish)

Possible cause

PNPM?

Additional info

Version

all

Reproduction

none

Additional notes

none

@garlandcrow
Copy link

That explains why adapter-prisma latest version got published with no dist folder :) I have tried so hard to use pnpm but gave up a few months back, I have had just too many things break for some reason or another when using it.

@pilcrowonpaper
Copy link
Member Author

I think I got this fixed, works for mongoose now

@pilcrowonpaper
Copy link
Member Author

Definitely fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants