Node Sass does not yet support your current environment: Linux 64-bit with false

前端 未结 19 1630
悲&欢浪女
悲&欢浪女 2020-12-02 11:27

Getting this error on Arch Linux with node-sass. I\'m using it with gulp-sass.

Node Sass does not yet support your current environment: Linux 64-bit with fal         


        
相关标签:
19条回答
  • 2020-12-02 12:15

    Error I was getting, Module "build failed: Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (72)".

    First, tried:

    npm rebuild node-sass
    

    nothing helpful, then tried

    sudo npm install --unsafe-perm -g node-sass
    

    Worked like a charm

    0 讨论(0)
  • 2020-12-02 12:15

    If uninstall & install node-sass did not work try to remove node_modules folder and npm install

    0 讨论(0)
  • 2020-12-02 12:16

    Probably a node version issue.

    Check your node version with

    node -v
    

    you can install node version manager to make life easier. See

    https://github.com/nvm-sh/nvm#install--update-script

    Install:
    curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
    
    Usage: 
    nvm install <version>       Download and install a <version> 
    nvm use <version>           Modify PATH to use <version> nvm ls        
    List versions (installed versions are blue)
    
    0 讨论(0)
  • 2020-12-02 12:18

    As of July 2019 with Node v12 -

    node-sass v4.11.0 doesn't work with Node 12.

    I faced this problem when I upgraded node to v12.

    Rebuilding node-sass as suggested by the other answers didn't work as well.

    Upgrading node-sass to v4.12.0 fixed it for me.

    npm install node-sass@4.12.0

    0 讨论(0)
  • 2020-12-02 12:19

    Go the path where node-sass is present and run this command

    npm rebuild node-sass --force
    

    This solved my issue

    0 讨论(0)
  • 2020-12-02 12:20

    Remove node modules: $rm-rf node_modules

    Re install node modules: $npm install

    0 讨论(0)
提交回复
热议问题