-
Notifications
You must be signed in to change notification settings - Fork 22
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
Getting Uncaught Type Error #3
Comments
What's your node's version |
Hi @douzi8 , My node and npm versions are:
Thanks - Siddharth |
I am using this with angular 2 how should i import fs in to angular2 |
I am also getting this error |
I'm getting this error too, |
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
The text was updated successfully, but these errors were encountered: