powersync-js icon indicating copy to clipboard operation
powersync-js copied to clipboard

ERR_MODULE_NOT_FOUND

Open wills01 opened this issue 10 months ago • 1 comments

using the capacitor example

after install of @powersync/web @powersync/react and @journeyapp/wa-sqlite

i get error when building:

unhandledRejection Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'C:\Users\USERNAME\source\repos\APP\node_modules@powersync\react\lib\hooks\PowerSyncContext' imported from C:\Users\USERN MAME\source\repos\APP\node_modules@powersync\react\lib\index.js

wills01 avatar Mar 31 '25 21:03 wills01

Hey @wills01 could you provide some more information to see if we can reproduce this on our end, please?

What are the package versions and what platform are you testing on, looks like windows.

michaelbarnes avatar Apr 01 '25 23:04 michaelbarnes