pushtell / react-ab-test

A/B testing React components and debug tools. Isomorphic with a simple, universal interface. Well documented and lightweight. Tested in popular browsers and Node.js. Includes helpers for Mixpanel and Segment.com.
MIT License
752 stars 112 forks source link

Example application in ./example/isotropic not working #44

Open kiwidamien opened 6 years ago

kiwidamien commented 6 years ago

Table of Contents

Expected Behavior

Following the instructions for installing the example application in ./example/isomorphic should work out of the box.

Current Behavior

Throws error message:


ERROR in Entry module not found: Error: Cannot resolve module 'transform' in [redacted]/react-ab-test/examples/isomorphic
module.js:557
    throw err;
    ^

Error: Cannot find module 'babel-core/register'
.....

Possible Solution

It seems like a package.json problem. I tried the following

$ npm install babel-core
$ npm install babel-plugin-transform-class-properties --save

which changed the error, but doesn't resolve it.

Simply running $ webpack --config webpack.example.config.js; seems to duplicate the main error.

Steps to Reproduce (for bugs)

  1. git clone https://github.com/pushtell/react-ab-test.git
  2. cd react-ab-test/examples/isomorphic/
  3. npm install
  4. npm start

Context

Trying to run the example app

Your Environment