-
Notifications
You must be signed in to change notification settings - Fork 56
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: Can't resolve ./src/adb #16
Comments
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
Which check do you mean? |
Sorry for the ambiguity, I was referring to this check (and its counterparts in adbkit-monkey and adbkit-logcat): Lines 4 to 5 in f7c57a4
|
Removing coffeescript does make sense. However, I'm not sure if it is so simple as removing 1 condition. |
Yeah, I'm familiar with that issue, that's why I was comfortable saying "is it really necessary to cater to CoffeeScript users at this point?". That issue is about converting the project completely away from CoffeeScript, which would be nice, but it's definitely a big task, and I don't think it's necessary for what I'm proposing. That switch statement in For further evidence, here's another actively maintained library written in CoffeeScript: https://github.com/Leonidas-from-XIV/node-xml2js They don't have any checks for the Finally, here's an excerpt from the CoffeeScript V1 website:
Everything I'm seeing seems to indicate that you don't have to do anything special to support consumers of your library that happen to be written in CoffeeScript. They should use the transpiled JavaScript, just like everybody else. |
Since I'm extra confident about the safety of my proposal after additional research, I submitted PR #18. |
Thanks, now I need to do the same thing for |
When I try to use
adbkit
in an Electron project I'm working on, I encounter the following errors:I'm using electron-webpack to build the binary, but adbkit is included by way of a yarn workspace dependency (I'm using yarn 2 with the
node-modules
nodeLinker option).I can't figure out why I'm having the issue, and I can't reproduce it with a clean
electron-webpack
project. Rather than focusing on what's causing the issue, it might be easier to try to find a resolution. For example, is it really necessary to cater to coffeescript users at this point? Could we just remove the check and always return the js version?The text was updated successfully, but these errors were encountered: