Home
Support Forums

Help!Fail to build!

site name: saomiaoshenqi.netlify.app
Build problems:
I built it successfully with my computor,but fail to build with netlify deploy.
Build settings:


Here is the full log:

9:51:46 AM: Build ready to start
9:51:48 AM: build-image version: 2cee85eb7f808bf3b6e87378c5307f9411f0a332
9:51:48 AM: build-image tag: v3.8.0
9:51:48 AM: buildbot version: b7aeb2675f82192daa8545b22bebab9c3b179d0e
9:51:48 AM: Fetching cached dependencies
9:51:48 AM: Failed to fetch cache, continuing with build
9:51:48 AM: Starting to prepare the repo for build
9:51:49 AM: No cached dependencies found. Cloning fresh repo
9:51:49 AM: git clone https://github.com/goldenduo/compose-web-lp
9:51:51 AM: Preparing Git Reference refs/heads/scanner
9:51:52 AM: Parsing package.json dependencies
9:51:52 AM: Different publish path detected, going to use the one specified in the Netlify configuration file: 'build/distributions' versus './build/distributions' in the Netlify UI
9:51:53 AM: Starting build script
9:51:53 AM: Installing dependencies
9:51:53 AM: Python version set to 2.7
9:51:54 AM: v12.18.0 is already installed.
9:51:54 AM: Now using node v12.18.0 (npm v6.14.4)
9:51:54 AM: Started restoring cached build plugins
9:51:54 AM: Finished restoring cached build plugins
9:51:55 AM: Attempting ruby version 2.7.2, read from environment
9:51:56 AM: Using ruby version 2.7.2
9:51:56 AM: Using PHP version 5.6
9:51:56 AM: Started restoring cached go cache
9:51:56 AM: Finished restoring cached go cache
9:51:56 AM: go version go1.14.4 linux/amd64
9:51:56 AM: go version go1.14.4 linux/amd64
9:51:56 AM: Installing missing commands
9:51:56 AM: Verify run directory
9:51:57 AM: ​
9:51:57 AM: ────────────────────────────────────────────────────────────────
9:51:57 AM:   Netlify Build                                                 
9:51:57 AM: ────────────────────────────────────────────────────────────────
9:51:57 AM: ​
9:51:57 AM: ❯ Version
9:51:57 AM:   @netlify/build 12.26.0
9:51:57 AM: ​
9:51:57 AM: ❯ Flags
9:51:57 AM:   deployId: 60e265b24dd64e8ee61ef085
9:51:57 AM: ​
9:51:57 AM: ❯ Current directory
9:51:57 AM:   /opt/build/repo
9:51:57 AM: ​
9:51:57 AM: ❯ Config file
9:51:57 AM:   No config file was defined: using default values.
9:51:57 AM: ​
9:51:57 AM: ❯ Context
9:51:57 AM:   production
9:51:57 AM: ​
9:51:57 AM: ────────────────────────────────────────────────────────────────
9:51:57 AM:   1. Build command from Netlify app                             
9:51:57 AM: ────────────────────────────────────────────────────────────────
9:51:57 AM: ​
9:51:57 AM: $ bash ./gradlew jsBrowserDistribution --stacktrace
9:51:57 AM: Downloading https://services.gradle.org/distributions/gradle-7.0.2-all.zip
9:52:00 AM: ..............10%...............20%...............30%..............40%...............50%...............60%...............70%..............80%...............90%...............100%
9:52:03 AM: Welcome to Gradle 7.0.2!
9:52:03 AM: Here are the highlights of this release:
9:52:03 AM:  - File system watching enabled by default
9:52:03 AM:  - Support for running with and building Java 16 projects
9:52:03 AM:  - Native support for Apple Silicon processors
9:52:03 AM:  - Dependency catalog feature preview
9:52:03 AM: For more details see https://docs.gradle.org/7.0.2/release-notes.html
9:52:03 AM: Starting a Gradle Daemon (subsequent builds will be faster)
9:53:13 AM: FAILURE: Build failed with an exception.
9:53:13 AM: * Where:
9:53:13 AM: Build file '/opt/build/repo/build.gradle.kts' line: 3
9:53:13 AM: * What went wrong:
9:53:13 AM: Plugin [id: 'org.jetbrains.kotlin.multiplatform', version: '1.5.10'] was not found in any of the following sources:
9:53:13 AM: - Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
9:53:13 AM: - Plugin Repositories (could not resolve plugin artifact 'org.jetbrains.kotlin.multiplatform:org.jetbrains.kotlin.multiplatform.gradle.plugin:1.5.10')
9:53:13 AM:   Searched in the following repositories:
9:53:13 AM:     Gradle Central Plugin Repository
9:53:13 AM:     MavenRepo
9:53:13 AM:     Google
9:53:13 AM:     maven(https://maven.aliyun.com/repository/public)
9:53:13 AM:     maven2(https://repo1.maven.org/maven2/)
9:53:13 AM:     maven3(https://maven.google.com/)
9:53:13 AM:     maven4(https://plugins.gradle.org/m2/)
9:53:13 AM:     maven5(https://maven.aliyun.com/repository/gradle-plugin)
9:53:13 AM:     maven6(https://maven.aliyun.com/repository/spring/)
9:53:13 AM:     maven7(https://maven.pkg.jetbrains.space/public/p/compose/dev/)
9:53:13 AM: * Try:
9:53:13 AM: Run with --info or --debug option to get more log output. Run with --scan to get full insights.
9:53:13 AM: * Exception is:
9:53:13 AM: org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'org.jetbrains.kotlin.multiplatform', version: '1.5.10'] was not found in any of the following sources:
9:53:13 AM: - Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
9:53:13 AM: - Plugin Repositories (could not resolve plugin artifact 'org.jetbrains.kotlin.multiplatform:org.jetbrains.kotlin.multiplatform.gradle.plugin:1.5.10')
9:53:13 AM:   Searched in the following repositories:
9:53:13 AM:     Gradle Central Plugin Repository
9:53:13 AM:     MavenRepo
9:53:13 AM:     Google
9:53:13 AM:     maven(https://maven.aliyun.com/repository/public)
9:53:13 AM:     maven2(https://repo1.maven.org/maven2/)
9:53:13 AM:     maven3(https://maven.google.com/)
9:53:13 AM:     maven4(https://plugins.gradle.org/m2/)
9:53:13 AM:     maven5(https://maven.aliyun.com/repository/gradle-plugin)
9:53:13 AM:     maven6(https://maven.aliyun.com/repository/spring/)
9:53:13 AM:     maven7(https://maven.pkg.jetbrains.space/public/p/compose/dev/)
9:53:13 AM: 	at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.resolveToFoundResult(DefaultPluginRequestApplicator.java:222)
9:53:13 AM: 	at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.lambda$resolvePluginRequests$4(DefaultPluginRequestApplicator.java:148)
9:53:13 AM: 	at org.gradle.util.CollectionUtils.collect(CollectionUtils.java:207)
9:53:13 AM: 	at org.gradle.util.CollectionUtils.collect(CollectionUtils.java:201)
9:53:13 AM: 	at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.resolvePluginRequests(DefaultPluginRequestApplicator.java:146)
9:53:13 AM: 	at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.applyPlugins(DefaultPluginRequestApplicator.java:86)
9:53:13 AM: 	at org.gradle.kotlin.dsl.provider.PluginRequestsHandler.handle(PluginRequestsHandler.kt:48)
9:53:13 AM: 	at org.gradle.kotlin.dsl.provider.StandardKotlinScriptEvaluator$InterpreterHost.applyPluginsTo(KotlinScriptEvaluator.kt:192)
9:53:13 AM: 	at org.gradle.kotlin.dsl.execution.Interpreter$ProgramHost.applyPluginsTo(Interpreter.kt:373)
9:53:13 AM: 	at Program.execute(Unknown Source)
9:53:13 AM: 	at org.gradle.kotlin.dsl.execution.Interpreter$ProgramHost.eval(Interpreter.kt:506)
9:53:13 AM: 	at org.gradle.kotlin.dsl.execution.Interpreter.eval(Interpreter.kt:200)
9:53:13 AM: 	at org.gradle.kotlin.dsl.provider.StandardKotlinScriptEvaluator.evaluate(KotlinScriptEvaluator.kt:113)
9:53:13 AM: 	at org.gradle.kotlin.dsl.provider.KotlinScriptPluginFactory$create$1.invoke(KotlinScriptPluginFactory.kt:51)
9:53:13 AM: 	at org.gradle.kotlin.dsl.provider.KotlinScriptPluginFactory$create$1.invoke(KotlinScriptPluginFactory.kt:36)
9:53:13 AM: 	at org.gradle.kotlin.dsl.provider.KotlinScriptPlugin.apply(KotlinScriptPlugin.kt:34)
9:53:13 AM: 	at org.gradle.configuration.BuildOperationScriptPlugin$1.run(BuildOperationScriptPlugin.java:65)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutor.java:71)
9:53:13 AM: 	at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:71)
9:53:13 AM: 	at org.gradle.configuration.BuildOperationScriptPlugin.lambda$apply$0(BuildOperationScriptPlugin.java:62)
9:53:13 AM: 	at org.gradle.configuration.internal.DefaultUserCodeApplicationContext.apply(DefaultUserCodeApplicationContext.java:43)
9:53:13 AM: 	at org.gradle.configuration.BuildOperationScriptPlugin.apply(BuildOperationScriptPlugin.java:62)
9:53:13 AM: 	at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.lambda$applyToMutableState$0(DefaultProjectStateRegistry.java:250)
9:53:13 AM: 	at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.fromMutableState(DefaultProjectStateRegistry.java:277)
9:53:13 AM: 	at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.applyToMutableState(DefaultProjectStateRegistry.java:249)
9:53:13 AM: 	at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:42)
9:53:13 AM: 	at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:26)
9:53:13 AM: 	at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:35)
9:53:13 AM: 	at org.gradle.configuration.project.LifecycleProjectEvaluator$EvaluateProject.lambda$run$0(LifecycleProjectEvaluator.java:100)
9:53:13 AM: 	at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.lambda$applyToMutableState$0(DefaultProjectStateRegistry.java:250)
9:53:13 AM: 	at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.lambda$withProjectLock$3(DefaultProjectStateRegistry.java:310)
9:53:13 AM: 	at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:213)
9:53:13 AM: 	at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.withProjectLock(DefaultProjectStateRegistry.java:310)
9:53:13 AM: 	at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.fromMutableState(DefaultProjectStateRegistry.java:291)
9:53:13 AM: 	at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.applyToMutableState(DefaultProjectStateRegistry.java:249)
9:53:13 AM: 	at org.gradle.configuration.project.LifecycleProjectEvaluator$EvaluateProject.run(LifecycleProjectEvaluator.java:91)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutor.java:71)
9:53:13 AM: 	at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:71)
9:53:13 AM: 	at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:63)
9:53:13 AM: 	at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:723)
9:53:13 AM: 	at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:150)
9:53:13 AM: 	at org.gradle.execution.TaskPathProjectEvaluator.configure(TaskPathProjectEvaluator.java:41)
9:53:13 AM: 	at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:67)
9:53:13 AM: 	at org.gradle.configuration.DefaultProjectsPreparer.prepareProjects(DefaultProjectsPreparer.java:46)
9:53:13 AM: 	at org.gradle.configuration.BuildTreePreparingProjectsPreparer.prepareProjects(BuildTreePreparingProjectsPreparer.java:64)
9:53:13 AM: 	at org.gradle.configuration.BuildOperationFiringProjectsPreparer$ConfigureBuild.run(BuildOperationFiringProjectsPreparer.java:52)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutor.java:71)
9:53:13 AM: 	at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:71)
9:53:13 AM: 	at org.gradle.configuration.BuildOperationFiringProjectsPreparer.prepareProjects(BuildOperationFiringProjectsPreparer.java:40)
9:53:13 AM: 	at org.gradle.initialization.DefaultGradleLauncher.prepareProjects(DefaultGradleLauncher.java:226)
9:53:13 AM: 	at org.gradle.initialization.DefaultGradleLauncher.doClassicBuildStages(DefaultGradleLauncher.java:164)
9:53:13 AM: 	at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:149)
9:53:13 AM: 	at org.gradle.initialization.DefaultGradleLauncher.executeTasks(DefaultGradleLauncher.java:125)
9:53:13 AM: 	at org.gradle.internal.invocation.GradleBuildController$1.create(GradleBuildController.java:71)
9:53:13 AM: 	at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:213)
9:53:13 AM: 	at org.gradle.internal.invocation.GradleBuildController.doBuild(GradleBuildController.java:67)
9:53:13 AM: 	at org.gradle.internal.invocation.GradleBuildController.run(GradleBuildController.java:56)
9:53:13 AM: 	at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:31)
9:53:13 AM: 	at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
9:53:13 AM: 	at org.gradle.launcher.exec.BuildOutcomeReportingBuildActionRunner.run(BuildOutcomeReportingBuildActionRunner.java:66)
9:53:13 AM: 	at org.gradle.tooling.internal.provider.ValidatingBuildActionRunner.run(ValidatingBuildActionRunner.java:32)
9:53:13 AM: 	at org.gradle.tooling.internal.provider.FileSystemWatchingBuildActionRunner.run(FileSystemWatchingBuildActionRunner.java:90)
9:53:13 AM: 	at org.gradle.launcher.exec.BuildCompletionNotifyingBuildActionRunner.run(BuildCompletionNotifyingBuildActionRunner.java:41)
9:53:13 AM: 	at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.call(RunAsBuildOperationBuildActionRunner.java:49)
9:53:13 AM: 	at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.call(RunAsBuildOperationBuildActionRunner.java:44)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:62)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$call$2(DefaultBuildOperationExecutor.java:76)
9:53:13 AM: 	at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.callWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:54)
9:53:13 AM: 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:76)
9:53:13 AM: 	at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner.run(RunAsBuildOperationBuildActionRunner.java:44)
9:53:13 AM: 	at org.gradle.launcher.exec.InProcessBuildActionExecuter.lambda$execute$0(InProcessBuildActionExecuter.java:59)
9:53:13 AM: 	at org.gradle.composite.internal.DefaultRootBuildState.run(DefaultRootBuildState.java:86)
9:53:13 AM: 	at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:58)
9:53:13 AM: 	at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)
9:53:13 AM: 	at org.gradle.launcher.exec.BuildTreeScopeLifecycleBuildActionExecuter.lambda$execute$0(BuildTreeScopeLifecycleBuildActionExecuter.java:34)
9:53:13 AM: 	at org.gradle.internal.buildtree.BuildTreeState.run(BuildTreeState.java:53)
9:53:13 AM: 	at org.gradle.launcher.exec.BuildTreeScopeLifecycleBuildActionExecuter.execute(BuildTreeScopeLifecycleBuildActionExecuter.java:33)
9:53:13 AM: 	at org.gradle.launcher.exec.BuildTreeScopeLifecycleBuildActionExecuter.execute(BuildTreeScopeLifecycleBuildActionExecuter.java:28)
9:53:13 AM: 	at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:104)
9:53:13 AM: 	at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:55)
9:53:13 AM: 	at org.gradle.tooling.internal.provider.SubscribableBuildActionExecuter.execute(SubscribableBuildActionExecuter.java:64)
9:53:13 AM: 	at org.gradle.tooling.internal.provider.SubscribableBuildActionExecuter.execute(SubscribableBuildActionExecuter.java:37)
9:53:13 AM: 	at org.gradle.tooling.internal.provider.SessionScopeLifecycleBuildActionExecuter.lambda$execute$0(SessionScopeLifecycleBuildActionExecuter.java:54)
9:53:13 AM: 	at org.gradle.internal.session.BuildSessionState.run(BuildSessionState.java:67)
9:53:13 AM: 	at org.gradle.tooling.internal.provider.SessionScopeLifecycleBuildActionExecuter.execute(SessionScopeLifecycleBuildActionExecuter.java:50)
9:53:13 AM: 	at org.gradle.tooling.internal.provider.SessionScopeLifecycleBuildActionExecuter.execute(SessionScopeLifecycleBuildActionExecuter.java:36)
9:53:13 AM: 	at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:36)
9:53:13 AM: 	at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:25)
9:53:13 AM: 	at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:59)
9:53:13 AM: 	at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:31)
9:53:13 AM: 	at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:58)
9:53:13 AM: 	at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:42)
9:53:13 AM: 	at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:47)
9:53:13 AM: 	at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:31)
9:53:13 AM: 	at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:65)
9:53:13 AM: 	at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
9:53:13 AM: 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
9:53:13 AM: 	at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:39)
9:53:13 AM: 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
9:53:13 AM: 	at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:29)
9:53:13 AM: 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
9:53:13 AM: 	at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:35)
9:53:13 AM: 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
9:53:13 AM: 	at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:78)
9:53:13 AM: 	at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:75)
9:53:13 AM: 	at org.gradle.util.Swapper.swap(Swapper.java:38)
9:53:13 AM: 	at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:75)
9:53:13 AM: 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
9:53:13 AM: 	at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)
9:53:13 AM: 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
9:53:13 AM: 	at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:63)
9:53:13 AM: 	at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
9:53:13 AM: 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
9:53:13 AM: 	at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:84)
9:53:13 AM: 	at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
9:53:13 AM: 	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
9:53:13 AM: 	at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:52)
9:53:13 AM: 	at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)
9:53:13 AM: 	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
9:53:13 AM: 	at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
9:53:13 AM: 	at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
9:53:13 AM: * Get more help at https://help.gradle.org
9:53:13 AM: BUILD FAILED in 1m 16s
9:53:14 AM: ​
9:53:14 AM: ────────────────────────────────────────────────────────────────
9:53:14 AM:   "build.command" failed                                        
9:53:14 AM: ────────────────────────────────────────────────────────────────
9:53:14 AM: ​
9:53:14 AM:   Error message
9:53:14 AM:   Command failed with exit code 1: bash ./gradlew jsBrowserDistribution --stacktrace
9:53:14 AM: ​
9:53:14 AM:   Error location
9:53:14 AM:   In Build command from Netlify app:
9:53:14 AM:   bash ./gradlew jsBrowserDistribution --stacktrace
9:53:14 AM: ​
9:53:14 AM:   Resolved config
9:53:14 AM:   build:
9:53:14 AM:     command: bash ./gradlew jsBrowserDistribution --stacktrace
9:53:14 AM:     commandOrigin: ui
9:53:14 AM:     publish: /opt/build/repo/build/distributions
9:53:14 AM:     publishOrigin: ui
9:53:14 AM:   functions:
9:53:14 AM:     '*': {}
9:53:14 AM: Caching artifacts
9:53:14 AM: Started saving build plugins
9:53:14 AM: Finished saving build plugins
9:53:14 AM: Started saving pip cache
9:53:14 AM: Finished saving pip cache
9:53:14 AM: Started saving emacs cask dependencies
9:53:14 AM: Finished saving emacs cask dependencies
9:53:14 AM: Started saving maven dependencies
9:53:14 AM: Finished saving maven dependencies
9:53:14 AM: Started saving boot dependencies
9:53:14 AM: Finished saving boot dependencies
9:53:14 AM: Started saving rust rustup cache
9:53:14 AM: Finished saving rust rustup cache
9:53:14 AM: Started saving go dependencies
9:53:14 AM: Finished saving go dependencies
9:53:17 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
9:53:17 AM: Creating deploy upload records
9:53:17 AM: Failing build: Failed to build site
9:53:17 AM: Failed during stage 'building site': Build script returned non-zero exit code: 2
9:53:17 AM: Finished processing build request in 1m29.329145632s

@goldenduo

Are you sure you’re building a website with Gradle?

1 Like