Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with CRA 1.0.7 #458

Closed
stereobooster opened this issue May 29, 2017 · 2 comments
Closed

Error with CRA 1.0.7 #458

stereobooster opened this issue May 29, 2017 · 2 comments
Labels

Comments

@stereobooster
Copy link

stereobooster commented May 29, 2017

When something isn’t working, include:

  • styleguide.config.js none.
  • webpack "2.6.1"
  • MacOS
  • Reproducible demo:
git clone https://github.com/stereobooster/react-lazy-load.git
git checkout my-fork
cd examples/basic
sh ./link.sh
yarn
yarn run styleguide
yarn run styleguide
yarn run v0.24.6
$ styleguidist server
Loading webpack config from:
react-scripts/config/webpack.config.dev

/react-lazy-load/examples/basic/node_modules/react-styleguidist/bin/styleguidist.js:119
		throw err;
		^

Error: The NODE_ENV environment variable is required but was not specified.
    at Object.<anonymous> (react-lazy-load/examples/basic/node_modules/react-scripts/config/env.js:22:9)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    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> (react-lazy-load/examples/basic/node_modules/react-scripts/config/webpack.config.dev.js:22:30)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    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)
error Command failed with exit code 1.
@sapegin sapegin added the bug label May 30, 2017
@sapegin
Copy link
Member

sapegin commented May 30, 2017

Thanks for the repro! I’ll make a new release as soon as I figure out why CI is failing ;-|

sapegin added a commit that referenced this issue May 30, 2017
## New feature

**Section isolated mode:** now you can open sections in isolated mode too.

(#394 by @Knorcedger)

## Bug fixes

* Fix React CodeMirror warning when opening code editor
* Fix Create React App 1.0 support (#458)
* Fix back button path for support pathname-relative paths (#447 by @stepancar)
* Promise polyfill for IE11 because require.ensure requires it in webpack 2
@sapegin
Copy link
Member

sapegin commented May 30, 2017

Should be fixed in 5.3.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants