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

Cannot find module '@capacitor-community/keep-awake' or its corresponding type declarations.bug: #42

Closed
AEiosApp opened this issue Nov 16, 2023 · 2 comments

Comments

@AEiosApp
Copy link

Plugin version:
4.0.0

Platform(s):
all, using Capacitor v5 & typescript

Current behavior:
Following documentation, for the line:

import { KeepAwake } from '@capacitor-community/keep-awake';

typescript returns an error:

Cannot find module '@capacitor-community/keep-awake' or its corresponding type declarations.
Screenshot 2023-11-16 at 10 16 09 AM

Capacitor doctor:

💊   Capacitor Doctor  💊 

Latest Dependencies:

  @capacitor/cli: 5.5.1
  @capacitor/core: 5.5.1
  @capacitor/android: 5.5.1
  @capacitor/ios: 5.5.1

Installed Dependencies:

  @capacitor/android: 5.5.1
  @capacitor/ios: 5.5.1
  @capacitor/core: 5.5.1
  @capacitor/cli: 5.5.1

[success] iOS looking great! 👌
[success] Android looking great! 👌
@robingenz
Copy link
Member

Thank you for your request.
Please provide a Minimal, Reproducible Example using this template in a public GitHub repository so I can debug the issue.

@AEiosApp
Copy link
Author

Just restarted VSCode and the issue has gone, sorry for the false alarm.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants