I can not use the 'fs' module, in windows

-1

I have a problem, I try to use the 'fs' module of NODEJS, but I get the error, that could not be found.

What I did, before doing the post.

  • Install manually, given some post.

    npm install -g fs

  • Realize, the following.

  • npm cache clean

    npm install

    Given those options, I still get the same error.

        
    asked by ChiGy 25.05.2017 в 17:26
    source

    1 answer

    1

    Install node in global, the fs module is built into the node core, it does not need separate installation.

        
    answered by 01.06.2017 в 14:11