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

CLI eject command fails in workspace #269

Open
PhearZero opened this issue Aug 20, 2024 · 1 comment
Open

CLI eject command fails in workspace #269

PhearZero opened this issue Aug 20, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@PhearZero
Copy link
Contributor

Describe the bug

Running tutorialkit eject fails to resolve the @tutoriakit/astro package in a workspace

 ERROR  ~/withastro-astro-ru7fip/packages/tutorial/node_modules/@tutorialkit/astro does not exists!

Link to a StackBlitz project which shows the error

https://stackblitz.com/edit/withastro-astro-ru7fip

Steps to reproduce

  1. cd into ./packages/tutorial/
  2. npx tutorialkit eject

Expected behavior

Package is ejected into the workspace package

Screenshots

No response

Platform

  • TutorialKit version: 0.1.2
  • OS: Linux
  • Browser: NA
  • Version: NA

Additional context

Related to #235 but at different location:

const astroIntegrationPath = assertExists(path.resolve(folder, 'node_modules', '@tutorialkit', 'astro'));

Copy link

stackblitz bot commented Aug 20, 2024

Fix this issue in StackBlitz Codeflow Start a new pull request in StackBlitz Codeflow.

@AriPerkkio AriPerkkio added the bug Something isn't working label Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants