:kotlinWasmNpmInstall and :kotlinNpmInstall can't proceed to find dependencies
08:47 29 Dec 2025

After setting up my project with Compose Multiplatform Wizard, I successfully ran the desktop version, but had issue with the web version.

When I try to run :kotlinWasmNpmInstall and :kotlinNpmInstall, A package resolution issue occurs.

> Task :kotlinWasmNpmInstall FAILED

(node:20928) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.

(Use `node --trace-deprecation ...` to show where the warning was created)

(node:20928) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.

error Couldn't find package "@js-joda/core@3.2.0" required by "my-app-composeApp@0.0.0-unspecified" on the "npm" registry.

Error: Couldn't find package "@js-joda/core@3.2.0" required by "my-app-test@0.0.0-unspecified" on the "npm" registry.

No clue why it's happening, I suspected it might be related to my company network policies, but I never had any issues with these while working with npm/node before on TypeScript project.

Let me know if you have a clue about what's going on :)

compose-multiplatform