Skip to content

I-#13 Hard to update next.js from 15.4.13 to 15.4.5 in coordinator for problems with typscript of dependencies #15

@vtamara

Description

@vtamara

AFter updating make sytnax produce errors like:

node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/ox/core/Solidity.ts:92:27 - error TS2737: BigInt literals are not available when targeting 
lower than ES2020.                                                                                                                                              
                                                                                                                                                                
92 export const maxUint120 = 2n ** 120n - 1n                                                                                                                    
                             ~~                                                                                                                                 
                                                                                                                                                                
node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/ox/core/Solidity.ts:92:27 - error TS2791: Exponentiation cannot be performed on 'bigint' va
lues unless the 'target' option is set to 'es2016' or later.                                                                                                    
                                                                                                                                                                
92 export const maxUint120 = 2n ** 120n - 1n                                                                                                                    
                             ~~~~~~~~~~                                                                                                                         
                                                                                                                                                                
node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/ox/core/Solidity.ts:92:33 - error TS2737: BigInt literals are not available when targeting 
lower than ES2020.                                                                                                                                              
                                                                                                                                                                
92 export const maxUint120 = 2n ** 120n - 1n                                                                                                                    
                                   ~~~~                                                                                                                         
                                                                                                                                                                
node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/ox/core/Solidity.ts:92:40 - error TS2737: BigInt literals are not available when targeting 
lower than ES2020.

Not solved just chaning target to es2020

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions