question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Permissions module not found. Are you sure that Expo modules are properly linked?

See original GitHub issue

Summary

I updated all the expo dependencies (ink. react-native-unimodules at ver 0.14.1) in my bare react-native app. Since then, I’m having troubles when a module tries to fetch the permissions. " Error: Permissions module not found. Are you sure that Expo modules are properly linked?"

There is no documentation regarding the new module expo-modules-core (also installed). Did I miss something ?

Might have been caused by #12961 @tsapeta

Managed or bare workflow? If you have ios/ or android/ directories in your project, the answer is bare!

bare

What platform(s) does this occur on?

Android, iOS

SDK Version (managed workflow only)

No response

Environment

System:
  OS: macOS 11.2.3
  Shell: 5.8 - /bin/zsh
Binaries:
  Node: 12.15.0 - /usr/local/bin/node
  Yarn: 1.22.5 - /usr/local/bin/yarn
  npm: 6.14.8 - /usr/local/bin/npm
  Watchman: 4.9.0 - /usr/local/bin/watchman
IDEs:
  Android Studio: 4.2 AI-202.7660.26.42.7351085
  Xcode: 12.5/12E262 - /usr/bin/xcodebuild
npmPackages:
  react: 16.13.1 => 16.13.1 
  react-native: 0.64.2 => 0.64.2 

Reproducible demo or steps to reproduce from a blank project

const {status} = await Notifications.requestPermissionsAsync();

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:18 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
c-mcdonaldcommented, Jul 13, 2021

Thanks @brentvatne bumped react-native-unimodules to 0.14.5 and now works. Thanks

2reactions
yernanduscommented, Jul 5, 2021

I have updated all expo related libs and now everything works. I am use bare react native

Read more comments on GitHub >

github_iconTop Results From Across the Web

expo-camera: Error: Permissions module is null - Stack Overflow
1 Answer 1 · I had install "react-native-unimodules": "^0.13. · @roplopfan I tried locally and it worked... · maybe i need to clean...
Read more >
expo-permissions - npm
Allows you prompt for various permissions to access device sensors, personal data, etc.. Latest version: 14.0.0, last published: 2 months ...
Read more >
Permissions - Expo Documentation
Learn about configuring and adding permissions in an Expo config file.
Read more >
unimodules-permissions-interface | Yarn - Package Manager
unimodules -permissions-interface. An interface for permissions. Installation in managed Expo projects. For managed managed Expo projects, please follow the ...
Read more >
Troubleshooting | React Navigation
If the module points to an npm package (i.e. the name of the module doesn't with ./ ), then it's probably due to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found