ruyn npm application code example
Example 1: run node app locally
// Run this command in your terminal to start your node application.
// Replace the tag with your applications main file name (ex index.js, main.js etc).
// Add alternative a relative or absolute path before the name.
node <filename>.js
Example 2: npm start using old files
this is most likely to be a problem in my code. this time I used named import
whereas I as trying to do default export. and rce also made export class something
which i forgot to remove. so there was no problem with the react-script