Open rhysforyou opened 7 years ago
Getting the same ReferenceError: self is not defined
error as described above. It works working fine until a fresh npm install.
+1 for me. I am suspecting this is due to WebPack 2.x related changes. Exploring now.
Tried futzing with downgrading versions of things but unfortunately didn't get anywhere.
Hey just an update on this, I've been rolling my own isomorphic webpack solution for learning purposes, and two things solved this issue for me.
Adding the following to my serverside webpack config
target: 'node',
node: {
console: false,
global: false,
process: false,
Buffer: false,
__filename: false,
__dirname: false,
setImmediate: false
},
I'm sure these exact solutions won't work for isomorphic-webpack, but they're a good place to start
I'm trying to run gajus/isomorphic-webpack-demo on my machine without much luck. Following the exact instructions provided in the README, I see the following output:
Some details about my system:
Also for what it's worth, I tried this on multiple computers and saw the exact same issue.