question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

angular-electron does not work with fs. Please help.

My Electron app needs to read from file system etc

image

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
craigshoemakercommented, May 10, 2018

@maximegris what about for dependencies that use fs internally? For instance, I am trying to use walk and I get the same error thrown in the context of walk’s attempt to access the file system.

I see that in electron.service.ts you make fs available as a member of the service, but I can’t figure out how to get dependencies to access fs out-of-the-box.

1reaction
soupman99commented, Nov 30, 2018

yeah @maximegris how would we use a library that has FS etc as a dependency?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Node.js File System Module - W3Schools
The Node.js file system module allows you to work with the file system on your computer. To include the File System module, use...
Read more >
How To Work with Files using the fs Module in Node.js
With Node.js, you can programmatically manipulate files with the built-in fs module. The name is short for “file system,” and the module ...
Read more >
File system | Node.js v19.3.0 Documentation
The node:fs module enables interacting with the file system in a way modeled on standard POSIX functions. To use the promise-based APIs: import...
Read more >
Node.js File System - TutorialsTeacher
Node.js includes fs module to access physical file system. The fs module is responsible for all the asynchronous or synchronous file I/O operations....
Read more >
Understanding the Node.js File System Module (FS) - Kinsta
Node.js modules are a set of functionalities available as APIs for a consumer program to use. For example, you've got the fs module...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found