Skip to content

Unable to run javascript files #3670

@RDjarbeng

Description

@RDjarbeng

Details

When I try to run javascript files eg: clock.js in my project directory all I get is a node window that just shows a welcome message. I installed node.js months ago. This is the first time I'm trying to use it to run a file directly from terminal

image

Node.js version

v12.18.3.

Example code

console.log('hello');

Operating system

Windows 10

Scope

code

Module and version

Not applicable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions