当我尝试npm install fsevents
时会得到
Unsupported platform for fsevents@2.1.2:
wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
...
webpack: Failed to compile.
The server does start at localhost:4200
but all `get`s fails with cannot get
不确定如何解决
答案 0 :(得分:0)
我能够使用以下方法解决此问题(Ubuntu 19.04):
npm install node-sass
然后
npm serve
此问题已解决,npm serve
现在可以正常启动服务器,并且应用程序可以正常运行。
...
webpack: Compiled Succesfully
现在
localhost:4200 for this app works correctly