Skip to content

react-web start ERROR #11

Description

@JunLeeTerry

Download demo , npm install but cannot start project

ERR:

var opts = new _babelCore.OptionManager().init((0, _extend2.default)({ sourceR
oot: _path2.default.dirname(filename) }, (0, _cloneDeep2.default)(transformOpts)
, { filename: filename }));
             ^

TypeError: _babelCore.OptionManager is not a constructor
    at compile (D:\RN\react-native-web-example-master\node_modules\babel-registe
r\lib\node.js:103:14)
    at loader (D:\RN\react-native-web-example-master\node_modules\babel-register
\lib\node.js:144:14)
    at Object.require.extensions.(anonymous function) [as .js] (D:\RN\react-nati
ve-web-example-master\node_modules\babel-register\lib\node.js:154:7)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (D:\RN\react-native-web-example-master\node_modules\re
act-web\local-cli\cli.js:17:19)
    at Module._compile (module.js:570:32)

node: v6.10.0
npm: 3.10.10

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions