Meteor - 找不到模块ReactComponentHookTree

时间:2017-01-21 16:01:53

标签: javascript meteor meteor-blaze meteor-react

我刚使用meteor start使用meteor创建了一个新应用。我试图跟随official tutorial整合meteor并做出反应,但得到了这个错误。

Uncaught Error: Cannot find module 'react/lib/ReactComponentTreeHook'

应用程序编译正常,我在浏览器控制台中得到这个,编译时没有错误。

以下是堆栈跟踪:

modules-runtime.js?hash=e35fc9c…:124Uncaught Error: Cannot find module 'react/lib/ReactComponentTreeHook'
    at require (modules-runtime.js?hash=e35fc9c…:124)
    at meteorInstall.node_modules.react-dom.lib.ReactDebugTool.js (modules.js?hash=20baf54…:9920)
    at fileEvaluate (modules-runtime.js?hash=e35fc9c…:198)
    at require (modules-runtime.js?hash=e35fc9c…:121)
    at meteorInstall.node_modules.react-dom.lib.ReactInstrumentation.js (modules.js?hash=20baf54…:9890)
    at fileEvaluate (modules-runtime.js?hash=e35fc9c…:198)
    at require (modules-runtime.js?hash=e35fc9c…:121)
    at meteorInstall.node_modules.react-dom.lib.ReactReconciler.js (modules.js?hash=20baf54…:9507)
    at fileEvaluate (modules-runtime.js?hash=e35fc9c…:198)
    at require (modules-runtime.js?hash=e35fc9c…:121)

0 个答案:

没有答案