Hey guys, I was working on a compose multiplatform...
# compose-web
k
Hey guys, I was working on a compose multiplatform project and was targeting web specially I'm able to run my mobile applications but when I try to run my web app, I face the below given error, please help here I'm stuck on this issue for 2 days
Copy code
node:28740) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
error An unexpected error occurred: "<https://registry.yarnpkg.com/@jridgewell/source-components.map/-/source-components.map-0.3.6.tgz>: Request failed \"404 Not Found\"".

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':kotlinNpmInstall'.
>                 Process 'Resolving NPM dependencies using yarn' returns 1
                  
                  yarn install v1.22.17
guys this is resolved, sorry for bothering
🎉 1
a
Could you please also share the root cause of your problem.
k
yeah so the root cause was when i was modifying my
build.gradle
file to create a better dependency separation between mobile and web modules, some dependencies in the
yarn.lock
file changed, and I didn't noticed it, so after reverting it everything started working. it was silly mistake by me😅
🙏 1