gajus / gajus/isomorphic-webpack
Unable to run demo on macOS 10.12 / Node 7.1
- Dominant language
- JavaScript
- Stars
- 289
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to run [gajus/isomorphic-webpack-demo](https://github.com/gajus/isomorphic-webpack-demo) on my machine without much luck. Following the exact instructions provided in the README, I see the following output:
```
$ npm start
> @ start /Users/rpowell/Code/isomorphic-webpack-demo
> babel-node ./src/bin/server.js
keywords if/then/else require v5 option
express:application set "x-powered-by" to true +0ms
express:application set "etag" to 'weak' +2ms
express:application set "etag fn" to [Function: wetag] +1ms
express:application set "env" to 'development' +0ms
express:application set "query parser" to 'extended' +0ms
express:application set "query parser fn" to [Function: parseExtendedQueryString] +0ms
express:application set "subdomain offset" to 2 +0ms
express:application set "trust proxy" to false +1ms
express:application set "trust proxy fn" to [Function: trustNone] +0ms
express:application booting in development mode +0ms
express:application set "view" to [Function: View] +0ms
express:application set "views" to '/Users/rpowell/Code/isomorphic-webpack-demo/views' +0ms
express:application set "jsonp callback name" to 'callback' +0ms
isomorphic-webpack manifestPath /Users/rpowell/Code/isomorphic-webpack-demo/src/manifest.json +26ms
isomorphic-webpack compiler event: compile (compilationPromiseIsResolved: true) +0ms
isomorphic-webpack compiler event: done +802ms
isomorphic-webpack manifest { content:
{ './app/index.js': { id: 0, meta: {} },
'../node_modules/css-loader/index.js?{"importLoaders":1,"localIdentName":"[path]___[name]___[local]","modules":1}!../node_modules/resolve-url-loader/index.js!./app/style.css': { id: 1, meta: {} },
'../node_modules/css-loader/lib/css-base.js': { id: 2, meta: {} },
'../node_modules/style-loader/addStyles.js': { id: 3, meta: {} },
'./app/style.css': { id: 4, meta: {} } } } +0ms
isomorphic-webpack requestMap { './app/index.js': 0,
'../node_modules/css-loader/index.js?{"importLoaders":1,"localIdentName":"[path]___[name]___[local]","modules":1}!../node_modules/resolve-url-loader/index.js!./app/style.css': 1,
'../node_modules/css-loader/lib/css-base.js': 2,
'../node_modules/style-loader/addStyles.js': 3,
'./app/style.css': 4 } +2ms
isomorphic-webpack bundleName app +0ms
webpack: Compiled successfully.
isomorphic-webpack entryScriptPath /Users/rpowell/Code/isomorphic-webpack-demo/src/app +9s
isomorphic-webpack evaluating module ID %i 0 +0ms
ReferenceError: self is not defined
at isomorphic-webpack:195:30
at isomorphic-webpack:190:47
at module.exports (isomorphic-webpack:212:68)
at Object. (isomorphic-webpack:440:36)
at __webpack_require__ (isomorphic-webpack:20:30)
at Object. (isomorphic-webpack:88:14)
at __webpack_require__ (isomorphic-webpack:20:30)
at evalBundleCode (/Users/rpowell/Code/isomorphic-webpack-demo/node_modules/isomorphic-webpack/dist/factories/createIsomorphicWebpack.js:141:12)
at /Users/rpowell/Code/isomorphic-webpack-demo/src/bin/server.js:62:30
at Layer.handle [as handle_request] (/Users/rpowell/Code/isomorphic-webpack-demo/node_modules/router/lib/layer.js:93:5)
```
Some details about my system:
- **OS:** macOS 10.12.3
- **Node Version:** v7.7.1
- **NPM Version:** 4.1.2
Also for what it's worth, I tried this on multiple computers and saw the exact same issue.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.