First Create folder as nodejs, then create a new file. before this install node.js from online LTS v20.17. Then Go into the folder in VS code and open Terminal. Then type npm init: it will create a Package.json file. Edit the jon file, especially in : "scripts": { "test": "echo "Error: no test specified" && exit 1", "start": "node newfile.js", "dev": "nodemon newfile2.js" } then type npm start at Terminal to run the file and To see results: Go on Chrome and type localhost:5500. Also type npm i in Terminal to create node modules.
-
Notifications
You must be signed in to change notification settings - Fork 0
noobvp69/Node.js-START
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published