This repository was archived by the owner on Jan 30, 2021. It is now read-only.

Description
If a try to build the library, I get this error:
# npm run build
> [email protected] build /Users/nono/Desarrollo/react-heatmap
> gulp clean && NODE_ENV=production gulp build
/Users/nono/Desarrollo/react-heatmap/node_modules/require-dir/index.js:93
if (!require.extensions.hasOwnProperty(ext)) {
^
TypeError: require.extensions.hasOwnProperty is not a function
at requireDir (/Users/nono/Desarrollo/react-heatmap/node_modules/require-dir/index.js:93:37)
at Object.<anonymous> (/Users/nono/Desarrollo/react-heatmap/node_modules/gulp-git/index.js:4:18)
at Module._compile (module.js:662:30)
at Object.Module._extensions..js (module.js:673:10)
at Module.load (module.js:575:32)
at tryModuleLoad (module.js:515:12)
at Function.Module._load (module.js:507:3)
at Module.require (module.js:606:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/Users/nono/Desarrollo/react-heatmap/node_modules/react-component-gulp-tasks/tasks/release.js:1:73)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `gulp clean && NODE_ENV=production gulp build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/nono/.npm/_logs/2018-03-22T11_59_34_802Z-debug.log
I have not made any changes to the project.