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

Could not find a declaration file for module 'powerglitch'. #34

Open
uncomplexity opened this issue Dec 15, 2024 · 3 comments
Open

Could not find a declaration file for module 'powerglitch'. #34

uncomplexity opened this issue Dec 15, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@uncomplexity
Copy link
Contributor

i did npm i powerglitch, also reloaded my vscode window.. node v22.12.0, typescript 5.7.2

Version: 1.96.0
Commit: 138f619c86f1199955d53b4166bef66ef252935c
Date: 2024-12-11T02:29:09.626Z
Electron: 32.2.6
ElectronBuildId: 10629634
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Linux x64 6.8.0-49-generic
Could not find a declaration file for module 'powerglitch'. '/home/user/Documents/v5/client/node_modules/powerglitch/lib/index.esm.js' implicitly has an 'any' type.
  There are types at '/home/user/Documents/v5/client/node_modules/powerglitch/build/src/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'powerglitch' library may need to update its package.json or typings.ts(7016)

anyone encountering the same?

@uncomplexity
Copy link
Contributor Author

uncomplexity commented Dec 15, 2024

https://chatgpt.com/share/675ec9e2-cf60-8008-aea9-bf3b50554a82

option 2 worked for me

wait no shit it didnt

@uncomplexity
Copy link
Contributor Author

found the fix at #35, please check if it makes sense thank you

@7PH
Copy link
Owner

7PH commented Jan 6, 2025

Hey there, for some reason I've missed the notification about your pull request, I'll take a look shortly 👍 Thanks for taking the time to contribute!

@7PH 7PH added good first issue Good for newcomers bug Something isn't working and removed good first issue Good for newcomers labels Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants