secure-ls icon indicating copy to clipboard operation
secure-ls copied to clipboard

secure-ls not compatible with pnpm + esBuild: has no exported member 'LZStringStatic'

Open LanderBeeuwsaert opened this issue 1 year ago • 0 comments

When I've installed secure-ls with pnpm and run it with esBuild I get:

X [ERROR] TS2694: Namespace '"C:/devprojects/node_modules/.pnpm/[email protected]/node_modules/lz-string/typings/lz-string"' has no exported member 'LZStringStatic'. [plugin angular-compiler]

node_modules/.pnpm/[email protected]/node_modules/secure-ls/dist/secure-ls.d.ts:24:23:
  24 │     LZString: LZString.LZStringStatic;
     ╵                        ~~~~~~~~~~~~~~

LanderBeeuwsaert avatar Dec 25 '23 12:12 LanderBeeuwsaert