Skip to content

[BUG]: "Cannot access parent module of rootError" if path to ember folder contains a dot #10805

Open

Description

@manuel-reil

Situation

  • Ember: 6.4.0, Mac
  • long running ember project, constantly upgraded to modern versions
  • has been building fine for 9 years across the different versions
  • big app

Complication

  • After the latest upgrade to 6.4, potentially also other versions are affected, ember serve fails with the below error: "Cannot access parent module of rootError

Solution/work around

  • After the usual cleaning of all the folder, reinstalling node, global packages, yarn cach cleans, etc. only the path wherein the app sits.
  • The path contains a dot: /Users/manuelreil/alyne.com/dev/app (where app is the ember folder)
  • After renaming the the folder to /Users/manuelreil/alyne/dev/app it just works

Details

  • could be broccoli, could be babel module resolver, could be amd-name-resolver
Image

Activity

  1. NullVoxPopuli commented on Sep 10, 2025

    @NullVoxPopuli
    Contributor

    thanks for reporting!

    does this happen in brand new projects?
    or new projects using the soon-to-be-default-blueprint?

    pnpm dlx ember-cli@latest new my-app --blueprint @ember/app-blueprint --pnpm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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