question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

False positive -> node-sass

See original GitHub issue

Bug Description

depcheck says that node-sass is an unused dependency but it’s required to use any .scss files in a project, and does not require the node-sass package to be imported anywhere for the same.

Code snippets

Where the dependency is listed in package.json: dependencies

"node-sass": "^4.14.1",

Versions

  • node -v: v14.3.0
  • npm -v: 6.14.8

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:5
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
sepsolcommented, Jul 9, 2021

I also have the same issue on a create-react-app project.

0reactions
stale[bot]commented, Nov 25, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

False Positive on cross-env and node-sass (at least) #2940
The problem occurs generally for packages with a hyphen in the name. The hyphen seems to be ignored or leads to a splitting...
Read more >
False positive "undefined variable" error when compiling SCSS
Getting an error message when compiling my SCSS using the ruby compass gem. run: /var/lib/gems/1.8/gems/compass-0.12.2/bin/compass compile out: ...
Read more >
node-sass - andrew.cmu.ed
package.json', version: sass.info, help: [ 'Usage:', ' node-sass [options] ... .map to avoid isDirectory false-positive var sourceMapIsDirectory = options.
Read more >
node-sass - npm Package Health Analysis - Snyk
We found that node-sass demonstrates a positive version release cadence with at least one new version released in the past 3 months.
Read more >
Improper Certificate Validation in node-sass - Vulners
Certificate validation in node-sass 2.0.0 to 6.0.1 is disabled when requesting binaries even if the user is not specifying an alternative download...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found