Skip to content

embroider / vite cannot build a new application with ember-table >= 6.0.0-10 #1202

@eflanagan0

Description

@eflanagan0

👋howdy!
👋
This relates to #1061.

As a developer, I would like to adopt embroider for a project I maintain that depends on ember-table.
As Ember 6.8 will enable embroider by default, this may affect more users. (https://blog.emberjs.com/ember-released-6-8/)

steps to reproduce

npx --yes ember-cli new ptarmigan
cd ptarmigan
npm add -D ember-table

Now, replace app/templates/application.gjs with:

import EmberTable from 'ember-table/components/ember-table/component';
<template>

  {{outlet}}

</template>

Then, build the app:

npm run build -- -m dev

It should error with:

[commonjs--resolver] ember-table is trying to import the emberVirtualPeerDep "@ember/string", but it seems to be missing

workarounds

  • Modify the application's package.json to use @ember/string 3 instead of

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