Skip to content

node-sass not compatible with newer versions of node, such as 14 and 16 #204

Description

@seanrasmussen

Bug Report

I installed node version 14.17.5 (using nvm) and the wpgulp script does not complete a build uisng "npm start" anymore. Error: Cannot find module 'fs/promises' .

Apparently node-sass is deprecated and incompatible with the latest node versions.

Expected Behavior

Expected the script to complete.

Actual Behavior

Script produces error.

Steps to Reproduce

  1. switch to node 14.17.5
  2. run npm start
  1. node -v: 14.17.5
  2. npm -v: 6.14.14

Then, specify:

  1. Operating system: Ubuntu 18.04

Possible Solution
find an alternate to node-sass? maybe dart-sass?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions