Skip to content
Sign upLog in
← Back to Community

Delete index.js

Profile icon
MrGameMemo

I can’t delete or rename the index.js...

Voters
Profile icon
AndrieiNievazhn
Profile icon
TaguhiManukyan
Profile icon
writeblankspace
Profile icon
FrederickAA
Profile icon
MuhamMadTaufik2
Profile icon
Filip000000
Profile icon
MrGameMemo
Comments
hotnewtop
Profile icon
Zige

HOW TO DELETE INDEX.JS ??

Just open shell and type in "rm index.js"

Profile icon
writeblankspace

@Zige
woah thanks very helpful

Profile icon
Filip000000

I also want to rename index.js

Profile icon
kennethjaysone

the entry point for my node app is server.js. How can i change this since index.js is default

Profile icon
ash15khng

Do you really need to change it? In any case you can't. 

Profile icon
amasad

That's the entry point file so that we know how to run your code.

Why do you want to change it?