mpaiva / WCAG-Search-2

0 stars 0 forks source link

Compiling errors #1

Open mpaiva opened 4 months ago

mpaiva commented 4 months ago
[11:20:45 AM] File change detected. Starting incremental compilation...

node_modules/@figma/plugin-typings/index.d.ts:10:9 - error TS2649: Cannot augment module 'console' with value exports because it resolves to a non-module entity.

10   const console: Console
           ~~~~~~~

node_modules/@figma/plugin-typings/index.d.ts:27:9 - error TS2451: Cannot redeclare block-scoped variable 'fetch'.

27   const fetch: (url: string, init?: FetchOptions) => Promise<FetchResponse>
           ~~~~~

  node_modules/@types/node/globals.d.ts:370:14
    370     function fetch(
                     ~~~~~
    'fetch' was also declared here.

node_modules/@types/node/globals.d.ts:370:14 - error TS2451: Cannot redeclare block-scoped variable 'fetch'.

370     function fetch(
                 ~~~~~

  node_modules/@figma/plugin-typings/index.d.ts:27:9
    27   const fetch: (url: string, init?: FetchOptions) => Promise<FetchResponse>
               ~~~~~
    'fetch' was also declared here.

[11:20:45 AM] Found 3 errors. Watching for file changes.
mpaiva commented 4 months ago

https://discord.com/channels/675194100147945497/747656283058077696

mpaiva commented 4 months ago
vendor-core-7c04c45c60776fa2.min.js.br:15 ReferenceError: 'exports' is not defined
    at <anonymous> (PLUGIN_49_SOURCE:14)
    at call (native)
    at <eval> (PLUGIN_49_SOURCE:102)