I'm wondering if someone could help me figure out how to finish my Atlas
compile.

I'm following the build instructions here: https://github.com/apache/atlas
and using the 2.2.0 source from
https://www.apache.org/dyn/closer.cgi/atlas/2.2.0/apache-atlas-2.2.0-sources.tar.gz

I had to change the buildtools version in pom.xml to 0.8.1 to make it this
far, as discovered here:
https://ducfilan.wordpress.com/2021/07/29/installing-apache-atlas-and-its-awkward/

Here's the error I'm encountering when it gets to dashboardv2:

[INFO] --- frontend-maven-plugin:1.4:npm (npm install) @ atlas-dashboardv2
---


[INFO] Running 'npm install' in
/x/gardem/ATLAS/apache-atlas-sources-2.2.0/dashboardv2/target



[ERROR] internal/modules/cjs/loader.js:984



[ERROR]   throw err;



[ERROR]   ^



[ERROR]



[ERROR] Error: Cannot find module 'semver'



[ERROR] Require stack:



[ERROR] -
/x/gardem/ATLAS/apache-atlas-sources-2.2.0/dashboardv2/target/node/node_modules/npm/lib/utils/unsupported.js


[ERROR] -
/x/gardem/ATLAS/apache-atlas-sources-2.2.0/dashboardv2/target/node/node_modules/npm/bin/npm-cli.js



[ERROR]     at Function.Module._resolveFilename
(internal/modules/cjs/loader.js:981:15)


[ERROR]     at Function.Module._load
(internal/modules/cjs/loader.js:863:27)


[ERROR]     at Module.require (internal/modules/cjs/loader.js:1043:19)



[ERROR]     at require (internal/modules/cjs/helpers.js:77:18)



[ERROR]     at Object.<anonymous>
(/x/gardem/ATLAS/apache-atlas-sources-2.2.0/dashboardv2/target/node/node_modules/npm/lib/utils/unsupported.js:2:14)


[ERROR]     at Module._compile (internal/modules/cjs/loader.js:1157:30)



[ERROR]     at Object.Module._extensions..js
(internal/modules/cjs/loader.js:1177:10)


[ERROR]     at Module.load (internal/modules/cjs/loader.js:1001:32)



[ERROR]     at Function.Module._load
(internal/modules/cjs/loader.js:900:14)


[ERROR]     at Module.require (internal/modules/cjs/loader.js:1043:19) {



[ERROR]   code: 'MODULE_NOT_FOUND',



[ERROR]   requireStack: [



[ERROR]
'/x/gardem/ATLAS/apache-atlas-sources-2.2.0/dashboardv2/target/node/node_modules/npm/lib/utils/unsupported.js',


[ERROR]
'/x/gardem/ATLAS/apache-atlas-sources-2.2.0/dashboardv2/target/node/node_modules/npm/bin/npm-cli.js'


[ERROR]   ]



[ERROR] }



[INFO]
------------------------------------------------------------------------



[INFO] Reactor Summary:



[INFO]



[INFO] Apache Atlas Server Build Tools .................... SUCCESS [
 0.719 s]


[INFO] apache-atlas 2.2.0 ................................. SUCCESS [
 5.147 s]


[INFO] Apache Atlas Integration ........................... SUCCESS [
20.095 s]


[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [
 8.901 s]


[INFO] Apache Atlas Common ................................ SUCCESS [
 9.003 s]


[INFO] Apache Atlas Client ................................ SUCCESS [
 0.358 s]


[INFO] atlas-client-common ................................ SUCCESS [
 4.538 s]


[INFO] atlas-client-v1 .................................... SUCCESS [
 5.281 s]


[INFO] Apache Atlas Server API ............................ SUCCESS [
 6.837 s]


[INFO] Apache Atlas Notification .......................... SUCCESS [
11.072 s]


[INFO] atlas-client-v2 .................................... SUCCESS [
 4.899 s]


[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [
 0.356 s]


[INFO] Apache Atlas Graph Database API .................... SUCCESS [
 4.534 s]


[INFO] Graph Database Common Code ......................... SUCCESS [
 3.700 s]


[INFO] Apache Atlas JanusGraph-HBase2 Module .............. SUCCESS [
 5.433 s]


[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [
14.073 s]


[INFO] Apache Atlas Graph DB Dependencies ................. SUCCESS [
 1.375 s]


[INFO] Apache Atlas Authorization ......................... SUCCESS [
 7.535 s]


[INFO] Apache Atlas Repository ............................ SUCCESS [
34.258 s]


[INFO] Apache Atlas UI .................................... FAILURE [
13.342 s]
[INFO] Apache Atlas New UI ................................ SKIPPED



[INFO] Apache Atlas Web Application ....................... SKIPPED
[INFO] Apache Atlas Documentation ......................... SKIPPED
[INFO] Apache Atlas FileSystem Model ...................... SKIPPED
[INFO] Apache Atlas Plugin Classloader .................... SKIPPED
[INFO] Apache Atlas Hive Bridge Shim ...................... SKIPPED
[INFO] Apache Atlas Hive Bridge ........................... SKIPPED
[INFO] Apache Atlas Falcon Bridge Shim .................... SKIPPED
[INFO] Apache Atlas Falcon Bridge ......................... SKIPPED
[INFO] Apache Atlas Sqoop Bridge Shim ..................... SKIPPED
[INFO] Apache Atlas Sqoop Bridge .......................... SKIPPED
[INFO] Apache Atlas Storm Bridge Shim ..................... SKIPPED
[INFO] Apache Atlas Storm Bridge .......................... SKIPPED
[INFO] Apache Atlas Hbase Bridge Shim ..................... SKIPPED
[INFO] Apache Atlas Hbase Bridge .......................... SKIPPED
[INFO] Apache HBase - Testing Util ........................ SKIPPED
[INFO] Apache Atlas Kafka Bridge .......................... SKIPPED
[INFO] Apache Atlas classification updater ................ SKIPPED
[INFO] Apache Atlas index repair tool ..................... SKIPPED
[INFO] Apache Atlas Impala Hook API ....................... SKIPPED
[INFO] Apache Atlas Impala Bridge Shim .................... SKIPPED
[INFO] Apache Atlas Impala Bridge ......................... SKIPPED
[INFO] Apache Atlas Distribution .......................... SKIPPED
[INFO] atlas-examples ..................................... SKIPPED
[INFO] sample-app 2.2.0 ................................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 02:42 min
[INFO] Finished at: 2021-11-15T21:46:13-05:00
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
com.github.eirslett:frontend-maven-plugin:1.4:npm (npm install) on project
atlas-dashboardv2: Failed to run task: 'npm install' failed.
org.apache.commons.exec.ExecuteException: Process exited with an error: 1
(Exit value: 1) -> [H
elp 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal com.github.eirslett:frontend-maven-plugin:1.4:npm (npm install) on
project atlas-dashboardv2: Failed to run task
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:213)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:146)
    at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:117)
    at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:81)
    at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
(Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch
(Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
(Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main
(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoFailureException: Failed to run task
    at
com.github.eirslett.maven.plugins.frontend.mojo.AbstractFrontendMojo.execute
(AbstractFrontendMojo.java:121)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
(DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:208)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:146)
    at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:117)
    at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:81)
    at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
(Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch
(Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
(Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main
(Launcher.java:356)
Caused by:
com.github.eirslett.maven.plugins.frontend.lib.TaskRunnerException: 'npm
install' failed.
    at
com.github.eirslett.maven.plugins.frontend.lib.NodeTaskExecutor.execute
(NodeTaskExecutor.java:63)
    at com.github.eirslett.maven.plugins.frontend.mojo.NpmMojo.execute
(NpmMojo.java:62)
    at
com.github.eirslett.maven.plugins.frontend.mojo.AbstractFrontendMojo.execute
(AbstractFrontendMojo.java:115)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
(DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:208)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:146)
    at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:117)
    at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:81)
    at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
(Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch
(Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
(Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main
(Launcher.java:356)
Caused by:
com.github.eirslett.maven.plugins.frontend.lib.ProcessExecutionException:
org.apache.commons.exec.ExecuteException: Process exited with an error: 1
(Exit value: 1)
    at
com.github.eirslett.maven.plugins.frontend.lib.ProcessExecutor.execute
(ProcessExecutor.java:82)
    at
com.github.eirslett.maven.plugins.frontend.lib.ProcessExecutor.executeAndRedirectOutput
(ProcessExecutor.java:64)
    at
com.github.eirslett.maven.plugins.frontend.lib.NodeExecutor.executeAndRedirectOutput
(NodeExecutor.java:29)
    at
com.github.eirslett.maven.plugins.frontend.lib.NodeTaskExecutor.execute
(NodeTaskExecutor.java:58)
    at com.github.eirslett.maven.plugins.frontend.mojo.NpmMojo.execute
(NpmMojo.java:62)
    at
com.github.eirslett.maven.plugins.frontend.mojo.AbstractFrontendMojo.execute
(AbstractFrontendMojo.java:115)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
(DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:208)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:146)
    at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:117)
    at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:81)
    at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
(Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch
(Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
(Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main
(Launcher.java:356)
Caused by: org.apache.commons.exec.ExecuteException: Process exited with an
error: 1 (Exit value: 1)
    at org.apache.commons.exec.DefaultExecutor.executeInternal
(DefaultExecutor.java:404)
    at org.apache.commons.exec.DefaultExecutor.execute
(DefaultExecutor.java:166)
    at
com.github.eirslett.maven.plugins.frontend.lib.ProcessExecutor.execute
(ProcessExecutor.java:74)
    at
com.github.eirslett.maven.plugins.frontend.lib.ProcessExecutor.executeAndRedirectOutput
(ProcessExecutor.java:64)
    at
com.github.eirslett.maven.plugins.frontend.lib.NodeExecutor.executeAndRedirectOutput
(NodeExecutor.java:29)
    at
com.github.eirslett.maven.plugins.frontend.lib.NodeTaskExecutor.execute
(NodeTaskExecutor.java:58)
    at com.github.eirslett.maven.plugins.frontend.mojo.NpmMojo.execute
(NpmMojo.java:62)
    at
com.github.eirslett.maven.plugins.frontend.mojo.AbstractFrontendMojo.execute
(AbstractFrontendMojo.java:115)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
(DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:208)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:146)
    at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:117)
    at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:81)
    at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
(Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch
(Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
(Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main
(Launcher.java:356)
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :atlas-dashboardv2


...any help is very appreciated!

-G

Reply via email to