https://kotlinlang.org logo
#javascript
Title
# javascript
a

andylamax

07/27/2022, 2:38 PM
Hello fellas, Has anyone seen this? Task
kotlinNpmInstall
is failing on CI (github actions), but it passes locally. Full error log in thread.
Copy code
> Task :live:kotlinNpmInstall
error <https://registry.yarnpkg.com/webpack/-/webpack-5.73.0.tgz>: Extracting tar content of undefined failed, the file appears to be corrupt: "ENOENT: no such file or directory, chmod '/Users/runner/Library/Caches/Yarn/v6/npm-webpack-5.73.0-bbd17738f8a53ee5760ea2f59dce7f3431d35d38-integrity/node_modules/webpack/schemas/plugins/ids/OccurrenceModuleIdsPlugin.json'"

> Task :live:kotlinNpmInstall FAILED

> Task :kotlinNpmInstall
error An unexpected error occurred: "<https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz>: ENOENT: no such file or directory, open '/Users/runner/Library/Caches/Yarn/v6/npm-ajv-6.12.6-baf5a62e802b07d977034586f8c3baf5adf26df4-integrity/node_modules/ajv/.yarn-tarball.tgz'".

> Task :kotlinNpmInstall FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See <https://docs.gradle.org/7.5/userguide/command_line_interface.html#sec:command_line_warnings>

Execution optimizations have been disabled for 6 invalid unit(s) of work during this build to ensure correctness.
Please consult deprecation warnings for more details.
110 actionable tasks: 110 executed

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':live:kotlinNpmInstall'.
>                 Process 'Resolving NPM dependencies using yarn' returns 1
                  
                  yarn install v1.22.17
  [1/4] Resolving packages...
  [2/4] Fetching packages...
  info Visit <https://yarnpkg.com/en/docs/cli/install> for documentation about this command.


* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================

2: Task 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
  [1/4] Resolving packages...
  [2/4] Fetching packages...
  info If you think this is a bug, please open a bug report with the information provided in "/Users/runner/work/root/root/viewmodel/build/js/yarn-error.log".
  info Visit <https://yarnpkg.com/en/docs/cli/install> for documentation about this command.


* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================

* Get more help at <https://help.gradle.org>

BUILD FAILED in 6m 11s
Error: Gradle build failed: see console output for details
98 Views