-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
ERROR in ./node_modules/electron/index.js Module not found: Error: Can't resolve 'fs' #314
Comments
Did you add " import * as fs from 'fs';" this in your maint.ts |
@Hariskool, I just tried with the import * as fs from 'fs';. It shows the same error. |
fs module is part of node's core modules. Update or reinstall your node js.. |
Give a look at this angular/angular-cli#10681 |
I encounter the same issue when i run npm test. Hariskool, u manage to resolve this issue? |
The weird thing is that it only happen when i run npm test. Running the application normally dont trigger any issue |
It shows an error when I try to run npm test. Any ideas?
The text was updated successfully, but these errors were encountered: