Skip to content

CLI eject command fails in workspace #269

Open
@PhearZero

Description

@PhearZero

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'));

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions