Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vue bundle missing from npm package #1671

Open
Geocole opened this issue Nov 13, 2024 · 6 comments
Open

Vue bundle missing from npm package #1671

Geocole opened this issue Nov 13, 2024 · 6 comments

Comments

@Geocole
Copy link

Geocole commented Nov 13, 2024

Description

The Vue integration appears to be missing from the npm package. When trying to import from 'lightgallery/vue', we get the error:
Cannot find module 'lightgallery/vue' or its corresponding type declarations.

Steps to reproduce

  1. Install lightgallery using npm: npm install lightgallery
  2. Try to import Vue component in your code:
import LightGallery from "lightgallery/vue";
import lgThumbnail from "lightgallery/plugins/thumbnail";
import lgZoom from "lightgallery/plugins/zoom";
  1. Build fails with module not found error

Environment

  • Browser and version - Brave [Version 1.69.168 Chromium: 128.0.6613.138 (Official Build) (arm64)]

  • OS - MAC OS Sequoia Version 15.0.1

  • lightGallery version - 2.8.1

  • Node.js version - 20

  • Vue version - 3.3.0

Additional context

The Vue integration bundle seems to be missing from the npm package structure, while React integration is present.

Screenshot 2024-11-13 at 13 45 27
@ChristosTerzenidis
Copy link

I have the same issue

@ycldz
Copy link

ycldz commented Nov 18, 2024

+1

1 similar comment
@sunjingh
Copy link

+1

@PolanskiPol
Copy link

PolanskiPol commented Nov 27, 2024

Same issue for me, I have downgraded to version 2.7.2 until this is patched.

@sachinchoolur
Copy link
Owner

The issue has been resolved in version https://github.com/sachinchoolur/lightGallery/releases/tag/2.8.2

The build for Vue silently failed due to an incorrect Node.js version.

Thanks for reporting this!

@PolanskiPol
Copy link

Thank you for your quick response, I've upgraded my affected projects and they are working again with the new version!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants