2017-08-30 151 views
0

運行沿側styleguidist我想記錄我的反應的組分和我一起端運行styleguidist服務器Laravel開發服務器styleguidist服務器崩潰,此錯誤。不能與laravel開發服務器

You have another server running at port 6060 somewhere, shut it down first 

You can change the port using the `serverPort` option in your style guide config: 
https://react-styleguidist.js.org/docs/configuration.html 

我已經配置了styleguidist服務器在端口運行,以解決此問題併成功運行服務器一次。之後,我再次得到這個問題。

我該如何解決這個問題?

回答

2

錯誤是說你有其他的東西在那個端口上運行。你嘗試過不同的嗎?如果你正在運行一個UNIX系統,你可以看到那個端口上運行着什麼:

lsof -i tcp:6060 
+0

不,我還沒有嘗試過......讓我試一試。 – besrabasant