Hi, I upgraded node to 16.16.0 as i saw something in a log showing the version might of been lowere than required.
When i do a SUB_BUILD=PLATFORM ./gradlew build --info i see at the end this error:
Watching 648 directories to track changes
:buildDockerImage-server (Thread[included builds,5,main]) completed. Took 16.28 secs.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':airbyte-webapp:npm_run_build'.
> Process 'command '/home/paul/airbyte2/airbyte/airbyte-webapp/.gradle/nodejs/node-v16.15.1-linux-x64/bin/npm'' finished with non-zero exit value 243
And looking up further i can see its related to teh webapp:
> Task :airbyte-webapp:npm_run_build FAILED
Watching 642 directories to track changes
:airbyte-webapp:npm_run_build (Thread[Execution worker for ':',5,main]) completed. Took 2.247 secs.
I tried to just build the airbyte-webapp but its giving me the similar issue
SUB_BUILD=PLATFORM ./gradlew :airbyte-webapp:npm_run_build
Building Airbyte Sub Build: PLATFORM
Type-safe dependency accessors is an incubating feature.
> Task :airbyte-webapp:npm_run_build FAILED
> airbyte-webapp@0.39.41-alpha prebuild
> npm run generate-client
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':airbyte-webapp:npm_run_build'.
> Process 'command '/home/paul/airbyte2/airbyte/airbyte-webapp/.gradle/nodejs/node-v16.15.1-linux-x64/bin/npm'' finished with non-zero exit value 243
* 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
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.4/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 3s
13 actionable tasks: 1 executed, 12 up-to-date
running it with --info gives me:
> Task :airbyte-webapp:npmInstall UP-TO-DATE
Watching 24611 directories to track changes
Caching disabled for task ':airbyte-webapp:npmInstall' because:
Caching has not been enabled for the task
Skipping task ':airbyte-webapp:npmInstall' as it is up-to-date.
:airbyte-webapp:npmInstall (Thread[Execution worker for ':',5,main]) completed. Took 1.301 secs.
:airbyte-webapp:npm_run_build (Thread[Execution worker for ':',5,main]) started.
> Task :airbyte-webapp:npm_run_build FAILED
Caching disabled for task ':airbyte-webapp:npm_run_build' because:
Caching has not been enabled for the task
Task ':airbyte-webapp:npm_run_build' is not up-to-date because:
Task has failed previously.
Watching 24610 directories to track changes
Starting process 'command '/home/paul/airbyte2/airbyte/airbyte-webapp/.gradle/nodejs/node-v16.15.1-linux-x64/bin/npm''. Working directory: /home/paul/airbyte2/airbyte/airbyte-webapp Command: /home/paul/airbyte2/airbyte/airbyte-webapp/.gradle/nodejs/node-v16.15.1-linux-x64/bin/npm run build
Successfully started process 'command '/home/paul/airbyte2/airbyte/airbyte-webapp/.gradle/nodejs/node-v16.15.1-linux-x64/bin/npm''
> airbyte-webapp@0.39.41-alpha prebuild
> npm run generate-client
Watching 24611 directories to track changes
:airbyte-webapp:npm_run_build (Thread[Execution worker for ':',5,main]) completed. Took 0.604 secs.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':airbyte-webapp:npm_run_build'.
> Process 'command '/home/paul/airbyte2/airbyte/airbyte-webapp/.gradle/nodejs/node-v16.15.1-linux-x64/bin/npm'' finished with non-zero exit value 243
When i run it wth debug, these lines are the ones that could be of intrest
2022-08-05T15:02:08.962+1000 [LIFECYCLE] [class org.gradle.internal.buildevents.TaskExecutionLogger] > Task :airbyte-webapp:npm_run_build
2022-08-05T15:02:08.962+1000 [DEBUG] [org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter] Putting task artifact state for task ':airbyte-webapp:npm_run_build' into context took 0.0 secs.
2022-08-05T15:02:08.962+1000 [DEBUG] [org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep] Implementation for task ':airbyte-webapp:npm_run_build': com.github.gradle.node.npm.task.NpmTask_Decorated@5c357d326515d97e8a3596a1c29c6ac7
2022-08-05T15:02:08.962+1000 [DEBUG] [org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep] Additional implementations for task ':airbyte-webapp:npm_run_build': [com.github.gradle.node.npm.task.NpmTask_Decorated@5c357d326515d97e8a3596a1c29c6ac7]
2022-08-05T15:02:08.963+1000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Snapshot inputs and outputs before executing task ':airbyte-webapp:npm_run_build'' completed
2022-08-05T15:02:08.964+1000 [INFO] [org.gradle.internal.execution.steps.ResolveCachingStateStep] Caching disabled for task ':airbyte-webapp:npm_run_build' because:
Caching has not been enabled for the task
2022-08-05T15:02:08.964+1000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Snapshot task inputs for :airbyte-webapp:npm_run_build' completed
2022-08-05T15:02:08.964+1000 [DEBUG] [org.gradle.internal.execution.steps.SkipUpToDateStep] Determining if task ':airbyte-webapp:npm_run_build' is up-to-date
2022-08-05T15:02:08.964+1000 [INFO] [org.gradle.internal.execution.steps.SkipUpToDateStep] Task ':airbyte-webapp:npm_run_build' is not up-to-date because:
Task has failed previously.
2022-08-05T15:02:08.964+1000 [DEBUG] [org.gradle.internal.vfs.impl.AbstractVirtualFileSystem] Invalidating VFS paths: [/home/paul/airbyte2/airbyte/airbyte-webapp/build/app]
2022-08-05T15:02:08.964+1000 [INFO] [org.gradle.internal.watch.registry.impl.NonHierarchicalFileWatcherUpdater] Watching 24345 directories to track changes
2022-08-05T15:02:08.964+1000 [DEBUG] [org.gradle.internal.execution.steps.CreateOutputsStep] Ensuring directory exists for property $1 at /home/paul/airbyte2/airbyte/airbyte-webapp/build/app
2022-08-05T15:02:08.965+1000 [DEBUG] [org.gradle.api.internal.tasks.execution.TaskExecution] Executing actions for task ':airbyte-webapp:npm_run_build'.
2022-08-05T15:02:08.965+1000 [INFO] [org.gradle.process.internal.DefaultExecHandle] Starting process 'command '/home/paul/airbyte2/airbyte/airbyte-webapp/.gradle/nodejs/node-v16.15.1-linux-x64/bin/npm''. Working directory: /home/paul/airbyte2/airbyte/airbyte-webapp Command: /home/paul/airbyte2/airbyte/airbyte-webapp/.gradle/nodejs/node-v16.15.1-linux-x64/bin/npm run build
2022-08-05T15:02:08.965+1000 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing state to: STARTING
2022-08-05T15:02:08.966+1000 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Waiting until process started: command '/home/paul/airbyte2/airbyte/airbyte-webapp/.gradle/nodejs/node-v16.15.1-linux-x64/bin/npm'.
2022-08-05T15:02:08.968+1000 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing state to: STARTED
2022-08-05T15:02:08.968+1000 [DEBUG] [org.gradle.process.internal.ExecHandleRunner] waiting until streams are handled...
2022-08-05T15:02:08.969+1000 [INFO] [org.gradle.process.internal.DefaultExecHandle] Successfully started process 'command '/home/paul/airbyte2/airbyte/airbyte-webapp/.gradle/nodejs/node-v16.15.1-linux-x64/bin/npm''
2022-08-05T15:02:09.338+1000 [QUIET] [system.out]
2022-08-05T15:02:09.338+1000 [QUIET] [system.out] > airbyte-webapp@0.39.41-alpha prebuild
2022-08-05T15:02:09.338+1000 [QUIET] [system.out] > npm run generate-client
2022-08-05T15:02:09.338+1000 [QUIET] [system.out]
2022-08-05T15:02:09.672+1000 [ERROR] [system.err]
2022-08-05T15:02:09.684+1000 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing state to: FAILED
2022-08-05T15:02:09.684+1000 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Process 'command '/home/paul/airbyte2/airbyte/airbyte-webapp/.gradle/nodejs/node-v16.15.1-linux-x64/bin/npm'' finished with exit value 243 (state: FAILED)
2022-08-05T15:02:09.684+1000 [LIFECYCLE] [org.gradle.internal.operations.DefaultBuildOperationRunner]
2022-08-05T15:02:09.684+1000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Execute exec for :airbyte-webapp:npm_run_build'
2022-08-05T15:02:09.684+1000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Executing task ':airbyte-webapp:npm_run_build''
2022-08-05T15:02:09.685+1000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Snapshot outputs after executing task ':airbyte-webapp:npm_run_build'' started
2022-08-05T15:02:09.685+1000 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Snapshot outputs after executing task ':airbyte-webapp:npm_run_build''
2022-08-05T15:02:09.685+1000 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Opening cache outputFiles.bin (/home/paul/airbyte2/airbyte/.gradle/buildOutputCleanup/outputFiles.bin)
2022-08-05T15:02:11.284+1000 [LIFECYCLE] [class org.gradle.internal.buildevents.TaskExecutionLogger]
2022-08-05T15:02:11.284+1000 [LIFECYCLE] [class org.gradle.internal.buildevents.TaskExecutionLogger] > Task :airbyte-webapp:npm_run_build FAILED
If i go into /home/paul/airbyte2/airbyte/airbyte-webapp/.gradle/nodejs/node-v16.15.1-linux-x64/bin
and run npm run build
, i just get this output:
> airbyte-webapp@0.39.41-alpha prebuild
> npm run generate-client
Looking at the npm log file i see this:
0 verbose cli /home/paul/airbyte2/airbyte/airbyte-webapp/.gradle/nodejs/node-v16.15.1-linux-x64/bin/node /home/paul/airbyte2/airbyte/airbyte-webapp/.gradle/nodejs/node-v16.15.1-linux-x64/bin/npm
1 info using npm@8.11.0
2 info using node@v16.15.1
3 timing npm:load:whichnode Completed in 0ms
4 timing config:load:defaults Completed in 1ms
5 timing config:load:file:/home/paul/airbyte2/airbyte/airbyte-webapp/.gradle/nodejs/node-v16.15.1-linux-x64/lib/node_modules/npm/npmrc Completed in 1ms
6 timing config:load:builtin Completed in 1ms
7 timing config:load:cli Completed in 1ms
8 timing config:load:env Completed in 1ms
9 timing config:load:file:/home/paul/airbyte2/airbyte/airbyte-webapp/.npmrc Completed in 1ms
10 timing config:load:project Completed in 4ms
11 timing config:load:file:/root/.npmrc Completed in 1ms
12 timing config:load:user Completed in 1ms
13 timing config:load:file:/home/paul/airbyte2/airbyte/airbyte-webapp/.gradle/nodejs/node-v16.15.1-linux-x64/etc/npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:validate Completed in 1ms
16 timing config:load:credentials Completed in 0ms
17 timing config:load:setEnvs Completed in 1ms
18 timing config:load Completed in 11ms
19 timing npm:load:configload Completed in 11ms
20 timing npm:load:mkdirpcache Completed in 1ms
21 timing npm:load:mkdirplogs Completed in 1ms
22 verbose title npm run build
23 verbose argv "run" "build"
24 timing npm:load:setTitle Completed in 1ms
25 timing config:load:flatten Completed in 2ms
26 timing npm:load:display Completed in 2ms
27 verbose logfile logs-max:10 dir:/root/.npm/_logs
28 verbose logfile /root/.npm/_logs/2022-08-05T04_43_44_012Z-debug-0.log
29 timing npm:load:logFile Completed in 5ms
30 timing npm:load:timers Completed in 0ms
31 timing npm:load:configScope Completed in 0ms
32 timing npm:load Completed in 22ms
33 silly logfile start cleaning logs, removing 1 files
34 silly logfile done cleaning log files
35 timing command:run Completed in 291ms
36 verbose exit 243
37 timing npm Completed in 318ms
38 verbose code 243
I also tried to upgrade node th 16.15.1, no changes.
I am lost as to what else i can try. My VM is Ubuntu 22.04 LTS