[GH-ISSUE #1131] run php artisan koel:init, i got this: sass@1.22.10: The engine "node" is incompatible with this module. Expected version ">=8.9.0". Got "6.17.1" #656

Closed
opened 2026-02-26 02:33:52 +03:00 by kerem · 2 comments
Owner

Originally created by @miracle2017 on GitHub (Nov 30, 2019).
Original GitHub issue: https://github.com/koel/koel/issues/1131

Describe the bug
when i run php artisan koel:init, i got this: sass@1.22.10: The engine "node" is incompatible with this module. Expected version ">=8.9.0". Got "6.17.1"

Environment

  • Koel version [ v4.2.1]
  • Node version [ v6.17.1]
  • npm version [3.10.10]
  • yarn version [1.19.2]
Originally created by @miracle2017 on GitHub (Nov 30, 2019). Original GitHub issue: https://github.com/koel/koel/issues/1131 **Describe the bug** when i run php artisan koel:init, i got this: sass@1.22.10: The engine "node" is incompatible with this module. Expected version ">=8.9.0". Got "6.17.1" **Environment** - Koel version [ v4.2.1] - Node version [ v6.17.1] - npm version [3.10.10] - yarn version [1.19.2]
kerem closed this issue 2026-02-26 02:33:52 +03:00
Author
Owner

@miracle2017 commented on GitHub (Nov 30, 2019):

yarn install --ignore-engines, with --ignore-engines, yarn will not checkout your node engine. so you can add this param at app/Console/Commands/InitCommand.php file, then you serch " yarn install", then you find two match, now you just add --ignore-engines to it and save, then run php artisan koel:init again, this time the error was gone. it work for me

<!-- gh-comment-id:559964490 --> @miracle2017 commented on GitHub (Nov 30, 2019): yarn install --ignore-engines, with --ignore-engines, yarn will not checkout your node engine. so you can add this param at app/Console/Commands/InitCommand.php file, then you serch " yarn install", then you find two match, now you just add --ignore-engines to it and save, then run php artisan koel:init again, this time the error was gone. it work for me
Author
Owner

@phanan commented on GitHub (Nov 30, 2019):

Ignoring engines is hardly a good idea. It's better to use a more recent Node version (6.x is too old I'm surprised it worked for you).

<!-- gh-comment-id:560023891 --> @phanan commented on GitHub (Nov 30, 2019): Ignoring engines is hardly a good idea. It's better to use a more recent Node version (6.x is too old I'm surprised it worked for you).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#656
No description provided.