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.

Depcheck Fails Incorrectly at "=" sign starting v1.3.0

See original GitHub issue

Bug Description

It seems that starting v1.3.0 depcheck fails when it encounters an “=” sign in an import. The following line of code fails after upgrading to 1.3.0.

https://github.com/opencollective/opencollective-frontend/blob/a07621f0d3e8e349bfb662df95cdfa305ca1b790/pages/marketingPage.js#L18

The error is;

Missing dependencies
* file-loader?publicPath=: ./pages/marketingPage.js

But with v1.2.0 there’s no problem and depcheck seems to pass. 😄

Versions

  • depcheck --version: 1.3.0

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
rumplcommented, Nov 9, 2020

As soon as this build finishes 😃

1reaction
rumplcommented, Nov 9, 2020

Version 1.3.1 should go live soon, tell me if this works for you

Read more comments on GitHub >

github_iconTop Results From Across the Web

depcheck/CHANGELOG.md at main - GitHub
Different results when running depcheck from npm install -g vs npx #689; Fails with ... Depcheck Fails Incorrectly at "=" sign starting v1.3.0...
Read more >
depcheck - UNPKG
The CDN for depcheck. ... 26, - Depcheck Fails Incorrectly at "=" sign starting v1.3.0 ... 144, - eslint: dependency wrongly mark as...
Read more >
depcheck | Yarn - Package Manager
Depcheck is a tool for analyzing the dependencies in a project to see: how each dependency is used, which dependencies are useless, and...
Read more >
depcheck - npm Package Health Analysis - Snyk
As a healthy sign for on-going project maintenance, we found that the GitHub repository had at least 1 pull request or issue interacted...
Read more >
depcheck and npm-check not working - Stack Overflow
2 Answers 2 · Thanks! This does indeed do one half the job, checking for missing dependencies. · No problem ✌ and maybe...
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