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

TypeError when running initial example #221

Open
deniskristak opened this issue Dec 22, 2022 · 1 comment
Open

TypeError when running initial example #221

deniskristak opened this issue Dec 22, 2022 · 1 comment

Comments

@deniskristak
Copy link

Hello,
first of all, thanks for the package, it looks amazing and like just what I'd need.
However, I tried to run the example project, doing the following.

  1. cloned the repo
  2. went to spotify dev dashboard, created app, copied all the relevant info to ./example/.env/ and ./example-server/.env (as per instructions)
  3. installed all dependencies with yarn
  4. ran yarn start in the ./example-server
    Response:
warning package.json: No license field
$ node index.js
Example app listening on port 3000!
  1. ran yarn start --reset-cache --verbose in the ./example folder
    Response:
[Thu Dec 22 2022 13:37:15.221]  BUNDLE  ./index.js 

[Thu Dec 22 2022 13:37:58.905]  ERROR    TypeError: Cannot read property 'authorize' of null, js engine: hermes
[Thu Dec 22 2022 13:37:58.909]  ERROR    Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication), js engine: hermes

Screenshot of the emulator
Screenshot from 2022-12-22 13-36-30

Also, this is output of npx react-native info

info Fetching system and libraries information...
System:
    OS: Linux 5.19 Ubuntu 22.10 22.10 (Kinetic Kudu)
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
    Memory: 5.15 GB / 31.08 GB
    Shell: 5.2.2 - /bin/bash
  Binaries:
    Node: 16.13.0 - ~/.nvm/versions/node/v16.13.0/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 8.1.0 - ~/.nvm/versions/node/v16.13.0/bin/npm
    Watchman: Not Found
  SDKs:
    Android SDK:
      API Levels: 29, 31, 33
      Build Tools: 28.0.3, 30.0.3, 31.0.0, 33.0.0
      System Images: android-31 | Google APIs Intel x86 Atom_64, android-31 | Google Play Intel x86 Atom_64
      Android NDK: Not Found
  IDEs:
    Android Studio: Not Found
  Languages:
    Java: 11.0.17 - /usr/bin/javac
    Python: 3.10.7 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.13.1 => 16.13.1 
    react-native: 0.63.4 => 0.63.4 
  npmGlobalPackages:
    *react-native*: Not Found

and this is what my emulator device looks like:
image

Do you have any idea what might be wrong here?
Please let me know if you need any additional information.

@theshadowagent
Copy link

Same here with expo 47

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

2 participants