Skip to content

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

@kiwidamien

Description

@kiwidamien

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

  • Version used: npm --version is 5.5.1
  • Browser Name and version: N/A (problem is getting server to launch)
  • Operating System and version (desktop or mobile): Desktop OSX 10.13.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions