themesberg / flowbite-svelte

Official Svelte components built for Flowbite and Tailwind CSS
https://flowbite-svelte.com
MIT License
2.17k stars 267 forks source link

Problem with sveltekit 1.0.0 #489

Closed shinokada closed 1 year ago

shinokada commented 1 year ago

Describe the bug

Following the Getting Started page, it returns errors:

✘ [ERROR] The symbol "click_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/dropdowns/DropdownItem.svelte:344:10:
      344 │   function click_handler(event) {
          ╵            ~~~~~~~~~~~~~

  The symbol "click_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/dropdowns/DropdownItem.svelte:312:10:
      312 │   function click_handler(event) {
          ╵            ~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/dropdowns/DropdownItem.svelte:462:0:
      462 │ export default DropdownItem;//# sourceMappingURL=data:application/...
          ╵ ~~~~~~

✘ [ERROR] The symbol "change_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/dropdowns/DropdownItem.svelte:348:10:
      348 │   function change_handler(event) {
          ╵            ~~~~~~~~~~~~~~

  The symbol "change_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/dropdowns/DropdownItem.svelte:316:10:
      316 │   function change_handler(event) {
          ╵            ~~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/dropdowns/DropdownItem.svelte:462:0:
      462 │ export default DropdownItem;//# sourceMappingURL=data:application/...
          ╵ ~~~~~~

✘ [ERROR] The symbol "keydown_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/dropdowns/DropdownItem.svelte:352:10:
      352 │   function keydown_handler(event) {
          ╵            ~~~~~~~~~~~~~~~

  The symbol "keydown_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/dropdowns/DropdownItem.svelte:320:10:
      320 │   function keydown_handler(event) {
          ╵            ~~~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/dropdowns/DropdownItem.svelte:462:0:
      462 │ export default DropdownItem;//# sourceMappingURL=data:application/...
          ╵ ~~~~~~

✘ [ERROR] The symbol "keyup_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/dropdowns/DropdownItem.svelte:356:10:
      356 │   function keyup_handler(event) {
          ╵            ~~~~~~~~~~~~~

  The symbol "keyup_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/dropdowns/DropdownItem.svelte:324:10:
      324 │   function keyup_handler(event) {
          ╵            ~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/dropdowns/DropdownItem.svelte:462:0:
      462 │ export default DropdownItem;//# sourceMappingURL=data:application/...
          ╵ ~~~~~~

✘ [ERROR] The symbol "focus_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/dropdowns/DropdownItem.svelte:360:10:
      360 │   function focus_handler(event) {
          ╵            ~~~~~~~~~~~~~

  The symbol "focus_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/dropdowns/DropdownItem.svelte:328:10:
      328 │   function focus_handler(event) {
          ╵            ~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/dropdowns/DropdownItem.svelte:462:0:
      462 │ export default DropdownItem;//# sourceMappingURL=data:application/...
          ╵ ~~~~~~

✘ [ERROR] The symbol "blur_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/dropdowns/DropdownItem.svelte:364:10:
      364 │   function blur_handler(event) {
          ╵            ~~~~~~~~~~~~

  The symbol "blur_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/dropdowns/DropdownItem.svelte:332:10:
      332 │   function blur_handler(event) {
          ╵            ~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/dropdowns/DropdownItem.svelte:462:0:
      462 │ export default DropdownItem;//# sourceMappingURL=data:application/...
          ╵ ~~~~~~

✘ [ERROR] The symbol "mouseenter_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/dropdowns/DropdownItem.svelte:368:10:
      368 │   function mouseenter_handler(event) {
          ╵            ~~~~~~~~~~~~~~~~~~

  The symbol "mouseenter_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/dropdowns/DropdownItem.svelte:336:10:
      336 │   function mouseenter_handler(event) {
          ╵            ~~~~~~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/dropdowns/DropdownItem.svelte:462:0:
      462 │ export default DropdownItem;//# sourceMappingURL=data:application/...
          ╵ ~~~~~~

✘ [ERROR] The symbol "mouseleave_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/dropdowns/DropdownItem.svelte:372:10:
      372 │   function mouseleave_handler(event) {
          ╵            ~~~~~~~~~~~~~~~~~~

  The symbol "mouseleave_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/dropdowns/DropdownItem.svelte:340:10:
      340 │   function mouseleave_handler(event) {
          ╵            ~~~~~~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/dropdowns/DropdownItem.svelte:462:0:
      462 │ export default DropdownItem;//# sourceMappingURL=data:application/...
          ╵ ~~~~~~

✘ [ERROR] The symbol "click_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/buttons/Button.svelte:563:10:
      563 │   function click_handler(event) {
          ╵            ~~~~~~~~~~~~~

  The symbol "click_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/buttons/Button.svelte:539:10:
      539 │   function click_handler(event) {
          ╵            ~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/buttons/Button.svelte:800:0:
      800 │ export default Button;//# sourceMappingURL=data:application/json;c...
          ╵ ~~~~~~

✘ [ERROR] The symbol "change_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/buttons/Button.svelte:567:10:
      567 │   function change_handler(event) {
          ╵            ~~~~~~~~~~~~~~

  The symbol "change_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/buttons/Button.svelte:543:10:
      543 │   function change_handler(event) {
          ╵            ~~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/buttons/Button.svelte:800:0:
      800 │ export default Button;//# sourceMappingURL=data:application/json;c...
          ╵ ~~~~~~

✘ [ERROR] The symbol "keydown_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/buttons/Button.svelte:571:10:
      571 │   function keydown_handler(event) {
          ╵            ~~~~~~~~~~~~~~~

  The symbol "keydown_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/buttons/Button.svelte:547:10:
      547 │   function keydown_handler(event) {
          ╵            ~~~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/buttons/Button.svelte:800:0:
      800 │ export default Button;//# sourceMappingURL=data:application/json;c...
          ╵ ~~~~~~

✘ [ERROR] The symbol "keyup_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/buttons/Button.svelte:575:10:
      575 │   function keyup_handler(event) {
          ╵            ~~~~~~~~~~~~~

  The symbol "keyup_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/buttons/Button.svelte:551:10:
      551 │   function keyup_handler(event) {
          ╵            ~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/buttons/Button.svelte:800:0:
      800 │ export default Button;//# sourceMappingURL=data:application/json;c...
          ╵ ~~~~~~

✘ [ERROR] The symbol "mouseenter_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/buttons/Button.svelte:579:10:
      579 │   function mouseenter_handler(event) {
          ╵            ~~~~~~~~~~~~~~~~~~

  The symbol "mouseenter_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/buttons/Button.svelte:555:10:
      555 │   function mouseenter_handler(event) {
          ╵            ~~~~~~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/buttons/Button.svelte:800:0:
      800 │ export default Button;//# sourceMappingURL=data:application/json;c...
          ╵ ~~~~~~

✘ [ERROR] The symbol "mouseleave_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/buttons/Button.svelte:583:10:
      583 │   function mouseleave_handler(event) {
          ╵            ~~~~~~~~~~~~~~~~~~

  The symbol "mouseleave_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/buttons/Button.svelte:559:10:
      559 │   function mouseleave_handler(event) {
          ╵            ~~~~~~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/buttons/Button.svelte:800:0:
      800 │ export default Button;//# sourceMappingURL=data:application/json;c...
          ╵ ~~~~~~

✘ [ERROR] The symbol "blur_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/navbar/NavLi.svelte:290:10:
      290 │   function blur_handler(event) {
          ╵            ~~~~~~~~~~~~

  The symbol "blur_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/navbar/NavLi.svelte:250:10:
      250 │   function blur_handler(event) {
          ╵            ~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/navbar/NavLi.svelte:442:0:
      442 │ export default NavLi;//# sourceMappingURL=data:application/json;ch...
          ╵ ~~~~~~

✘ [ERROR] The symbol "change_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/navbar/NavLi.svelte:294:10:
      294 │   function change_handler(event) {
          ╵            ~~~~~~~~~~~~~~

  The symbol "change_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/navbar/NavLi.svelte:254:10:
      254 │   function change_handler(event) {
          ╵            ~~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/navbar/NavLi.svelte:442:0:
      442 │ export default NavLi;//# sourceMappingURL=data:application/json;ch...
          ╵ ~~~~~~

✘ [ERROR] The symbol "click_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/navbar/NavLi.svelte:298:10:
      298 │   function click_handler(event) {
          ╵            ~~~~~~~~~~~~~

  The symbol "click_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/navbar/NavLi.svelte:258:10:
      258 │   function click_handler(event) {
          ╵            ~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/navbar/NavLi.svelte:442:0:
      442 │ export default NavLi;//# sourceMappingURL=data:application/json;ch...
          ╵ ~~~~~~

✘ [ERROR] The symbol "focus_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/navbar/NavLi.svelte:302:10:
      302 │   function focus_handler(event) {
          ╵            ~~~~~~~~~~~~~

  The symbol "focus_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/navbar/NavLi.svelte:262:10:
      262 │   function focus_handler(event) {
          ╵            ~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/navbar/NavLi.svelte:442:0:
      442 │ export default NavLi;//# sourceMappingURL=data:application/json;ch...
          ╵ ~~~~~~

✘ [ERROR] The symbol "keydown_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/navbar/NavLi.svelte:306:10:
      306 │   function keydown_handler(event) {
          ╵            ~~~~~~~~~~~~~~~

  The symbol "keydown_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/navbar/NavLi.svelte:266:10:
      266 │   function keydown_handler(event) {
          ╵            ~~~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/navbar/NavLi.svelte:442:0:
      442 │ export default NavLi;//# sourceMappingURL=data:application/json;ch...
          ╵ ~~~~~~

✘ [ERROR] The symbol "keypress_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/navbar/NavLi.svelte:310:10:
      310 │   function keypress_handler(event) {
          ╵            ~~~~~~~~~~~~~~~~

  The symbol "keypress_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/navbar/NavLi.svelte:270:10:
      270 │   function keypress_handler(event) {
          ╵            ~~~~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/navbar/NavLi.svelte:442:0:
      442 │ export default NavLi;//# sourceMappingURL=data:application/json;ch...
          ╵ ~~~~~~

✘ [ERROR] The symbol "keyup_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/navbar/NavLi.svelte:314:10:
      314 │   function keyup_handler(event) {
          ╵            ~~~~~~~~~~~~~

  The symbol "keyup_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/navbar/NavLi.svelte:274:10:
      274 │   function keyup_handler(event) {
          ╵            ~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/navbar/NavLi.svelte:442:0:
      442 │ export default NavLi;//# sourceMappingURL=data:application/json;ch...
          ╵ ~~~~~~

✘ [ERROR] The symbol "mouseenter_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/navbar/NavLi.svelte:318:10:
      318 │   function mouseenter_handler(event) {
          ╵            ~~~~~~~~~~~~~~~~~~

  The symbol "mouseenter_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/navbar/NavLi.svelte:278:10:
      278 │   function mouseenter_handler(event) {
          ╵            ~~~~~~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/navbar/NavLi.svelte:442:0:
      442 │ export default NavLi;//# sourceMappingURL=data:application/json;ch...
          ╵ ~~~~~~

✘ [ERROR] The symbol "mouseleave_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/navbar/NavLi.svelte:322:10:
      322 │   function mouseleave_handler(event) {
          ╵            ~~~~~~~~~~~~~~~~~~

  The symbol "mouseleave_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/navbar/NavLi.svelte:282:10:
      282 │   function mouseleave_handler(event) {
          ╵            ~~~~~~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/navbar/NavLi.svelte:442:0:
      442 │ export default NavLi;//# sourceMappingURL=data:application/json;ch...
          ╵ ~~~~~~

✘ [ERROR] The symbol "mouseover_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/navbar/NavLi.svelte:326:10:
      326 │   function mouseover_handler(event) {
          ╵            ~~~~~~~~~~~~~~~~~

  The symbol "mouseover_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/navbar/NavLi.svelte:286:10:
      286 │   function mouseover_handler(event) {
          ╵            ~~~~~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/navbar/NavLi.svelte:442:0:
      442 │ export default NavLi;//# sourceMappingURL=data:application/json;ch...
          ╵ ~~~~~~

✘ [ERROR] The symbol "blur_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/paginations/PaginationItem.svelte:269:10:
      269 │   function blur_handler(event) {
          ╵            ~~~~~~~~~~~~

  The symbol "blur_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/paginations/PaginationItem.svelte:233:10:
      233 │   function blur_handler(event) {
          ╵            ~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/paginations/PaginationItem.svelte:375:0:
      375 │ export default PaginationItem;//# sourceMappingURL=data:applicatio...
          ╵ ~~~~~~

✘ [ERROR] The symbol "click_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/paginations/PaginationItem.svelte:273:10:
      273 │   function click_handler(event) {
          ╵            ~~~~~~~~~~~~~

  The symbol "click_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/paginations/PaginationItem.svelte:237:10:
      237 │   function click_handler(event) {
          ╵            ~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/paginations/PaginationItem.svelte:375:0:
      375 │ export default PaginationItem;//# sourceMappingURL=data:applicatio...
          ╵ ~~~~~~

✘ [ERROR] The symbol "focus_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/paginations/PaginationItem.svelte:277:10:
      277 │   function focus_handler(event) {
          ╵            ~~~~~~~~~~~~~

  The symbol "focus_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/paginations/PaginationItem.svelte:241:10:
      241 │   function focus_handler(event) {
          ╵            ~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/paginations/PaginationItem.svelte:375:0:
      375 │ export default PaginationItem;//# sourceMappingURL=data:applicatio...
          ╵ ~~~~~~

✘ [ERROR] The symbol "keydown_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/paginations/PaginationItem.svelte:281:10:
      281 │   function keydown_handler(event) {
          ╵            ~~~~~~~~~~~~~~~

  The symbol "keydown_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/paginations/PaginationItem.svelte:245:10:
      245 │   function keydown_handler(event) {
          ╵            ~~~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/paginations/PaginationItem.svelte:375:0:
      375 │ export default PaginationItem;//# sourceMappingURL=data:applicatio...
          ╵ ~~~~~~

✘ [ERROR] The symbol "keypress_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/paginations/PaginationItem.svelte:285:10:
      285 │   function keypress_handler(event) {
          ╵            ~~~~~~~~~~~~~~~~

  The symbol "keypress_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/paginations/PaginationItem.svelte:249:10:
      249 │   function keypress_handler(event) {
          ╵            ~~~~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/paginations/PaginationItem.svelte:375:0:
      375 │ export default PaginationItem;//# sourceMappingURL=data:applicatio...
          ╵ ~~~~~~

✘ [ERROR] The symbol "keyup_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/paginations/PaginationItem.svelte:289:10:
      289 │   function keyup_handler(event) {
          ╵            ~~~~~~~~~~~~~

  The symbol "keyup_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/paginations/PaginationItem.svelte:253:10:
      253 │   function keyup_handler(event) {
          ╵            ~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/paginations/PaginationItem.svelte:375:0:
      375 │ export default PaginationItem;//# sourceMappingURL=data:applicatio...
          ╵ ~~~~~~

✘ [ERROR] The symbol "mouseenter_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/paginations/PaginationItem.svelte:293:10:
      293 │   function mouseenter_handler(event) {
          ╵            ~~~~~~~~~~~~~~~~~~

  The symbol "mouseenter_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/paginations/PaginationItem.svelte:257:10:
      257 │   function mouseenter_handler(event) {
          ╵            ~~~~~~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/paginations/PaginationItem.svelte:375:0:
      375 │ export default PaginationItem;//# sourceMappingURL=data:applicatio...
          ╵ ~~~~~~

✘ [ERROR] The symbol "mouseleave_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/paginations/PaginationItem.svelte:297:10:
      297 │   function mouseleave_handler(event) {
          ╵            ~~~~~~~~~~~~~~~~~~

  The symbol "mouseleave_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/paginations/PaginationItem.svelte:261:10:
      261 │   function mouseleave_handler(event) {
          ╵            ~~~~~~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/paginations/PaginationItem.svelte:375:0:
      375 │ export default PaginationItem;//# sourceMappingURL=data:applicatio...
          ╵ ~~~~~~

✘ [ERROR] The symbol "mouseover_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/paginations/PaginationItem.svelte:301:10:
      301 │   function mouseover_handler(event) {
          ╵            ~~~~~~~~~~~~~~~~~

  The symbol "mouseover_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/paginations/PaginationItem.svelte:265:10:
      265 │   function mouseover_handler(event) {
          ╵            ~~~~~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/paginations/PaginationItem.svelte:375:0:
      375 │ export default PaginationItem;//# sourceMappingURL=data:applicatio...
          ╵ ~~~~~~

✘ [ERROR] The symbol "mouseenter_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/utils/Frame.svelte:626:10:
      626 │   function mouseenter_handler(event) {
          ╵            ~~~~~~~~~~~~~~~~~~

  The symbol "mouseenter_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/utils/Frame.svelte:610:10:
      610 │   function mouseenter_handler(event) {
          ╵            ~~~~~~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/utils/Frame.svelte:887:0:
      887 │ export default Frame;//# sourceMappingURL=data:application/json;ch...
          ╵ ~~~~~~

✘ [ERROR] The symbol "mouseleave_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/utils/Frame.svelte:630:10:
      630 │   function mouseleave_handler(event) {
          ╵            ~~~~~~~~~~~~~~~~~~

  The symbol "mouseleave_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/utils/Frame.svelte:614:10:
      614 │   function mouseleave_handler(event) {
          ╵            ~~~~~~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/utils/Frame.svelte:887:0:
      887 │ export default Frame;//# sourceMappingURL=data:application/json;ch...
          ╵ ~~~~~~

✘ [ERROR] The symbol "focusin_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/utils/Frame.svelte:634:10:
      634 │   function focusin_handler(event) {
          ╵            ~~~~~~~~~~~~~~~

  The symbol "focusin_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/utils/Frame.svelte:618:10:
      618 │   function focusin_handler(event) {
          ╵            ~~~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/utils/Frame.svelte:887:0:
      887 │ export default Frame;//# sourceMappingURL=data:application/json;ch...
          ╵ ~~~~~~

✘ [ERROR] The symbol "focusout_handler" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/utils/Frame.svelte:638:10:
      638 │   function focusout_handler(event) {
          ╵            ~~~~~~~~~~~~~~~~

  The symbol "focusout_handler" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/utils/Frame.svelte:622:10:
      622 │   function focusout_handler(event) {
          ╵            ~~~~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/utils/Frame.svelte:887:0:
      887 │ export default Frame;//# sourceMappingURL=data:application/json;ch...
          ╵ ~~~~~~

✘ [ERROR] The symbol "mouseenter_handler_1" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/utils/Frame.svelte:658:10:
      658 │   function mouseenter_handler_1(event) {
          ╵            ~~~~~~~~~~~~~~~~~~~~

  The symbol "mouseenter_handler_1" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/utils/Frame.svelte:642:10:
      642 │   function mouseenter_handler_1(event) {
          ╵            ~~~~~~~~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/utils/Frame.svelte:887:0:
      887 │ export default Frame;//# sourceMappingURL=data:application/json;ch...
          ╵ ~~~~~~

✘ [ERROR] The symbol "mouseleave_handler_1" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/utils/Frame.svelte:662:10:
      662 │   function mouseleave_handler_1(event) {
          ╵            ~~~~~~~~~~~~~~~~~~~~

  The symbol "mouseleave_handler_1" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/utils/Frame.svelte:646:10:
      646 │   function mouseleave_handler_1(event) {
          ╵            ~~~~~~~~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/utils/Frame.svelte:887:0:
      887 │ export default Frame;//# sourceMappingURL=data:application/json;ch...
          ╵ ~~~~~~

✘ [ERROR] The symbol "focusin_handler_1" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/utils/Frame.svelte:666:10:
      666 │   function focusin_handler_1(event) {
          ╵            ~~~~~~~~~~~~~~~~~

  The symbol "focusin_handler_1" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/utils/Frame.svelte:650:10:
      650 │   function focusin_handler_1(event) {
          ╵            ~~~~~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/utils/Frame.svelte:887:0:
      887 │ export default Frame;//# sourceMappingURL=data:application/json;ch...
          ╵ ~~~~~~

✘ [ERROR] The symbol "focusout_handler_1" has already been declared

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/utils/Frame.svelte:670:10:
      670 │   function focusout_handler_1(event) {
          ╵            ~~~~~~~~~~~~~~~~~~

  The symbol "focusout_handler_1" was originally declared here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/utils/Frame.svelte:654:10:
      654 │   function focusout_handler_1(event) {
          ╵            ~~~~~~~~~~~~~~~~~~

  Duplicate lexically-declared names are not allowed in an ECMAScript module.
  This file is considered to be an ECMAScript module because of the "export"
  keyword here:

    node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/utils/Frame.svelte:887:0:
      887 │ export default Frame;//# sourceMappingURL=data:application/json;ch...
          ╵ ~~~~~~

5:27:07 PM [vite-plugin-svelte] prebundle libraries done.
package                 files    time     avg
flowbite-svelte-test      142   1.01s   7.1ms
5:27:07 PM [vite] error while updating dependencies:
Error: Build failed with 41 errors:
node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/buttons/Button.svelte:563:10: ERROR: The symbol "click_handler" has already been declared
node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/buttons/Button.svelte:567:10: ERROR: The symbol "change_handler" has already been declared
node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/buttons/Button.svelte:571:10: ERROR: The symbol "keydown_handler" has already been declared
node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/buttons/Button.svelte:575:10: ERROR: The symbol "keyup_handler" has already been declared
node_modules/.pnpm/flowbite-svelte@0.28.11/node_modules/flowbite-svelte/buttons/Button.svelte:579:10: ERROR: The symbol "mouseenter_handler" has already been declared
...
    at failureErrorWithLog (/Users/shinichiokada/Svelte/flowbite-svelte-test/node_modules/.pnpm/esbuild@0.16.9/node_modules/esbuild/lib/main.js:1594:15)
    at /Users/shinichiokada/Svelte/flowbite-svelte-test/node_modules/.pnpm/esbuild@0.16.9/node_modules/esbuild/lib/main.js:1050:28
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Reproduction

https://stackblitz.com/edit/sveltejs-kit-template-default-1wwsto?file=src/app.postcss

Flowbite version and System Info

System:
    OS: macOS 13.1
    CPU: (8) arm64 Apple M1
    Memory: 49.94 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.17.0 - ~/.nvm/versions/node/v16.17.0/bin/node
    npm: 8.15.0 - ~/.nvm/versions/node/v16.17.0/bin/npm
  Browsers:
    Brave Browser: 108.1.46.140
    Chrome: 108.0.5359.124
    Chrome Canary: 111.0.5483.0
    Firefox: 107.0.1
    Safari: 16.2
  npmPackages:
    @sveltejs/kit: ^1.0.0 => 1.0.1 
    flowbite-svelte: ^0.28.11 => 0.28.11 
    svelte: ^3.54.0 => 3.55.0 
    vite: ^4.0.0 => 4.0.1
shinokada commented 1 year ago

I updated sveltekit 1.0.1 but it returns the same errors using"flowbite-svelte": "^0.29.0". I tried yarn, but it returns the same errors.

shinokada commented 1 year ago

Vercel deployment failed.

[vite:esbuild-transpile] Transform failed with 8 errors:
--
20:32:01.160 | _app/immutable/chunks/Frame-!~{02x}~.js:522:10: ERROR: The symbol "mouseenter_handler" has already been declared
20:32:01.160 | _app/immutable/chunks/Frame-!~{02x}~.js:526:10: ERROR: The symbol "mouseleave_handler" has already been declared
20:32:01.160 | _app/immutable/chunks/Frame-!~{02x}~.js:530:10: ERROR: The symbol "focusin_handler" has already been declared
20:32:01.160 | _app/immutable/chunks/Frame-!~{02x}~.js:534:10: ERROR: The symbol "focusout_handler" has already been declared
20:32:01.161 | _app/immutable/chunks/Frame-!~{02x}~.js:554:10: ERROR: The symbol "mouseenter_handler_1" has already been declared
20:32:01.161 | ...
20:32:01.161 |  
20:32:01.161 | The symbol "mouseenter_handler" has already been declared
20:32:01.161 | 520\|    }
20:32:01.161 | 521\|
20:32:01.161 | 522\|    function mouseenter_handler(event) {
20:32:01.162 | \|            ^
20:32:01.162 | 523\|        bubble.call(this, $self, event);
20:32:01.162 | 524\|    }
20:32:01.162 |  
20:32:01.162 | The symbol "mouseleave_handler" has already been declared
20:32:01.162 | 524\|    }
20:32:01.162 | 525\|
20:32:01.162 | 526\|    function mouseleave_handler(event) {
20:32:01.162 | \|            ^
20:32:01.163 | 527\|        bubble.call(this, $self, event);
20:32:01.163 | 528\|    }
20:32:01.163 |  
20:32:01.163 | The symbol "focusin_handler" has already been declared
20:32:01.163 | 528\|    }
20:32:01.163 | 529\|
20:32:01.163 | 530\|    function focusin_handler(event) {
20:32:01.165 | \|            ^
20:32:01.165 | 531\|        bubble.call(this, $self, event);
20:32:01.165 | 532\|    }
20:32:01.165 |  
20:32:01.166 | The symbol "focusout_handler" has already been declared
20:32:01.166 | 532\|    }
20:32:01.166 | 533\|
20:32:01.166 | 534\|    function focusout_handler(event) {
20:32:01.166 | \|            ^
20:32:01.166 | 535\|        bubble.call(this, $self, event);
20:32:01.167 | 536\|    }
20:32:01.167 |  
20:32:01.167 | The symbol "mouseenter_handler_1" has already been declared
20:32:01.167 | 552\|    }
20:32:01.167 | 553\|
20:32:01.167 | 554\|    function mouseenter_handler_1(event) {
20:32:01.167 | \|            ^
20:32:01.168 | 555\|        bubble.call(this, $self, event);
20:32:01.168 | 556\|    }
20:32:01.168 |  
20:32:01.168 | The symbol "mouseleave_handler_1" has already been declared
20:32:01.168 | 556\|    }
20:32:01.168 | 557\|
20:32:01.168 | 558\|    function mouseleave_handler_1(event) {
20:32:01.168 | \|            ^
20:32:01.168 | 559\|        bubble.call(this, $self, event);
20:32:01.169 | 560\|    }
20:32:01.169 |  
20:32:01.169 | The symbol "focusin_handler_1" has already been declared
20:32:01.169 | 560\|    }
20:32:01.169 | 561\|
20:32:01.170 | 562\|    function focusin_handler_1(event) {
20:32:01.170 | \|            ^
20:32:01.171 | 563\|        bubble.call(this, $self, event);
20:32:01.171 | 564\|    }
20:32:01.171 |  
20:32:01.171 | The symbol "focusout_handler_1" has already been declared
20:32:01.171 | 564\|    }
20:32:01.171 | 565\|
20:32:01.171 | 566\|    function focusout_handler_1(event) {
20:32:01.172 | \|            ^
20:32:01.172 | 567\|        bubble.call(this, $self, event);
20:32:01.172 | 568\|    }
20:32:01.172 |  
20:32:01.173 | error during build:
20:32:01.173 | Error: Transform failed with 8 errors:
20:32:01.173 | _app/immutable/chunks/Frame-!~{02x}~.js:522:10: ERROR: The symbol "mouseenter_handler" has already been declared
20:32:01.174 | _app/immutable/chunks/Frame-!~{02x}~.js:526:10: ERROR: The symbol "mouseleave_handler" has already been declared
20:32:01.174 | _app/immutable/chunks/Frame-!~{02x}~.js:530:10: ERROR: The symbol "focusin_handler" has already been declared
20:32:01.174 | _app/immutable/chunks/Frame-!~{02x}~.js:534:10: ERROR: The symbol "focusout_handler" has already been declared
20:32:01.174 | _app/immutable/chunks/Frame-!~{02x}~.js:554:10: ERROR: The symbol "mouseenter_handler_1" has already been declared
20:32:01.174 | ...
20:32:01.175 | at failureErrorWithLog (/vercel/path0/node_modules/.pnpm/esbuild@0.16.9/node_modules/esbuild/lib/main.js:1594:15)
20:32:01.175 | at /vercel/path0/node_modules/.pnpm/esbuild@0.16.9/node_modules/esbuild/lib/main.js:831:29
20:32:01.175 | at responseCallbacks.<computed> (/vercel/path0/node_modules/.pnpm/esbuild@0.16.9/node_modules/esbuild/lib/main.js:697:9)
20:32:01.175 | at handleIncomingPacket (/vercel/path0/node_modules/.pnpm/esbuild@0.16.9/node_modules/esbuild/lib/main.js:752:9)
20:32:01.176 | at Socket.readFromStdout (/vercel/path0/node_modules/.pnpm/esbuild@0.16.9/node_modules/esbuild/lib/main.js:673:7)
20:32:01.176 | at Socket.emit (node:events:513:28)
20:32:01.176 | at Socket.emit (node:domain:489:12)
20:32:01.176 | at addChunk (node:internal/streams/readable:324:12)
20:32:01.176 | at readableAddChunk (node:internal/streams/readable:297:9)
20:32:01.176 | at Readable.push (node:internal/streams/readable:234:10)
20:32:01.242 | ELIFECYCLE  Command failed with exit code 1.
20:32:01.265 | Error: Command "pnpm run build" exited with 1
pietz commented 1 year ago

same here. i don't use Vercel though. can someone provide a workaround? any ETA on the fix?

shinokada commented 1 year ago

I'm trying to find the cause at the moment.

NormandoHall commented 1 year ago

Same here.

Swepool commented 1 year ago

Same here

pietz commented 1 year ago

I think it's a sveltekit 1.0.1 issue. Reverting to 1.0.0 made things work for me.

NormandoHall commented 1 year ago

I think it's a sveltekit 1.0.1 issue. Reverting to 1.0.0 made things work for me.

It is strange because 1.0.1 only explicitly mark Node 17.x as not supported. I update run "npm update" and get the error. If I only do "npm i" with the same versions of packages, works fine.

524c commented 1 year ago

Same here. If anyone manages to find out why, please let me know here. I'm investigating too.

ariel-salgado commented 1 year ago

Same here. Tried sveltekit 1.0.0 and 1.0.1 with pnpm, neither works.

524c commented 1 year ago

I opened an issue https://github.com/sveltejs/kit/issues/8218

524c commented 1 year ago

An workaround solution:

rm -rf node_modules pnpm-lock.yaml .svelte-kit
pnpm i esbuild@0.16.8
npx svelte-kit sync
pnpm build
shinokada commented 1 year ago

It seems all components with event forwarding break with SvelteKit1.*.*.

524c commented 1 year ago

It seems all components with event forwarding break with SvelteKit1.*.*.

No, it was working in SK 1.0.0 release. The problem occurs with the esbuild@0.16.9 dependency, updated yesterday. With esbuild@0.16.8 work normal.

deshartman commented 1 year ago

I have SK 1.0.0. and NPM Did the following to make it work:

rm -rf node_modules
npm i esbuild@0.16.8
npx svelte-kit sync
npm i
shinokada commented 1 year ago

Please use @sveltejs/kit ^1.0.0 and esbuild 0.16.8 for now. Use "build": "vite build", in the package.json's scripts.