Skip to content

Instantly share code, notes, and snippets.

@abelaska
Created November 5, 2015 16:36
Show Gist options
  • Save abelaska/b1a4f7eb40b17584a119 to your computer and use it in GitHub Desktop.
Save abelaska/b1a4f7eb40b17584a119 to your computer and use it in GitHub Desktop.
Trying to use react-toolbox in isomorphic app
Tring to integrate react-toolbox into https://github.com/este/este I am getting this error:
/home/abelaska/Projects/ten-app/node_modules/react-transform-hmr/lib/index.js:51
throw new Error('locals[0] does not appear to be a `module` object with Hot Module ' + 'replacement API enabled. You should disable react-transform-hmr in ' + 'production by using `env` section in Babel configuration. See the ' + 'example in README: https://github.com/gaearon/react-transform-hmr');
^
Error: locals[0] does not appear to be a `module` object with Hot Module replacement API enabled. You should disable react-transform-hmr in production by using `env` section in Babel configuration. See the example in README: https://github.com/gaearon/react-transform-hmr
at proxyReactComponents (/home/abelaska/Projects/ten-app/node_modules/react-transform-hmr/lib/index.js:51:11)
at Object.<anonymous> (/home/abelaska/Projects/ten-app/node_modules/react-toolbox/lib/input/index.js:47:65)
at Module._compile (module.js:435:26)
at Module._extensions..js (module.js:442:10)
at Object.require.extensions.(anonymous function) [as .js] (/home/abelaska/Projects/ten-app/node_modules/babel-core/lib/api/register/node.js:214:7)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object.<anonymous> (/home/abelaska/Projects/ten-app/node_modules/react-toolbox/lib/autocomplete/index.js:39:14)
at Module._compile (module.js:435:26)
at Module._extensions..js (module.js:442:10)
at Object.require.extensions.(anonymous function) [as .js] (/home/abelaska/Projects/ten-app/node_modules/babel-core/lib/api/register/node.js:214:7)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment