Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Update node-sass version and apply npm audit fixes #1912

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

M0Rf30
Copy link
Contributor

@M0Rf30 M0Rf30 commented Dec 3, 2020

With this PR I want to fix node-sass message

> node-sass --source-map true --include-path styles styles/main.scss .tmp/styles/main.css

/home/gianluca/.cache/yay/openbazaar-git/src/openbazaar/node_modules/node-sass/lib/binding.js:13
      throw new Error(errors.unsupportedEnvironment());
      ^

Error: Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (88)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.13.1
    at module.exports (/home/gianluca/.cache/yay/openbazaar-git/src/openbazaar/node_modules/node-sass/lib/binding.js:13:13)
    at Object.<anonymous> (/home/gianluca/.cache/yay/openbazaar-git/src/openbazaar/node_modules/node-sass/lib/index.js:14:35)
    at Module._compile (node:internal/modules/cjs/loader:1102:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1131:10)
    at Module.load (node:internal/modules/cjs/loader:967:32)
    at Function.Module._load (node:internal/modules/cjs/loader:807:14)
    at Module.require (node:internal/modules/cjs/loader:991:19)
    at require (node:internal/modules/cjs/helpers:92:18)
    at Object.<anonymous> (/home/gianluca/.cache/yay/openbazaar-git/src/openbazaar/node_modules/node-sass/bin/node-sass:10:10)
    at Module._compile (node:internal/modules/cjs/loader:1102:14)
npm ERR! code ELIFECYCLE
npm ERR! errno 1

and fix these

found 70 vulnerabilities (68 low, 1 moderate, 1 high)
  run `npm audit fix` to fix them, or `npm audit` for details

I've also tested on my machine and everything seems to work fine

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant