兩個(gè)問(wèn)題求解1)PhantomJS not found on PATH 2)Cannot resolve module 'react/lib/ReactMount' in G:\tool sForFE\gallery\src
1)在使用npm install時(shí)報(bào)錯(cuò)PhantomJS not found on PATH
2)使用node server打開(kāi)瀏覽器頁(yè)面后,顯示如圖:
1)在使用npm install時(shí)報(bào)錯(cuò)PhantomJS not found on PATH
2)使用node server打開(kāi)瀏覽器頁(yè)面后,顯示如圖:
2016-11-17
舉報(bào)
2017-04-23
請(qǐng)問(wèn)第一問(wèn)你解決了嗎?
2016-11-21
看github issue
The newest version of react seems to break the gen.
Temp fix is to use 15.3.0 or older:
npm install react@15.3.0
2016-11-18
第二問(wèn),"react": "15.3.0"