Code Monkey home page Code Monkey logo

Comments (15)

simonv3 avatar simonv3 commented on July 20, 2024 2

I've got this working on a large project but it's reporting 90% of files as dead, while I know that they're included. This is using deadfile ./src/index.tsx

from deadfile.

asavage1 avatar asavage1 commented on July 20, 2024 1

Using deadfile 1.2.2 with a React typescript codebase I had the same issue as simonv3

598 total files found!
595 dead files found!

from deadfile.

mustyoshi avatar mustyoshi commented on July 20, 2024 1

Happy to report that our large project with ~560 files is now finishing

from deadfile.

OnkelTem avatar OnkelTem commented on July 20, 2024

/summon @M-Izadmehr

from deadfile.

kamok avatar kamok commented on July 20, 2024

Not sure what the deal is, I even used the cli option that narrows it down to directory. I pointed it to a directory with 3 .tsx file (within a large project) and still stuck. The node process sucks up all my CPU processing power and my macbook sounds like it's about to take off.

from deadfile.

M-Izadmehr avatar M-Izadmehr commented on July 20, 2024

Thanks a lot for taking the time and reporting this issue:)
I actually tested this library on a super big library (over 200,000 lines of code), however, to be honest, I mostly checked with javascript, I guess this issue is only with typescript projects, I will try to look into this and resolve this.
Even if it requires more process, it should not block the main process.

from deadfile.

raphaellueckl avatar raphaellueckl commented on July 20, 2024

Hi

Same issue for me, in a javascript project (and I only test javascript, there is nothing else there).

I tried to mark only the specific directory and the index.js file, but nothing worked. It starts hanging at the "220 imported assets found." stage.

from deadfile.

subtleGradient avatar subtleGradient commented on July 20, 2024

Same here :(

✔ 1540 total assets found in base directory.
⠦ 446 imported assets found. /Volumes/dev-image/.../RandomFile.js 

from deadfile.

mustyoshi avatar mustyoshi commented on July 20, 2024

Same here :(

✔ 582 total assets found in base directory.
⠋ 231 imported assets found. /path/to/file/File.jsx 

from deadfile.

nsyujian avatar nsyujian commented on July 20, 2024

Same:

✔ 1862 total assets found in base directory.
⠏ 695 imported assets found. /Users/sunway/Documents/Project/ShopDiary/src/component/SlideFilterComponent.js 

from deadfile.

laustdeleuran avatar laustdeleuran commented on July 20, 2024

+1, can confirm, I'm also experiencing this in a semi-large project with a mixed JS(X)/TS(X) codebase.

from deadfile.

laustdeleuran avatar laustdeleuran commented on July 20, 2024

This might be a duplicate of #4

from deadfile.

M-Izadmehr avatar M-Izadmehr commented on July 20, 2024

Thanks for the report, Sorry I was not active in the past few months.
I just made a small release (version 1.2), it should be resolved. Could you possibly confirm it in your project?

from deadfile.

joepake avatar joepake commented on July 20, 2024

I encountered this issue and I resolved by this way:

  • Replace all import 'alias' to your absolute path. eg: '.src/' -> '/Users/sunway/Documents/Project/ShopDiary/src/'
  • Run deadfile command
  • Delete all unused files
  • Replace all absolute paths to your alias

from deadfile.

M-Izadmehr avatar M-Izadmehr commented on July 20, 2024

@joepake What kind of alias do you use (webpack/npm/...)?

from deadfile.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.