You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This prevents dependant packages to use the lib with an error like this:
> [email protected] test /home/niko/work/kinto-admin
> NODE_ENV=test mocha --compilers js:babel/register --recursive --require ./test/setup-jsdom.js $(find test -name '*_test.js')
/home/niko/work/kinto-admin/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/niko/work/kinto-admin/node_modules/react-transform-hmr/lib/index.js:51:11)
at Object.<anonymous> (/home/niko/work/kinto-admin/node_modules/react-jsonschema-form/lib/components/fields/ArrayField.js:39:59)
at Module._compile (module.js:435:26)
at Module._extensions..js (module.js:442:10)
at Object.require.extensions.(anonymous function) [as .js] (/home/niko/work/kinto-admin/node_modules/babel/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/niko/work/kinto-admin/node_modules/react-jsonschema-form/lib/components/fields/SchemaField.js:13:19)
at Module._compile (module.js:435:26)
at Module._extensions..js (module.js:442:10)
at Object.require.extensions.(anonymous function) [as .js] (/home/niko/work/kinto-admin/node_modules/babel/node_modules/babel-core/lib/api/register/node.js:214:7)
Sample references in published lib files:
The text was updated successfully, but these errors were encountered:
This prevents dependant packages to use the lib with an error like this:
Sample references in published lib files:
The text was updated successfully, but these errors were encountered: