Skip to content
This repository was archived by the owner on Jan 9, 2026. It is now read-only.

Conversation

@skmcloughlin
Copy link
Contributor

fix "None of these files exist" error encountered when building in expo occurs in three seperate files

What's New?

Updated the relative import location for PassageError and PassageReactNative in each file.

Screenshots (if appropriate):

Error

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have manually tested my code thoroughly
    => I ran the "prepack" script included in the package json. I then swapped the generated lib/modules folder for the same folder in my project's @passage/react-native node modules folder and was able to successfully run the build command and run on device.
  • [ X] My changes generate no new warnings
    => Not in my build process. I cannot speak to other use cases.
  • [-] New and existing integration and unit tests pass locally with my changes
    => I am unsure how I can be assured that any new integration test will pass. Some tests fail, but they are the same tests that fail on the main branch and appear unrellated to my changes

Additional context

After installing the module from npm into my project, three files have import issues. The files and import statements are included below:
File: node_modules>@passageidentity>passage-react-native>lib>module>shared>PassageTokenStore.js

  • import { PassageError, PassageReactNative } from "../../src/shared/index.js";
    File: node_modules>@passageidentity>passage-react-native>lib>module>PassageApp>PassageApp.js
  • import { PassageError, PassageReactNative } from "../../src/shared/index.js";
    File: node_modules>@passageidentity>passage-react-native>lib>module>PassageMagicLihk>PassageMagicLink.js
  • import { PassageError, PassageReactNative } from "../../src/shared/index.js";

fix "None of these files exist" error encountered when building in expo
@skmcloughlin skmcloughlin requested a review from a team as a code owner August 29, 2025 12:26
@SinaSeylani SinaSeylani self-assigned this Sep 2, 2025
@SinaSeylani SinaSeylani merged commit 5d3400a into passageidentity:main Sep 2, 2025
4 of 6 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants