Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sass loader 8.0.1 cannot be used in 8.16.2 node #797

Closed
JuXie-QiBao opened this issue Jan 13, 2020 · 0 comments · Fixed by #798
Closed

Sass loader 8.0.1 cannot be used in 8.16.2 node #797

JuXie-QiBao opened this issue Jan 13, 2020 · 0 comments · Fixed by #798

Comments

@JuXie-QiBao
Copy link

JuXie-QiBao commented Jan 13, 2020

  • Operating System: macOS 10.13.6
  • Node Version: 8.16.2
  • sass-loader Version: 8.0.1

Expected Behavior

Sass loader 8.0.1 requires node version no less than 8.9.0, so it should be available under node version 8.16.2

Actual Behavior

Sass loader 8.0.1 requires node version no less than 8.9.0, but it is not available in node version 8.16.2, and the node version needs no less than 10

Code

error semver@7.1.1: The engine "node" is incompatible with this module. Expected version ">=10". Got "8.16.2"
error Found incompatible module.
sass-loader@^8.0.0:
  version "8.0.1"
  dependencies:
    clone-deep "^4.0.1"
    loader-utils "^1.2.3"
    neo-async "^2.6.1"
    schema-utils "^2.6.1"
    semver "^7.1.1"

{
 "name": "sass-loader",
  "version": "8.0.1",
  "engines": {
    "node": ">= 8.9.0"
  },
}

{
  "name": "semver",
  "version": "7.1.1",
  "engines": {
    "node": ">=10"
  }
}
@JuXie-QiBao JuXie-QiBao changed the title sass-loader 8.0.1 依赖的 semver 包要求 node 版本 >= 10,导致版本低于 10 的 node 无法使用 Sass loader 8.0.1 cannot be used under 8.16.2 node Jan 13, 2020
@JuXie-QiBao JuXie-QiBao changed the title Sass loader 8.0.1 cannot be used under 8.16.2 node Sass loader 8.0.1 cannot be used in 8.16.2 node Jan 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant