Skip to content

Webpack 2.3 is breaking builds #770

@justin808

Description

@justin808

See #768.

The ^ in the webpack config is resulting in the use of 2.3.x for Webpack and that gives this error:

-react-jsx-self@^6.22.0-flow-strip-types@^6.22.0atch the API schema.
- configuration.output.path: The provided value "../app/assets/webpack" is not an absolute path!
icromatch@^[email protected]@0.0.4inimalistic-crypto-utils@^1.0.0[2/4] Fetching packages...
warning [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
e/rof/src/github.com/shakacode/react_on_rails/gen-examples/examples/basic/client && $(yarn bin)/webpack --config webpack.config.js
info No lockfile found.
[1/4] Resolving packages...
ap@^0.5.6atch the API schema.
- configuration.output.path: The provided value "../app/assets/webpack" is not an absolute path!
rake aborted!
Command failed with status (1): [cd /home/rof/src/github.com/shakacode/reac...]
/home/rof/src/github.com/shakacode/react_on_rails/rakelib/task_helpers.rb:20:in `block in sh_in_dir'
/home/rof/src/github.com/shakacode/react_on_rails/rakelib/task_helpers.rb:20:in `each'
/home/rof/src/github.com/shakacode/react_on_rails/rakelib/task_helpers.rb:20:in `sh_in_dir'
/home/rof/src/github.com/shakacode/react_on_rails/rakelib/examples.rake:40:in `block (3 levels) in <top (required)>'
/home/rof/src/github.com/shakacode/react_on_rails/rakelib/examples.rake:34:in `block (4 levels) in <top (required)>'
Tasks: TOP => examples:build_webpack_bundles_basic
(See full trace by running task with --trace)

https://app.codeship.com/projects/187011/builds/23733772

The short-term fix is to lock Webpack at 2.2.1.

We'll be updating to 2.3.1 shortly.

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