<kmp.jetbrains.com> has a new web variant with kmp...
# multiplatform
c
kmp.jetbrains.com has a new web variant with kmp + react. i downloaded the template but i dont know how to run it. so.. my question is how can i run it?
r
I haven't tried that template but the in-IDE template has a similar option which includes a run configuration for web.
c
if i try the IDE template... i do get a run configuration! but it also fails. hm
🫠 1
h
Was wondering the same thing but also same issue 🫩
🫠 1
c
i should file a bug... but youtrack takes soooo much more effort than issuetracker. lol
a
@nschum ^^ It seems like that IDE can't run NPM (even if it's installed on the machine, I've reproduced it on my side as well)
âž• 1
m
@Colton Idle I think in your case it might be Javascript &amp; Typescript plugin missing. Did you try to open the project in Android Studio, or in IntelliJ (In IJ the plugin is bundled afaik) Also, in the nearest days we'll ship an update to the projects generated to wizard, including KMT-1527. It'll instruct readers to use the following steps to run that target: 1. Install Node.js (which includes
npm
) 2. Build Kotlin/JS shared code:
./gradlew :shared:jsBrowserDevelopmentLibraryDistribution
3. Build and run the web application
Copy code
npm install
npm run start
c
I tried in both. AS and IJ community
great. those steps are really what im looking for. let me try that now.
CleanShot 2025-09-02 at 14.31.17@2x.png
those steps worked. i can run it via cmd line now! thanks
m
yeah, I'm afraid this will work in IJ Ultimate and WebStorm only. I'm glad the commands are fine for you. fyi, the updates to the wizard were published, and they include those instructions now
🎉 1