Removed -offline, on Windows, still fail.  (I might try on Linux later). 

Would you be able to see what I am missing?

> Task :webapp:cas-server-webapp:npm_install
npm ERR! path C:\externalgit\cas-server\webapp\node_modules\osenv
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename 
'C:\externalgit\cas-server\webapp\node_modules\osenv' -> 
'C:\externalgit\cas-server\webapp\node_module
s\.osenv.DELETE'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!    
 
C:\Users\zhou_y\AppData\Roaming\npm-cache\_logs\2018-09-28T15_26_52_006Z-debug.log

> Task :webapp:cas-server-webapp:npm_install FAILED

> Task :webapp:cas-server-webapp-jetty:npm_install
npm ERR! path 
C:\externalgit\cas-server\webapp\node_modules\.staging\strip-ansi-e2a9459a
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename 
'C:\externalgit\cas-server\webapp\node_modules\.staging\strip-ansi-e2a9459a' 
-> 'C:\externalgit\cas-se
rver\webapp\node_modules\eslint\node_modules\strip-ansi'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

> Task :webapp:cas-server-webapp-tomcat:npm_install
npm ERR! path 
C:\externalgit\cas-server\webapp\node_modules\.staging\abbrev-5ee05bec
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename 
'C:\externalgit\cas-server\webapp\node_modules\.staging\abbrev-5ee05bec' -> 
'C:\externalgit\cas-server
\webapp\node_modules\abbrev'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!    
 
C:\Users\zhou_y\AppData\Roaming\npm-cache\_logs\2018-09-28T15_28_02_957Z-debug.log

> Task :webapp:cas-server-webapp-tomcat:npm_install FAILED

> Task :webapp:cas-server-webapp-jetty:npm_install FAILED

npm ERR! A complete log of this run can be found in:
npm ERR!    
 
C:\Users\zhou_y\AppData\Roaming\npm-cache\_logs\2018-09-28T15_28_02_852Z-debug.log

> Task :webapp:cas-server-webapp-undertow:npm_install

> [email protected] install 
C:\externalgit\cas-server\webapp\node_modules\node-sass
> node scripts/install.js

Downloading binary from 
https://github.com/sass/node-sass/releases/download/v4.9.0/win32-x64-57_binding.node
Download complete
Binary saved to 
C:\externalgit\cas-server\webapp\node_modules\node-sass\vendor\win32-x64-57\binding.node
Caching binary to 
C:\Users\zhou_y\AppData\Roaming\npm-cache\node-sass\4.9.0\win32-x64-57_binding.node

> [email protected] postinstall 
C:\externalgit\cas-server\webapp\node_modules\node-sass
> node scripts/build.js

Binary found at 
C:\externalgit\cas-server\webapp\node_modules\node-sass\vendor\win32-x64-57\binding.node
Testing binary
Binary is fine
added 177 packages and updated 393 packages in 158.437s

FAILURE: Build completed with 3 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':webapp:cas-server-webapp:npm_install'.
> Process 'command 
'C:\externalgit\cas-server\webapp\cas-server-webapp\.gradle\nodejs\node-v8.11.2-win-x64\npm.cmd''
 
finished with non-zero exit value -4058

* 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.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':webapp:cas-server-webapp-tomcat:npm_install'.
> Process 'command 
'C:\externalgit\cas-server\webapp\cas-server-webapp-tomcat\.gradle\nodejs\node-v8.11.2-win-x64\npm.cmd''
 
finished with non-zero exit value -4
058

* 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.
==============================================================================

3: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':webapp:cas-server-webapp-jetty:npm_install'.
> Process 'command 
'C:\externalgit\cas-server\webapp\cas-server-webapp-jetty\.gradle\nodejs\node-v8.11.2-win-x64\npm.cmd''
 
finished with non-zero exit value -40
58



On Thursday, September 27, 2018 at 5:21:27 PM UTC-4, Misagh Moayyed wrote:
>
> Your issue is:
> No cached version of com.google.code.findbugs:annotations:2.0.0 available 
> for offline mode.  
>
> And yet you're using the --offline flag.  Remove the flag and try again.
>
> --Misagh
>
> ------------------------------
>
> *From: *"JF Poulin" <[email protected] <javascript:>>
> *To: *"CAS Community" <[email protected] <javascript:>>
> *Sent: *Thursday, September 27, 2018 2:18:37 PM
> *Subject: *[cas-user] Re: CAS 5.3 build error
>
> The issue with google zxing and ANDROID_HOME seems to only happen when 
> building on Windows. I couldn't find a solid answer as to the impact on the 
> final build or any workarounds. I ended up moving my build environment to 
> linux to get building working much more smoothly and without errors.
>
>
> On Thursday, September 27, 2018 at 12:22:15 PM UTC-4, Yan Zhou wrote:
>>
>> Hello,
>> I followed the build process on CAS page,  doing the build on Windows. 
>>
>> This is my command, running from cas-server directory:  gradlew build 
>> install --parallel -x test -x javadoc -x check -offline
>>
>> Here is the error.
>>
>> > Task :webapp:cas-server-webapp-eureka-server:compileJava
>> Errors occurred while build effective model from 
>> C:\Users\zhou_y\.m3\repository\com\google\zxing\core\3.3.2\core-3.3.2.pom:
>>     'dependencyManagement.dependencies.dependency.systemPath' for 
>> com.google.android:android:jar must specify an absolute path but is 
>> /${env.ANDROID_HOME}/platf
>> orms/android-22/android.jar in com.google.zxing:core:3.3.2
>>
>> > Task :webapp:cas-server-webapp-bootadmin-server:war FAILED
>> > Task :webapp:cas-server-webapp-eureka-server:compileJava UP-TO-DATE
>>
>> > Task :api:cas-server-core-api-configuration-model:compileJava
>> Note: Some input files use unchecked or unsafe operations.
>> Note: Recompile with -Xlint:unchecked for details.
>>
>> FAILURE: Build failed with an exception.
>>
>> * What went wrong:
>> Could not resolve all files for configuration 
>> ':webapp:cas-server-webapp-bootadmin-server:runtimeClasspath'.
>> > Could not resolve com.google.code.findbugs:annotations:2.0.0.
>>   Required by:
>>       project :webapp:cas-server-webapp-bootadmin-server > 
>> com.netflix.zuul:zuul-core:1.3.0 > com.netflix.archaius:archaius-core:0.6.0
>>       project :webapp:cas-server-webapp-bootadmin-server > 
>> com.netflix.zuul:zuul-core:1.3.0 > com.netflix.servo:servo-core:0.7.2
>>    > No cached version of com.google.code.findbugs:annotations:2.0.0 
>> available for offline mode.
>>    > No cached version of com.google.code.findbugs:annotations:2.0.0 
>> available for offline mode.
>>    > No cached version of com.google.code.findbugs:annotations:2.0.0 
>> available for offline mode.
>>    > No cached version of com.google.code.findbugs:annotations:2.0.0 
>> available for offline mode.
>>    > No cached version of com.google.code.findbugs:annotations:2.0.0 
>> available for offline mode.
>>    > No cached version of com.google.code.findbugs:annotations:2.0.0 
>> available for offline mode.
>>    > No cached version of com.google.code.findbugs:annotations:2.0.0 
>> available for offline mode.
>>    > No cached version of com.google.code.findbugs:annotations:2.0.0 
>> available for offline mode.
>>    > No cached version of com.google.code.findbugs:annotations:2.0.0 
>> available for offline mode.
>>
>> * 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
>>
>> BUILD FAILED in 3m 30s
>> 1040 actionable tasks: 12 executed, 1028 up-to-date
>>
> -- 
> - Website: https://apereo.github.io/cas
> - Gitter Chatroom: https://gitter.im/apereo/cas
> - List Guidelines: https://goo.gl/1VRrw7
> - Contributions: https://goo.gl/mh7qDG
> --- 
> You received this message because you are subscribed to the Google Groups 
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/2a30e80f-8ef7-461d-b476-d977c523126c%40apereo.org
>  
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/2a30e80f-8ef7-461d-b476-d977c523126c%40apereo.org?utm_medium=email&utm_source=footer>
> .
>
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/cff8cb19-2c27-4a25-b609-59b6eb5d76c4%40apereo.org.

Reply via email to