Lissanro

dopa-frontend1205 build errors

Dec 4th, 2024
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.71 KB | Source Code | 0 0
  1. src/components/dashboard/dashboard-feature.tsx:29:7 - error TS6133: 'walletAddress2' is declared but its value is never read.
  2.  
  3. 29 const walletAddress2 = 'NpxdBJPv2rRvFEv7Ke6haYt1BJHr1bPfDauDCNuAzk2'
  4. ~~~~~~~~~~~~~~
  5.  
  6. vite.config.ts:36:9 - error TS2769: No overload matches this call.
  7. The last overload gave the following error.
  8. Type 'import("/mnt/primary/guest/pkgs/work/Matt/dopa-frontend1205/node_modules/esbuild/lib/main").Plugin' is not assignable to type 'import("/mnt/primary/guest/pkgs/work/Matt/dopa-frontend1205/node_modules/vite/node_modules/esbuild/lib/main").Plugin'.
  9. Types of property 'setup' are incompatible.
  10. Type '(build: import("/mnt/primary/guest/pkgs/work/Matt/dopa-frontend1205/node_modules/esbuild/lib/main").PluginBuild) => void | Promise<void>' is not assignable to type '(build: import("/mnt/primary/guest/pkgs/work/Matt/dopa-frontend1205/node_modules/vite/node_modules/esbuild/lib/main").PluginBuild) => void | Promise<void>'.
  11. Types of parameters 'build' and 'build' are incompatible.
  12. Type 'import("/mnt/primary/guest/pkgs/work/Matt/dopa-frontend1205/node_modules/vite/node_modules/esbuild/lib/main").PluginBuild' is not assignable to type 'import("/mnt/primary/guest/pkgs/work/Matt/dopa-frontend1205/node_modules/esbuild/lib/main").PluginBuild'.
  13. The types of 'initialOptions.plugins' are incompatible between these types.
  14. Type 'import("/mnt/primary/guest/pkgs/work/Matt/dopa-frontend1205/node_modules/vite/node_modules/esbuild/lib/main").Plugin[] | undefined' is not assignable to type 'import("/mnt/primary/guest/pkgs/work/Matt/dopa-frontend1205/node_modules/esbuild/lib/main").Plugin[] | undefined'.
  15. Type 'import("/mnt/primary/guest/pkgs/work/Matt/dopa-frontend1205/node_modules/vite/node_modules/esbuild/lib/main").Plugin[]' is not assignable to type 'import("/mnt/primary/guest/pkgs/work/Matt/dopa-frontend1205/node_modules/esbuild/lib/main").Plugin[]'.
  16. Type 'import("/mnt/primary/guest/pkgs/work/Matt/dopa-frontend1205/node_modules/vite/node_modules/esbuild/lib/main").Plugin' is not assignable to type 'import("/mnt/primary/guest/pkgs/work/Matt/dopa-frontend1205/node_modules/esbuild/lib/main").Plugin'.
  17. Types of property 'setup' are incompatible.
  18. Type '(build: import("/mnt/primary/guest/pkgs/work/Matt/dopa-frontend1205/node_modules/vite/node_modules/esbuild/lib/main").PluginBuild) => void | Promise<void>' is not assignable to type '(build: import("/mnt/primary/guest/pkgs/work/Matt/dopa-frontend1205/node_modules/esbuild/lib/main").PluginBuild) => void | Promise<void>'.
  19. Types of parameters 'build' and 'build' are incompatible.
  20. Type 'import("/mnt/primary/guest/pkgs/work/Matt/dopa-frontend1205/node_modules/esbuild/lib/main").PluginBuild' is not assignable to type 'import("/mnt/primary/guest/pkgs/work/Matt/dopa-frontend1205/node_modules/vite/node_modules/esbuild/lib/main").PluginBuild'.
  21. The types of 'initialOptions.packages' are incompatible between these types.
  22. Type '"bundle" | "external" | undefined' is not assignable to type '"external" | undefined'.
  23. Type '"bundle"' is not assignable to type '"external"'.
  24.  
  25. 36 NodeGlobalsPolyfillPlugin({
  26. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  27. 37 process: true,
  28. ~~~~~~~~~~~~~~~~~~~~~~~~
  29. 38 }),
  30. ~~~~~~~~~~
  31.  
  32. node_modules/vite/dist/node/index.d.ts:3194:18
  33. 3194 declare function defineConfig(config: UserConfigExport): UserConfigExport;
  34. ~~~~~~~~~~~~
  35. The last overload is declared here.
  36.  
  37.  
  38. Found 2 errors.
Advertisement
Add Comment
Please, Sign In to add comment