How i can add a node.js file to a html repl???
Duvangamer3845 (132)

in this moment im working on a website about videogames,but i wanna create a server to the community with node.js but i can't,every try to add a file is only javascript not node.js,can help me some person,i really need this,or i can make a server with a file of only js? repl: https://repl.it/@Duvangamer3845/DimgrayVerifiableBlog#index.js

You are viewing a single comment. View All
Answered by PattanAhmed (1412) [earned 5 cycles]
View Answer
Coder100 (18917)

Hi! You will need to create a nodejs repl, and transfer all your code there. Remember, in an HTML repl, all files will be public to the user, and node.js does not exist there.

Duvangamer3845 (132)

@Coder100 i can import the node.js package???

Coder100 (18917)

so everything works. What do you want to happen? @Duvangamer3845

Coder100 (18917)

ohhh i see. Invite me to your repl @Duvangamer3845

Duvangamer3845 (132)

@Coder100 i wanna a social page to share videogames interesting,like the share section on repl.it