Skip to content

Instantly share code, notes, and snippets.

View oliv-yu's full-sized avatar

Olivia Yu oliv-yu

  • Liferay
  • Diamond Bar
View GitHub Profile
$ yarn test
yarn run v1.15.2
$ liferay-npm-scripts test
The system cannot find the file specified.
Command L:\repo\master-portal-dev\modules\node_modules\liferay-npm-scripts\node_modules\.bin\jest --config {"globals":{"Liferay":{}},"coverageDirectory":"build/coverage","modulePathIgnorePatterns":["/__fixtures__/","/build/","/classes/"],"testMatch":["**/test/**/*.js"],"testResultsProcessor":"liferay-jest-junit-reporter","testURL":"http://localhost","transform":{"\\.soy$":"L:\\repo\\master-portal-dev\\modules\\node_modules\\liferay-npm-scripts\\src\\jest\\transformSoy.js",".+":"L:\\repo\\master-portal-dev\\modules\\node_modules\\liferay-npm-scripts\\src\\jest\\transformBabel.js"},"moduleNameMapper":{"app-builder-web":"<rootDir>..\\..\\app-builder\\app-builder-web\\src\\main\\resources\\META-INF\\resources\\js\\index.es.js","app-builder-web/(.*)":"<rootDir>..\\..\\app-builder\\app-builder-web\\src\\main\\resources\\META-INF\\resources\\js/$1","dynamic-data-mapping-form-field-type/(.*)":"<rootDir>..\\..\\dynamic-d
[exec] * What went wrong:
[exec] Execution failed for task ':apps:frontend-taglib:frontend-taglib:npmRunBuild'.
[exec] > java.io.IOException: Process '[cmd, /c, ""L:\repo\master-portal-dev\build\node\node" "L:/repo/master-portal-dev/modules/yarn-1.13.0.js" "--production" "false" "run" "build""]' finished with non-zero exit value 1
[exec]
[exec] * Try:
[exec] Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[exec]
[exec] * Exception is:
[exec] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':apps:frontend-taglib:frontend-taglib:npmRunBuild'.
[exec] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
29ab8d4a46a1 wedeploy/dxpcloud-nginx:1.14.1-2.0.2 "supervisord -c /etc…" 4 hours ago Up 3 hours (healthy) 0.0.0.0:80->80/tcp ws
930d5e7d2329 wedeploy_mockmock "/bin/sh -c 'java -j…" 4 hours ago Up 4 hours 0.0.0.0:25->25/tcp, 0.0.0.0:8282->8282/tcp mm
88e4502e1122 mariadb:10.2.20 "docker-entrypoint.s…" 4 hours ago Up 4 hours 0.0.0.0:3307->3306/tcp db
##
## Script
##
'script' directory found. The following contents are going to be executed
/wedeploy-container/script
├── common
│   ├── configure_log4j.sh
│   ├── configure_saml.sh
│   ├── delete_license.sh
@oliv-yu
oliv-yu / gist:f0ff32bf7317c88e402c6b8dcecefe6d
Created February 21, 2019 01:19
Edit your build.gradle up
task up(type:Exec) {
group "WWW"
description "Sets up and starts all docker instances for project"
dependsOn 'deployLocal'
commandLine "docker-compose", "-f", "${localDockerComposeFile}", "up", "-d"
doFirst {
println "begin up"
}
doLast {
println "end up"
* What went wrong:
Execution failed for task ':up'.
> execCommand == null!
* Try:
Run with --info or --debug option to get more log output.
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':up'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:98)