jumpfm icon indicating copy to clipboard operation
jumpfm copied to clipboard

Building error

Open gadefox opened this issue 3 years ago • 1 comments

I'm trying to install the app on Debian 11 OS, unfortunately I'm getting the error bellow. Any idea? npm: 7.5.2 node: 12.22.5

node_modules/@types/node/index.d.ts:62:11 - error TS2300: Duplicate identifier 'IteratorResult'.

62 interface IteratorResult<T> { }
             ~~~~~~~~~~~~~~

  ../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.iterable.d.ts:41:6
    41 type IteratorResult<T, TReturn = any> = IteratorYieldResult<T> | IteratorReturnResult<TReturn>;
            ~~~~~~~~~~~~~~
    'IteratorResult' was also declared here.

../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.iterable.d.ts:41:6 - error TS2300: Duplicate identifier 'IteratorResult'.

41 type IteratorResult<T, TReturn = any> = IteratorYieldResult<T> | IteratorReturnResult<TReturn>;
        ~~~~~~~~~~~~~~

  node_modules/@types/node/index.d.ts:62:11
    62 interface IteratorResult<T> { }
                 ~~~~~~~~~~~~~~
    'IteratorResult' was also declared here.

gadefox avatar Aug 18 '21 13:08 gadefox

I changed global prefix to ~/.npm, but the error remains..

gadefox avatar Aug 18 '21 15:08 gadefox