create-react-app 安装后,我想用Express , 我看到node_modulues下已经有了express , 但是我引入报错
二种引法都不对
import logo from './logo.svg';import './App.css';import $ from 'jquery'; //import Express from 'express' 出错 //const Express = require('express'); 出错
TypeError: http.ServerResponse is undefined ./node_modules/express/lib/response.js/<E:/react08/react-app/node_modules/express/lib/response.js:42 39 | * @public 40 | */ 41 | > 42 | var res = Object.create(http.ServerResponse.prototype) 43 | 44 | /** 45 | * Module exports.
不解,请教 !
天涯尽头无女友