Hi, I'm trying to build a Kotlin/JS project that w...
# javascript
a
Hi, I'm trying to build a Kotlin/JS project that was working fine on my fix computer on my portable computer and I'm getting this error
Copy code
Cannot find module 'C:\Users\pierr\.gradle\yarn\yarn-v1.22.10\bin\yarn.js'
What might be wrong ?
m
I think yarn should be downloaded by gradle. If you do
./*gradlew build*
or
gradle build
in your project folder it should download the correct yarn version and put it into that folder
a
But I'm getting this error when building also
Same result using Intellij tasks or CLI directly
m
try refreshing gradle in intellij
otherwise you could try to switch what gradle intellji using (local Gradle vs Intellij Gradle):
Not sure what the problem could be if that doesnt work 😕
a
okay yes it downloaded yarn, thanks ^^
👍 1