Skip to content

Uncaught TypeError: Cannot define property:__Rewire__, object is not extensible. #24

@doxxx

Description

@doxxx

When I run:

NODE_ENV=development node dev-server ./webpack/config

The browser window pops up but the page that loads is blank and the following be found in the javascript console:

Uncaught TypeError: Cannot define property:__Rewire__, object is not extensible.
(anonymous function) @ routes.jsx:16
(anonymous function) @ routes.jsx:16
(anonymous function) @ routes.jsx:16
__webpack_require__ @ bootstrap ddf5084ccf82e2420949:520
fn @ bootstrap ddf5084ccf82e2420949:75
(anonymous function) @ app.jsx:8
(anonymous function) @ app.jsx:13
(anonymous function) @ app.jsx:13
__webpack_require__ @ bootstrap ddf5084ccf82e2420949:520
fn @ bootstrap ddf5084ccf82e2420949:75
(anonymous function) @ bootstrap ddf5084ccf82e2420949:543
__webpack_require__ @ bootstrap ddf5084ccf82e2420949:520
(anonymous function) @ bootstrap ddf5084ccf82e2420949:543
(anonymous function) @ bootstrap ddf5084ccf82e2420949:543

If I build the app using:

NODE_ENV=production npm run webpack

And then load the resulting build/index.html in the browser, the app works.

Windows 7 using an MSYS Git Bash shell to run the npm/node commands.

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