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

I renewed my license, and now I'm getting build warnings. #713

Open
mrkos67 opened this issue Jun 3, 2024 · 5 comments
Open

I renewed my license, and now I'm getting build warnings. #713

mrkos67 opened this issue Jun 3, 2024 · 5 comments

Comments

@mrkos67
Copy link

mrkos67 commented Jun 3, 2024

Quick, short summary:
I renewed my license and now my project build yields "No Source Code to Show" warnings on several files located in a JS library folder that's symlink'ed into my project's root folder.

Expected results:
Project builds without warnings.

Actual results:
Upon build, I get the following warning on several files that I use from a JS library folder of my own making, shared between projects, that has been symlink'ed into my project root:

[No Source Code To Show]

File ignored because of a matching ignore pattern. Use "--no-ignore" to disable file ignore settings or
use "--no-warn-ignored" to suppress this warning.

Google searching for codekit "no source code to show" yields no results.

When I deleted the symlink'ed and try to build, I get the following errors:

ESLint failed to run with this error:
Oops! Something went wrong! :(

ESLint: 9.0.0

No files matching the pattern "/Users/johnbandy/Work/Projects/Active/CNCT/Vidbot-V2/_ConcatJS/src/
utils/Numbers.js" were found.
Please check for typing mistakes in the pattern.

Bundling failed with this error: Could not resolve "../../_ConcatJS/src/utils/Dates.js" from "core/Vidbot.js"

Obviously, since I import these files using the symlink pathway into my root folder.

Exact steps to reproduce:
Not sure since this started after I renewed my license.

A link to download a simplified project or file that shows the issue:
n/a

Your configuration (any details about your system that you think might be relevant)
I'm running Codekit v3.25 build 34576, if this helps.

@bdkjones
Copy link
Owner

bdkjones commented Jun 4, 2024

Yea. The symlink is very likely the cause—not all of the tooling in CodeKit supports Symlinks, so the app skips them entirely when indexing.

If you want to share some JS files across multiple projects, the CodeKit Frameworks feature was designed to do exactly that. Check out the docs for it at codekitapp.com/help/

@mrkos67
Copy link
Author

mrkos67 commented Jun 4, 2024

So then why was all of this working perfectly before and now that I've renewed my license, I'm getting these warnings? Or, how do I use the '--no-ignore' or '--no-warn-ignore' flags, cuz I don't see either of those options in the ESLint settings?

@bdkjones
Copy link
Owner

bdkjones commented Jun 5, 2024

It has nothing to do with the license. It's because you updated to a version of CodeKit that has ESLint 9.x and ESLint 9.x...made some choices. I originally left this in place because the warning is trying to tell you something: "I didn't check this file over here, so there may be problems in it. You're on your own."

But it seems like people would prefer silent failure rather than deal with resolving the configuration.

@mrkos67
Copy link
Author

mrkos67 commented Jun 5, 2024

How do I "resolve the configuration" then and ignore these files in the new ESLint from within Codekit?

@bdkjones
Copy link
Owner

bdkjones commented Jun 6, 2024

Don't use symlinks. I'll push an update tomorrow hopefully to silence the warnings.

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

2 participants