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 error #30

Open
ghost opened this issue Apr 14, 2020 · 2 comments
Open

cannot find module error #30

ghost opened this issue Apr 14, 2020 · 2 comments

Comments

@ghost
Copy link

ghost commented Apr 14, 2020

the error is: Error: Cannot find module '/Users/vektrix/node_modules/sqlite3/lib/binding/node-v79-darwin-x64/node_sqlite3.node'

the require stack is:

    '/Users/vektrix/node_modules/sqlite3/lib/sqlite3.js',
    '/Users/vektrix/node_modules/sqlite/main.js',
    '/Users/vektrix/node_modules/osa-imessage/lib/messages-db.js',
    '/Users/vektrix/node_modules/osa-imessage/index.js',
    '/Users/vektrix/iMessage/index.js'
  ]
@3DJakob
Copy link

3DJakob commented Jan 18, 2021

Adding "postinstall": "electron-builder install-app-deps", to my package JSON, running npm install electron-builder --save-dev and then finally running npm run postinstall solved this issue for me. Hope this is helpful!

@smohanty92
Copy link

Any update on this? I'm still having issues with getting the whole electon/yarn thing working. Would just like to use npm to get this installed. Ty

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