When a module is connected via require ('fs'), it outputs to the console: module: not found at resource: //gre/modules/commonjs/fs.js.

Need to install it separately or not?

    1 answer 1

    Yes, try installing it manually.

    npm install file-system --save 
    • Same. Although now the module is installed with version 2.2.1. And earlier it was 0.0.2. - tramway11
    • Windows 7 Starter, AMD - tramway11
    • The nodejs / node_modules folder is installed. - tramway11
    • try to call this command from under the project folder - Kirill Stoianov
    • I think maybe the wrong path is specified? It is necessary to require ('... / fs'). Something here to add? - tramway11