booleanhunter / ReactJS-AdminLTE

ReactJS version of the original AdminLTE dashboard (EXPERIMENTAL)- https://github.com/almasaeed2010/AdminLTE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

webpack -p command fails with error message

ashwani608 opened this issue · comments

ashwani@ashwani-PC:adminlte-reactjs$ ./node_modules/.bin/webpack -p
/home/ashwani/node_modules/adminlte-reactjs/webpack.config.js:20
"react-dom": node-dir + '/react-dom',
^

ReferenceError: node is not defined
at Object. (/home/ashwani/node_modules/adminlte-reactjs/webpack.config.js:20:26)
at Module._compile (module.js:425:26)
at Object.Module._extensions..js (module.js:432:10)
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 module.exports (/home/ashwani/node_modules/adminlte-reactjs/node_modules/webpack/bin/convert-argv.js:80:13)
at Object. (/home/ashwani/node_modules/adminlte-reactjs/node_modules/webpack/bin/webpack.js:39:40)
at Module._compile (module.js:425:26)