complete-node-bootcamp icon indicating copy to clipboard operation
complete-node-bootcamp copied to clipboard

lesson 8 REPL doesn't show my index.js

Open TedCodex opened this issue 3 years ago • 0 comments

Hi there! i can't execute an external JavaScript file by executing the node fileName command in the REPL like in the lessons... I've been trying for days but can't solve the problem! help me please! here the message:

minanutini@Air-di-Mina 1-node-farm % index.js zsh: command not found: index.js minanutini@Air-di-Mina 1-node-farm % node Welcome to Node.js v16.13.0. Type ".help" for more information.

index.js Uncaught ReferenceError: index is not defined node index.js node index.js ^^^^^

Uncaught SyntaxError: Unexpected identifier

TedCodex avatar Dec 09 '21 09:12 TedCodex