cfinke / Typo.js

A client-side JavaScript spellchecker that uses Hunspell-style dictionaries.
Other
501 stars 110 forks source link

Cannot resolve module 'fs' #42

Closed notiv-nt closed 7 years ago

notiv-nt commented 8 years ago
ERROR in ./~/typo-js/typo.js
Module not found: Error: Cannot resolve module 'fs' in C:\git\client\node_modules\typo-js
 @ ./~/typo-js/typo.js 164:12-25

Node v5.12.0 NPM 3.8.6 Win10

Using Webpack

alassiter commented 8 years ago

I'm also getting this with:

Node v5.3.0 NPM 3.10.6 and webpack

benrlodge commented 7 years ago

I'm running into the same issue with webpack running tests. anyone figure this out? @notiv-nt, @alassiter did you ever get this fixed?

I tried using

node: {
  fs: "empty"
}

but no luck

noderat commented 7 years ago

@cfinke Can a new release be pushed to npm with this commit included? npm still reflects the prior package.json.

cfinke commented 7 years ago

Sorry about that, I've published version 1.0.2 on npm now.