You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Laszlo Kishalmi <la...@gmail.com> on 2020/01/16 02:21:25 UTC

VSCode tests breaks Travis

Travis is broken.

  [exec] node_modules/vscode-jsonrpc/lib/messageReader.d.ts(46,9): error TS1086: An accessor cannot be declared in an ambient context.
      [exec] node_modules/vscode-jsonrpc/lib/messageReader.d.ts(47,9): error TS1086: An accessor cannot be declared in an ambient context.
      [exec] node_modules/vscode-jsonrpc/lib/messageWriter.d.ts(20,9): error TS1086: An accessor cannot be declared in an ambient context.
      [exec] node_modules/vscode-jsonrpc/lib/messageWriter.d.ts(22,9): error TS1086: An accessor cannot be declared in an ambient context.
      [exec] node_modules/vscode-jsonrpc/lib/messages.d.ts(108,9): error TS1086: An accessor cannot be declared in an ambient context.
      [exec] node_modules/vscode-jsonrpc/lib/messages.d.ts(109,9): error TS1086: An accessor cannot be declared in an ambient context.
      [exec] node_modules/vscode-languageserver-types/lib/umd/main.d.ts(730,9): error TS1086: An accessor cannot be declared in an ambient context.
      [exec] npm ERR! code ELIFECYCLE
      [exec] npm ERR! errno 2
      [exec] npm ERR! apache-netbeans-java@0.0.1 compile: `tsc -p ./tsconfig.json`
      [exec] npm ERR! Exit status 2
      [exec] npm ERR!
      [exec] npm ERR! Failed at the apache-netbeans-java@0.0.1 compile script.
      [exec] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      [exec]
      [exec] npm ERR! A complete log of this run can be found in:
      [exec] npm ERR!     /home/travis/.npm/_logs/2020-01-15T23_44_40_271Z-debug.log

BUILD FAILED
/home/travis/build/apache/netbeans/java/java.lsp.server/build.xml:59: exec returned: 2


Re: VSCode tests breaks Travis

Posted by Jan Lahoda <la...@gmail.com>.
Seems some of the dependencies were upgraded, and need a new
typescript(?),  tried to fix here:
https://github.com/apache/netbeans/pull/1876

Jan

On Thu, Jan 16, 2020 at 7:04 AM Jan Lahoda <la...@gmail.com> wrote:

> Working on it, sorry for trouble.
>
> Jan
>
>
> On Thu, Jan 16, 2020 at 3:21 AM Laszlo Kishalmi <la...@gmail.com>
> wrote:
>
>> Travis is broken.
>>
>>   [exec] node_modules/vscode-jsonrpc/lib/messageReader.d.ts(46,9): error
>> TS1086: An accessor cannot be declared in an ambient context.
>>       [exec] node_modules/vscode-jsonrpc/lib/messageReader.d.ts(47,9):
>> error TS1086: An accessor cannot be declared in an ambient context.
>>       [exec] node_modules/vscode-jsonrpc/lib/messageWriter.d.ts(20,9):
>> error TS1086: An accessor cannot be declared in an ambient context.
>>       [exec] node_modules/vscode-jsonrpc/lib/messageWriter.d.ts(22,9):
>> error TS1086: An accessor cannot be declared in an ambient context.
>>       [exec] node_modules/vscode-jsonrpc/lib/messages.d.ts(108,9): error
>> TS1086: An accessor cannot be declared in an ambient context.
>>       [exec] node_modules/vscode-jsonrpc/lib/messages.d.ts(109,9): error
>> TS1086: An accessor cannot be declared in an ambient context.
>>       [exec]
>> node_modules/vscode-languageserver-types/lib/umd/main.d.ts(730,9): error
>> TS1086: An accessor cannot be declared in an ambient context.
>>       [exec] npm ERR! code ELIFECYCLE
>>       [exec] npm ERR! errno 2
>>       [exec] npm ERR! apache-netbeans-java@0.0.1 compile: `tsc -p
>> ./tsconfig.json`
>>       [exec] npm ERR! Exit status 2
>>       [exec] npm ERR!
>>       [exec] npm ERR! Failed at the apache-netbeans-java@0.0.1 compile
>> script.
>>       [exec] npm ERR! This is probably not a problem with npm. There is
>> likely additional logging output above.
>>       [exec]
>>       [exec] npm ERR! A complete log of this run can be found in:
>>       [exec] npm ERR!
>>  /home/travis/.npm/_logs/2020-01-15T23_44_40_271Z-debug.log
>>
>> BUILD FAILED
>> /home/travis/build/apache/netbeans/java/java.lsp.server/build.xml:59:
>> exec returned: 2
>>
>>

Re: VSCode tests breaks Travis

Posted by Jan Lahoda <la...@gmail.com>.
Working on it, sorry for trouble.

Jan


On Thu, Jan 16, 2020 at 3:21 AM Laszlo Kishalmi <la...@gmail.com>
wrote:

> Travis is broken.
>
>   [exec] node_modules/vscode-jsonrpc/lib/messageReader.d.ts(46,9): error
> TS1086: An accessor cannot be declared in an ambient context.
>       [exec] node_modules/vscode-jsonrpc/lib/messageReader.d.ts(47,9):
> error TS1086: An accessor cannot be declared in an ambient context.
>       [exec] node_modules/vscode-jsonrpc/lib/messageWriter.d.ts(20,9):
> error TS1086: An accessor cannot be declared in an ambient context.
>       [exec] node_modules/vscode-jsonrpc/lib/messageWriter.d.ts(22,9):
> error TS1086: An accessor cannot be declared in an ambient context.
>       [exec] node_modules/vscode-jsonrpc/lib/messages.d.ts(108,9): error
> TS1086: An accessor cannot be declared in an ambient context.
>       [exec] node_modules/vscode-jsonrpc/lib/messages.d.ts(109,9): error
> TS1086: An accessor cannot be declared in an ambient context.
>       [exec]
> node_modules/vscode-languageserver-types/lib/umd/main.d.ts(730,9): error
> TS1086: An accessor cannot be declared in an ambient context.
>       [exec] npm ERR! code ELIFECYCLE
>       [exec] npm ERR! errno 2
>       [exec] npm ERR! apache-netbeans-java@0.0.1 compile: `tsc -p
> ./tsconfig.json`
>       [exec] npm ERR! Exit status 2
>       [exec] npm ERR!
>       [exec] npm ERR! Failed at the apache-netbeans-java@0.0.1 compile
> script.
>       [exec] npm ERR! This is probably not a problem with npm. There is
> likely additional logging output above.
>       [exec]
>       [exec] npm ERR! A complete log of this run can be found in:
>       [exec] npm ERR!
>  /home/travis/.npm/_logs/2020-01-15T23_44_40_271Z-debug.log
>
> BUILD FAILED
> /home/travis/build/apache/netbeans/java/java.lsp.server/build.xml:59: exec
> returned: 2
>
>