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 'fs' #141

Open
AlexandreKilian opened this issue Apr 15, 2019 · 2 comments
Open

cannot find module 'fs' #141

AlexandreKilian opened this issue Apr 15, 2019 · 2 comments

Comments

@AlexandreKilian
Copy link

Hello!

Trying to use this in my renderer process, I get the following error message:

src_sync:2 Uncaught Error: Cannot find module 'fs'
    at webpackEmptyContext (src_sync:2)
    at module.exports.reduce (promisify.js:4)
    at Array.reduce (<anonymous>)
    at eval (promisify.js:3)
    at Object../node_modules/electron-spellchecker/src/promisify.js (bundle.js:6376)
    at __webpack_require__ (bundle.js:20)
    at eval (dictionary-sync.js:10)
    at Object../node_modules/electron-spellchecker/src/dictionary-sync.js (bundle.js:6332)
    at __webpack_require__ (bundle.js:20)
    at eval (index.js:3)

fs is def. available since I'm using it in other parts of the application

@ajboni
Copy link

ajboni commented Apr 24, 2019

Getting the same error, did you found the solution?

@AlexandreKilian
Copy link
Author

no, I ended up switching to https://github.com/atom/node-spellchecker

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