We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am using react and webpack. I am trying to import po2json like:
var po2json = require('po2json')
but it is giving me error like:
ERROR in ./~/po2json/lib/parseFile.js Module not found: Error: Cannot resolve module 'fs' in /home/anonymous/project/node_modules/po2json/lib
Why I am getting this error ?
But no error on importing Jed
var Jed = require('jed')
The text was updated successfully, but these errors were encountered:
Hmm, interesting. Check out this comment from another module. It may be the same problem between webpack and fs for browser builds:
webpack
fs
pugjs/pug-loader#8 (comment)
Sorry, something went wrong.
Are you still having trouble with this? If not, I'll close the ticket.
No branches or pull requests
I am using react and webpack.
I am trying to import po2json like:
var po2json = require('po2json')
but it is giving me error like:
ERROR in ./~/po2json/lib/parseFile.js
Module not found: Error: Cannot resolve module 'fs' in /home/anonymous/project/node_modules/po2json/lib
Why I am getting this error ?
But no error on importing Jed
var Jed = require('jed')
The text was updated successfully, but these errors were encountered: