node error: module.js: 538 throw err

-3

129/5000 I really do not know what kind of problem it is, but apparently every time I want to use the js it does not work .Thanks for answering. .

    
asked by salome cardenas 27.11.2018 в 01:39
source

1 answer

0

As indicated by the error in the terminal, you are trying to execute a file that does not exist, since you try to access the file 'D: /Webpage1/men-a.js' but your .js file is in the directory 'D: /Webpage1/js/menu-a.js'.

To solve this you can use the following options:

  • $ node js/menu-a.js ;

  • $ cd js; node menu-a.js

  • answered by 06.12.2018 в 13:50