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

Node Sass version 9.0.0 is incompatible with ^4.0.0. #3369

Closed
real-artswan opened this issue Jun 7, 2023 · 1 comment
Closed

Node Sass version 9.0.0 is incompatible with ^4.0.0. #3369

real-artswan opened this issue Jun 7, 2023 · 1 comment

Comments

@real-artswan
Copy link

real-artswan commented Jun 7, 2023

  • NPM version (npm -v):
    8.11.0

  • Node version (node -v):
    v16.15.1

  • Node Process (node -p process.versions):
    {
    node: '16.15.1',
    v8: '9.4.146.24-node.21',
    uv: '1.43.0',
    zlib: '1.2.11',
    brotli: '1.0.9',
    ares: '1.18.1',
    modules: '93',
    nghttp2: '1.47.0',
    napi: '8',
    llhttp: '6.0.4',
    openssl: '1.1.1o+quic',
    cldr: '40.0',
    icu: '70.1',
    tz: '2021a3',
    unicode: '14.0',
    ngtcp2: '0.1.0-DEV',
    nghttp3: '0.1.0-DEV'
    }

  • Node Platform (node -p process.platform):
    linux

  • Node architecture (node -p process.arch):
    x64

  • node-sass version (node -p "require('node-sass').info"):
    node-sass 9.0.0 (Wrapper) [JavaScript]
    libsass 3.5.5 (Sass Compiler) [C/C++]

  • npm node-sass versions (npm ls node-sass):

  • node-sass@9.0.0

So the problem is here Node Sass version 9.0.0 is incompatible with ^4.0.0. what does it mean actually? Does it come from the node-sass I believe? What lib is "^4.0.0"?

yarn run v1.22.19
$ GENERATE_SOURCEMAP=false node_modules/.bin/react-scripts --max_old_space_size=4096 build
Creating an optimized production build...
Failed to compile.

./src/app.sass
Error: Node Sass version 9.0.0 is incompatible with ^4.0.0.


error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Imported to the App.tsx so
import './app.sass';

@nschonni
Copy link
Contributor

nschonni commented Jun 8, 2023

Duplicate of #3103

@nschonni nschonni marked this as a duplicate of #3103 Jun 8, 2023
@nschonni nschonni closed this as not planned Won't fix, can't repro, duplicate, stale Jun 8, 2023
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

No branches or pull requests

2 participants