Webpack和打字稿不起作用

Webpack和打字稿不起作用

问题描述:

我想用typescript 1.8.10开始我的webpack项目,但是当我输入webpack-dev-server --port 3001时,webpack似乎正在关闭而没有错误信息。Webpack和打字稿不起作用

下面是从控制台窗口中的输出:

E:\Files\Document\Project>webpack-dev-server --port 3001 
http://localhost:3001/webpack-dev-server/ 
webpack result is served from/
content is served from E:\Files\Document\Project 
ts-loader: Using [email protected] and E:\Files\Document\Project\tsconfig.json 

有人可以帮我吗?

+0

导航到http:// localhost:3001/webpack-dev-server / – Thaadikkaaran

webpack似乎正在关闭,没有错误信息。

我对此表示怀疑。

运行curl http://127.0.0.0.1:3001并查看输出。