2
我正在幫助開發[主要]在TypeScript中的項目,然後編譯爲JavaScript。我們有一個節點後端和反應原生前端。升級到Babel6後,項目開始給我們提供了一些有關缺少模塊的錯誤。我能夠通過在本地添加「缺失」模塊來解決這些問題。 現在,我得到完全同樣在GitHub上一個報告在 https://github.com/facebook/react-native/issues/4489 錯誤請看看:錯誤:connect.compress不是函數
ERROR connect.compress is not a function
TypeError: connect.compress is not a function
at runServer (runServer.js:28:18)
at startServer (server.js:144:3)
at _server (server.js:140:3)
at server.js:24:5
at tryCallTwo (/Users/igorshmukler/Projects/tickmark/taxfyle-ios/node_modules/promise/lib/core.js:45:5)
at doResolve (/Users/igorshmukler/Projects/tickmark/taxfyle-ios/node_modules/promise/lib/core.js:200:13)
at new Promise (/Users/igorshmukler/Projects/tickmark/taxfyle-ios/node_modules/promise/lib/core.js:66:3)
at Array.server (server.js:23:10)
at run (/Users/igorshmukler/Projects/tickmark/taxfyle-ios/node_modules/react-native/local-cli/cli.js:85:13)
at Object.<anonymous> (/Users/igorshmukler/Projects/tickmark/taxfyle-ios/node_modules/react-native/local-cli/cli.js:162:3)
See http://facebook.github.io/react-native/docs/troubleshooting.html
for common problems and solutions.
在GitHub上引用的情況下,這個問題是通過運行NPM安裝在反應本地解析目錄。我不確定這意味着什麼。我運行安裝在我的項目目錄中。
,如果您有任何建議,以什麼檢查等