npm dev run code example
Example 1: npm dev server
$ npm install dev-server -g
Example 2: npm run dev
To run the Next dev server...
Example 3: npm install dev
npm install --save-dev
$ npm install dev-server -g
To run the Next dev server...
npm install --save-dev