SOLVED: Failed to setup in element support Error: Could not find module `@glimmer/runtime` imported from `(require)`

Starting a new project. I made some sample routes and everything works, but I’m receiving this error.

The results for ember -v:

ember-cli: 5.6.0 node: 20.11.0 os: win32 x64

Am I missing somethig?

hello! how did you generate your project? is it on GitHub?

Hello!

Solved when I remove node_modules folder e reinstall everything using pnpm and not npm anymore.

I don’t get why the error happened, but… anyway, it’s solved.

Thanks for your interest!

3 Likes