Skip to content

Trouble switching to @embroider/vite with yarn flag #10737

Open

Description

@TeriyakiBomb

After some instruction on discord for getting onto Vite and subsequently running npx ember-cli@latest new your-app-name --blueprint @ember/app-blueprint --yarn it fails and returns:

Command failed with exit code 1: yarn install --non-interactive
warning @ember/optional-features > [email protected]: Glob versions prior to v9 are no longer supported
warning @ember/optional-features > glob > [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
warning @ember/test-helpers > @embroider/addon-shim > broccoli-funnel > broccoli-plugin > [email protected]: Rimraf versions prior to v4 are no longer supported
warning @ember/test-helpers > @embroider/addon-shim > broccoli-funnel > broccoli-plugin > quick-temp > [email protected]: Rimraf versions prior to v4 are no longer supported
warning @ember/test-helpers > @embroider/addon-shim > broccoli-funnel > broccoli-plugin > rimraf > [email protected]: Glob versions prior to v9 are no longer supported
warning @ember/test-helpers > @embroider/addon-shim > broccoli-funnel > broccoli-plugin > quick-temp > rimraf > [email protected]: Glob versions prior to v9 are no longer supported
warning @ember/test-helpers > @embroider/macros > ember-cli-babel > [email protected]: Rimraf versions prior to v4 are no longer supported
warning @ember/test-helpers > @embroider/macros > ember-cli-babel > broccoli-funnel > [email protected]: Rimraf versions prior to v4 are no longer supported
warning @ember/test-helpers > @embroider/macros > ember-cli-babel > broccoli-funnel > broccoli-plugin > [email protected]: Rimraf versions prior to v4 are no longer supported
warning @ember/test-helpers > @embroider/macros > ember-cli-babel > @babel/[email protected]: 🚨 This package has been deprecated in favor of separate inclusion of a polyfill and regenerator-runtime (when needed). See the @babel/polyfill docs (https://babeljs.io/docs/en/babel-polyfill) for more information.
warning @ember/test-helpers > @embroider/macros > ember-cli-babel > babel-plugin-module-resolver > [email protected]: Glob versions prior to v9 are no longer supported
warning @ember/test-helpers > @embroider/macros > ember-cli-babel > broccoli-babel-transpiler > @babel/[email protected]: 🚨 This package has been deprecated in favor of separate inclusion of a polyfill and regenerator-runtime (when needed). See the @babel/polyfill docs (https://babeljs.io/docs/en/babel-polyfill) for more information.
warning @ember/test-helpers > @embroider/macros > ember-cli-babel > @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-methods instead.
warning @ember/test-helpers > @embroider/macros > ember-cli-babel > @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
warning @ember/test-helpers > @embroider/macros > ember-cli-babel > @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-property-in-object instead.
warning @ember/test-helpers > @embroider/macros > ember-cli-babel > @babel/polyfill > [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
warning @ember/test-helpers > @embroider/macros > ember-cli-babel > broccoli-babel-transpiler > broccoli-persistent-filter > [email protected]: Rimraf versions prior to v4 are no longer supported
warning @ember/test-helpers > @embroider/macros > ember-cli-babel > broccoli-babel-transpiler > hash-for-dep > broccoli-kitchen-sink-helpers > [email protected]: Glob versions prior to v9 are no longer supported
warning @ember/test-helpers > @embroider/macros > ember-cli-babel > broccoli-babel-transpiler > hash-for-dep > broccoli-kitchen-sink-helpers > glob > [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
warning @ember/test-helpers > @embroider/macros > ember-cli-babel > broccoli-babel-transpiler > broccoli-persistent-filter > async-disk-cache > [email protected]: Rimraf versions prior to v4 are no longer supported
warning @ember/test-helpers > @embroider/macros > ember-cli-babel > broccoli-babel-transpiler > broccoli-persistent-filter > sync-disk-cache > [email protected]: Rimraf versions prior to v4 are no longer supported
warning @ember/test-helpers > @embroider/macros > ember-cli-babel > broccoli-babel-transpiler > broccoli-merge-trees > merge-trees > fs-updater > [email protected]: Rimraf versions prior to v4 are no longer supported
warning @embroider/core > broccoli-persistent-filter > [email protected]: Rimraf versions prior to v4 are no longer supported
warning @embroider/core > broccoli-persistent-filter > async-disk-cache > [email protected]: Rimraf versions prior to v4 are no longer supported
warning @embroider/core > broccoli-persistent-filter > sync-disk-cache > [email protected]: Rimraf versions prior to v4 are no longer supported
warning @embroider/core > fast-sourcemap-concat > [email protected]: See https://github.com/lydell/source-map-url#deprecated
warning @embroider/vite > [email protected]: See https://github.com/lydell/source-map-url#deprecated
warning @embroider/compat > broccoli > [email protected]: Rimraf versions prior to v4 are no longer supported
warning @embroider/compat > broccoli > [email protected]: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
warning @embroider/compat > broccoli > watch-detector > tmp > [email protected]: Rimraf versions prior to v4 are no longer supported
warning @embroider/compat > broccoli-concat > [email protected]: This package is deprecated. Use destructuring assignment syntax instead.
warning @embroider/compat > broccoli > sane > micromatch > snapdragon > [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
warning @embroider/compat > broccoli > sane > micromatch > snapdragon > source-map-resolve > [email protected]: See https://github.com/lydell/source-map-url#deprecated
warning @embroider/compat > ember-source > ember-cli-babel > @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-methods instead.
warning @embroider/compat > ember-source > ember-cli-babel > @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
warning @embroider/compat > ember-source > ember-cli-babel > @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-property-in-object instead.
warning @embroider/compat > broccoli > sane > micromatch > snapdragon > source-map-resolve > [email protected]: https://github.com/lydell/resolve-url#deprecated
warning @embroider/compat > broccoli > sane > micromatch > snapdragon > source-map-resolve > [email protected]: Please see https://github.com/lydell/urix#deprecated
warning @embroider/compat > ember-source > ember-auto-import > @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
warning @embroider/compat > ember-source > ember-auto-import > @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-methods instead.
warning @embroider/compat > ember-source > ember-auto-import > babel-plugin-htmlbars-inline-precompile > magic-string > [email protected]: Please use @jridgewell/sourcemap-codec instead
warning ember-cli > [email protected]: Glob versions prior to v9 are no longer supported
warning ember-cli > glob > [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
warning ember-cli > temp > [email protected]: Rimraf versions prior to v4 are no longer supported
warning ember-cli > temp > rimraf > [email protected]: Glob versions prior to v9 are no longer supported
warning ember-cli > testem > [email protected]: Glob versions prior to v9 are no longer supported
warning ember-cli > testem > [email protected]: Rimraf versions prior to v4 are no longer supported
warning ember-cli > broccoli-stew > broccoli-plugin > [email protected]: Rimraf versions prior to v4 are no longer supported
warning ember-cli > broccoli-config-replace > fs-extra > [email protected]: Rimraf versions prior to v4 are no longer supported
warning ember-cli > testem > [email protected]: Please upgrade to consolidate v1.0.0+ as it has been modernized with several long-awaited fixes implemented. Maintenance is supported by Forward Email at https://forwardemail.net ; follow/watch https://github.com/ladjs/consolidate for updates and release changelog
warning ember-cli > testem > [email protected]: This package is no longer supported.
warning ember-cli > broccoli-config-loader > broccoli-caching-writer > [email protected]: Rimraf versions prior to v4 are no longer supported
warning ember-cli > testem > npmlog > [email protected]: This package is no longer supported.
warning ember-cli > testem > npmlog > [email protected]: This package is no longer supported.
warning ember-data > @ember-data/[email protected]: Use @warp-drive/ember
error @eslint/[email protected]: The engine "node" is incompatible with this module. Expected version "^18.18.0 || ^20.9.0 || >=21.1.0". Got "20.8.0"
error Found incompatible module.
yarn install v1.22.22
info No lockfile found.
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Activity

  1. NullVoxPopuli commented on Jun 29, 2025

    @NullVoxPopuli
    Contributor

    I don't think we can support yarn @ v1 (apologies! <3 )

    it just has too many bugs and inconsistencies to keep debugging problems that really are the yarn team's responsibility -- and they have dealt with them! yarn @ v4 is supposedly way better -- tho I've never been able to get it set up.

    We are open to supporting yarn @ v4, but also it is a fair bit of work to maintain so many different code branches the different package managers -- if there were a way to abstract that somehow, that'd be a huge help going forward

  2. mansona commented on Jun 30, 2025

    @mansona
    Member

    @NullVoxPopuli how do you feel about making the app blueprint throw an error when someone tries to use --yarn so that it communicates this exact issue?

  3. NullVoxPopuli commented on Jun 30, 2025

    @NullVoxPopuli
    Contributor

    I am in favor

  4. kategengler commented on Oct 7, 2025

    @kategengler
    Member

    Generating with --yarn worked as of yesterday /shrug

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