-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Task with name 'kotlinNodeJsSetup' not found in root project #55
Comments
That's very odd as that task is optional for the plugin. In any case, thanks for the report and I'll look into it first thing tomorrow. Could you just confirm your kotlin, gradle and npm-publish versions? |
Thanks for the quick reply. I'm using Kotlin 1.7.10, Gradle 7.3.3, npm-publish 3.0.1. You can try to reproduce the issue with the linked repository. |
Just published 3.0.2 version. Give it a try and do let me know if things still aren't working for you. |
Thanks for the fix, I updated to 3.0.2, but now I'm facing another error. The issue goes away if I remove the npm-publish plugin.
|
Oh boy, must be something to do with KMM integration that's blocking it. I'll have another look once I get a chance, but can't promise any ETAs unfortunately. |
Eureka! Your bug actually surfaced a deeper issue with gradle itself! (gradle/gradle#13255). I'll be pushing a workaround in 3.0.3 shortly. |
As always, do let me know if something is still borked for you. |
When I apply the npm-publish plugin in the sample KMM library project (https://github.com/MattSkala/kmm-lib-sample), the project fails during configuration phase with the error below.
I am trying to run this on MacBook Pro with M1, and I can run
kotlinNodeJsSetup
task without issues when npm-publish plugin is not applied.The text was updated successfully, but these errors were encountered: