eirslett/frontend-maven-plugin

frontend-maven-plugin:1.12.1:install-node-and-yarn BUILD FAILURE

worknet1018 opened this issue · 0 comments

frontend-maven-plugin:1.12.1:install-node-and-yarn:
Downloading https://mirrors.huaweicloud.com/yarn/v1.22.19/yarn-v1.22.19.tar.gz to /opt/maven/apache-maven-3.8.1/myrepository/com/github/eirslett/yarn/1.22.19/yarn-1.22.19.tar.gz
[INFO] No proxies configured
[INFO] No proxy was configured, downloading directly
[INFO] Unpacking /opt/maven/apache-maven-3.8.1/myrepository/com/github/eirslett/yarn/1.22.19/yarn-1.22.19.tar.gz into /opt/start.spring.io/start-client/node/yarn
[INFO] Installed Yarn locally.
[INFO]
[INFO] --- frontend-maven-plugin:1.12.1:yarn (yarn install) @ start-client ---
[INFO] Running 'yarn install --registry=https://registry.npmmirror.com/' in /opt/start.spring.io/start-client
[INFO] yarn install v1.22.19
[INFO] [1/4] Resolving packages...
[INFO] [2/4] Fetching packages...
[INFO] warning " > react-markdown@8.0.7" has unmet peer dependency "@types/react@>=16".
[INFO] [3/4] Linking dependencies...
[INFO] [4/4] Building fresh packages...
[INFO] error /opt/start.spring.io/start-client/node_modules/node-sass: Command failed.
[INFO] Exit code: 1
[INFO] Command: node scripts/install.js
[INFO] Arguments:
[INFO] Directory: /opt/start.spring.io/start-client/node_modules/node-sass
[INFO] Output:
[INFO] node:internal/modules/cjs/loader:1029
[INFO] throw err;
[INFO] ^
[INFO]
[INFO] Error: Cannot find module './data/rules.json'
[INFO] Require stack:
[INFO] - /opt/start.spring.io/start-client/node_modules/psl/index.js
[INFO] - /opt/start.spring.io/start-client/node_modules/tough-cookie/lib/pubsuffix-psl.js
[INFO] - /opt/start.spring.io/start-client/node_modules/tough-cookie/lib/cookie.js
[INFO] - /opt/start.spring.io/start-client/node_modules/request/lib/cookies.js
[INFO] - /opt/start.spring.io/start-client/node_modules/request/index.js
[INFO] - /opt/start.spring.io/start-client/node_modules/node-sass/scripts/install.js
[INFO] at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1026:15)
[INFO] at Function.Module._load (node:internal/modules/cjs/loader:871:27)
[INFO] at Module.require (node:internal/modules/cjs/loader:1098:19)
[INFO] at require (node:internal/modules/cjs/helpers:108:18)
[INFO] at Object. (/opt/start.spring.io/start-client/node_modules/psl/index.js:14:19)
[INFO] at Module._compile (node:internal/modules/cjs/loader:1196:14)
[INFO] at Object.Module._extensions..js (node:internal/modules/cjs/loader:1250:10)
[INFO] at Module.load (node:internal/modules/cjs/loader:1074:32)
[INFO] at Function.Module._load (node:internal/modules/cjs/loader:909:12)
[INFO] at Module.require (node:internal/modules/cjs/loader:1098:19) {
[INFO] code: 'MODULE_NOT_FOUND',
[INFO] requireStack: [
[INFO] '/opt/start.spring.io/start-client/node_modules/psl/index.js',
[INFO] '/opt/start.spring.io/start-client/node_modules/tough-cookie/lib/pubsuffix-psl.js',
[INFO] '/opt/start.spring.io/start-client/node_modules/tough-cookie/lib/cookie.js',
[INFO] '/opt/start.spring.io/start-client/node_modules/request/lib/cookies.js',
[INFO] '/opt/start.spring.io/start-client/node_modules/request/index.js',
[INFO] '/opt/start.spring.io/start-client/node_modules/node-sass/scripts/install.js'
[INFO] ]
[INFO] }
[INFO] Directory: /opt/start.spring.io/start-client/node_modules/node-sassinfo Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26.251 s
[INFO] Finished at: 2023-11-15T23:50:25-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.12.1:yarn (yarn install) on project start-client: Failed to run task: 'yarn install --registry=https://registry.npmmirror.com/' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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