刚开始学nodejs
const express = require ( "express" );
const app = express( );
app.get(" /" , ( req,res) => {
res.send ( "Hello world! " );})
const port = process.env.PORT ||5000;
app.listen(port, ( ) => {
console.log ( Server running on port ${port}
);})
运行结果及报错内容
求问怎么解决?明明跟着教学视频一步一步走的