美文网首页
bitshares-ui启动报错

bitshares-ui启动报错

作者: lizh00 | 来源:发表于2017-04-13 17:01 被阅读0次
    ERROR in ./~/.0.7.0@react-foundation-apps/src/action-sheet/index.jsx
    Module parse failed: /home/lizh/src/bitshares-ui/web/node_modules/.0.7.0@react-foundation-apps/src/action-sheet/index.jsx Unexpected token (54:6)
    You may need an appropriate loader to handle this file type.
    |     }.bind(this));
    |     return (
    |       <div id={this.props.id} data-closable={true} className='action-sheet-container'>
    |         {children}
    |       </div>
     @ ./app/components/Layout/Header.jsx 12:0-65
     @ ./app/App.jsx
     @ ./app/Routes-dev.jsx
     @ ./app/index-dev.js
     @ ./app/Main-dev.js
     @ multi react-hot-loader/patch webpack-hot-middleware/client ./app/Main-dev.js
    

    将webpack.config.js中的 babel-loader改为babel后报错:

    ERROR in ./app/index-dev.js
    Module not found: Error: Can't resolve 'babel' in '/home/lizh/src/bitshares-ui/web'
    BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.
                     You need to specify 'babel-loader' instead of 'babel',
                     see https://webpack.js.org/guides/migrating/#automatic-loader-module-name-extension-removed
     @ ./app/index-dev.js 13:0-34 29:22-45
     @ ./app/Main-dev.js
     @ multi react-hot-loader/patch webpack-hot-middleware/client ./app/Main-dev.js
    

    相关文章

      网友评论

          本文标题:bitshares-ui启动报错

          本文链接:https://www.haomeiwen.com/subject/wnobattx.html