Skip to content

Instantly share code, notes, and snippets.

@NolanChan
Created December 14, 2016 20:01
Show Gist options
  • Save NolanChan/bf43e1f7ef938fe9df3136d01c18101d to your computer and use it in GitHub Desktop.
Save NolanChan/bf43e1f7ef938fe9df3136d01c18101d to your computer and use it in GitHub Desktop.
master build error
[exec] :apps:foundation:contacts:contacts-web:[email protected] /Users/nolanchan/Repos/liferay-portal-ee-master/modules/apps/collaboration/wiki/wiki-web
[exec] └── (empty)
[exec]
[exec]
[exec] Note: Some input files use or override a deprecated API.
[exec] Note: Recompile with -Xlint:deprecation for details.
[exec] Note: /Users/nolanchan/Repos/liferay-portal-ee-master/modules/apps/foundation/contacts/contacts-web/src/main/java/com/liferay/contacts/web/internal/portlet/ContactsCenterPortlet.java uses unchecked or unsafe operations.
[exec] Note: Recompile with -Xlint:unchecked for details.
[exec] npm WARN [email protected] No description
[exec] npm WARN [email protected] No repository field.
[exec] npm WARN [email protected] No license field.
[exec] npm ERR! code 1
[exec] :apps:foundation:contacts:contacts-web:buildCSS
[exec] :apps:collaboration:wiki:wiki-web:npmInstall FAILED
[exec] Parsed /META-INF/resources/css/main.scss in 1552ms
[exec] Using native Sass compiler
[exec] Parsed /META-INF/resources/css/main.scss in 838ms
[exec]
[exec] FAILURE: Build failed with an exception.
[exec]
[exec] * What went wrong:
[exec] Execution failed for task ':apps:collaboration:wiki:wiki-web:npmInstall'.
[exec] > java.io.IOException: Process '[/Users/nolanchan/Repos/liferay-portal-ee-master/modules/apps/collaboration/wiki/wiki-web/build/node/bin/node, /Users/nolanchan/Repos/liferay-portal-ee-master/modules/apps/collaboration/wiki/wiki-web/build/node/lib/node_modules/npm/bin/npm-cli.js, --cache, /Users/nolanchan/Repos/liferay-portal-ee-master/modules/apps/collaboration/wiki/wiki-web/build/node/.cache, --loglevel, warn, --progress, true, install]' finished with non-zero exit value 1
[exec]
[exec] * Try:
[exec] Run with --info or --debug option to get more log output.
[exec]
[exec] * Exception is:
[exec]
[exec] BUILD FAILED
[exec]
[exec] Total time: 3 mins 39.83 secs
[exec] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':apps:collaboration:wiki:wiki-web:npmInstall'.
[exec] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:84)
[exec] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:55)
[exec] at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:61)
[exec] at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
[exec] at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88)
[exec] at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:45)
[exec] at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:51)
[exec] at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
[exec] at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
[exec] at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
[exec] at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:233)
[exec] at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:215)
[exec] at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:74)
[exec] at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:55)
[exec] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
[exec] at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
[exec] Caused by: org.gradle.api.UncheckedIOException: java.io.IOException: Process '[/Users/nolanchan/Repos/liferay-portal-ee-master/modules/apps/collaboration/wiki/wiki-web/build/node/bin/node, /Users/nolanchan/Repos/liferay-portal-ee-master/modules/apps/collaboration/wiki/wiki-web/build/node/lib/node_modules/npm/bin/npm-cli.js, --cache, /Users/nolanchan/Repos/liferay-portal-ee-master/modules/apps/collaboration/wiki/wiki-web/build/node/.cache, --loglevel, warn, --progress, true, install]' finished with non-zero exit value 1
[exec] at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:43)
[exec] at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:76)
[exec] at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.doExecute(DefaultTaskClassInfoStore.java:141)
[exec] at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:134)
[exec] at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:123)
[exec] at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:624)
[exec] at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:607)
[exec] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:95)
[exec] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:76)
[exec] ... 15 more
[exec] Caused by: java.io.IOException: Process '[/Users/nolanchan/Repos/liferay-portal-ee-master/modules/apps/collaboration/wiki/wiki-web/build/node/bin/node, /Users/nolanchan/Repos/liferay-portal-ee-master/modules/apps/collaboration/wiki/wiki-web/build/node/lib/node_modules/npm/bin/npm-cli.js, --cache, /Users/nolanchan/Repos/liferay-portal-ee-master/modules/apps/collaboration/wiki/wiki-web/build/node/.cache, --loglevel, warn, --progress, true, install]' finished with non-zero exit value 1
[exec] at com.liferay.gradle.plugins.node.internal.NodeExecutor._executeProcessBuilder(NodeExecutor.java:163)
[exec] at com.liferay.gradle.plugins.node.internal.NodeExecutor.execute(NodeExecutor.java:70)
[exec] at com.liferay.gradle.plugins.node.tasks.ExecuteNodeTask.executeNode(ExecuteNodeTask.java:64)
[exec] at com.liferay.gradle.plugins.node.tasks.ExecuteNodeScriptTask.executeNode(ExecuteNodeScriptTask.java:37)
[exec] at com.liferay.gradle.plugins.node.tasks.ExecuteNpmTask.executeNode(ExecuteNpmTask.java:88)
[exec] at com.liferay.gradle.plugins.node.tasks.NpmInstallTask._npmInstall(NpmInstallTask.java:333)
[exec] at com.liferay.gradle.plugins.node.tasks.NpmInstallTask.executeNpmInstall(NpmInstallTask.java:206)
[exec] at com.liferay.gradle.plugins.node.tasks.NpmInstallTask.executeNode(NpmInstallTask.java:96)
[exec] at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
[exec] ... 22 more
[exec]
[exec]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment