Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Table data must not contain control characters. #58

Open
olivierkastel opened this issue Aug 1, 2022 · 0 comments
Open

Error: Table data must not contain control characters. #58

olivierkastel opened this issue Aug 1, 2022 · 0 comments

Comments

@olivierkastel
Copy link

I just tried on my project and unfortunately it returned an error. Any idea what's causing the issue?

$ deadfile ./src/index.js     

   ╭──────────────────────────────────────────────────────────────╮
   │                                                              │
   │                          Dead File!                          │
   │                                                              │
   │   Simply find the unused files in your javascript project.   │
   │                    Press --help for help.                    │
   │                                                              │
   ╰──────────────────────────────────────────────────────────────╯

✔ 1221 total assets found in base directory.
✔ 76 imported assets found.
/usr/local/lib/node_modules/deadfile/node_modules/table/dist/validateTableData.js:88
        throw _iteratorError;
        ^

Error: Table data must not contain control characters.
    at validateTableData (/usr/local/lib/node_modules/deadfile/node_modules/table/dist/validateTableData.js:60:19)
    at table (/usr/local/lib/node_modules/deadfile/node_modules/table/dist/table.js:96:34)
    at logger (/usr/local/lib/node_modules/deadfile/src/cli/Logger.js:38:18)
    at DeadFile.reporting (/usr/local/lib/node_modules/deadfile/src/index.js:84:5)
    at DeadFile.checkDiff (/usr/local/lib/node_modules/deadfile/src/index.js:78:12)
    at DeadFile.setUsedAssets (/usr/local/lib/node_modules/deadfile/src/index.js:47:10)
    at /usr/local/lib/node_modules/deadfile/src/handlers/UsedAssets.js:75:12
    at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)

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

No branches or pull requests

1 participant