-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Hello,
I have used file-system npm package to write content to a file.
While I run the code, I get -
"ncaught TypeError: fs.existsSync is not a function
at getExists (bundle.js:115)
at Object.exports.mkdir (bundle.js:145)
at Object.exports.writeFile (bundle.js:216)
at run (bundle.js:639)
at FileReader.reader.onload (bundle.js:648)"
error in the generated bundle.js
I am using following command to generate bundle.js -
$ browserify www/js/app.js -o www/js/bundle.js
Also, I have installed required npm packages.
Kindly, let me know how can I solve this error.
Thanks - Siddharth
Metadata
Metadata
Assignees
Labels
No labels