survivejs / react-boilerplate Goto Github PK
View Code? Open in Web Editor NEWBoilerplate for the "SurviveJS - React" book
Boilerplate for the "SurviveJS - React" book
I'd like to add some sass files into this project for styling, would you pls give an example to show it, thanks.
I've tried two times, I have the files cloned from this repository. Here's the debug log
`0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart [email protected]
6 info start [email protected]
7 verbose unsafe-perm in lifecycle true
8 info [email protected] Failed to exec start script
9 verbose stack Error: [email protected] start: webpack-dev-server
9 verbose stack Exit status 1
9 verbose stack at EventEmitter.
(/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:217:16)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at EventEmitter.emit (events.js:172:7)
9 verbose stack at ChildProcess.(/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at ChildProcess.emit (events.js:172:7)
9 verbose stack at maybeClose (internal/child_process.js:827:16)
9 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
10 verbose pkgid [email protected]
11 verbose cwd /Users/macbem/Documents/react-practice/kanban-app
12 error Darwin 15.6.0
13 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
14 error node v4.4.7
15 error npm v2.15.8
16 error code ELIFECYCLE
17 error [email protected] start: webpack-dev-server
17 error Exit status 1
18 error Failed at the [email protected] start script 'webpack-dev-server'.
18 error This is most likely a problem with the react-boilerplate package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error webpack-dev-server
18 error You can get information on how to open an issue for this project with:
18 error npm bugs react-boilerplate
18 error Or if that isn't available, you can get their info via:
18 error
18 error npm owner ls react-boilerplate
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]
`
Hi @bebraw,
Thank you for putting together the book. It looks like a really good walkthrough through react.
After I cloned the repository, and did an npm install
, when I run npm start
I got the following command line output (which included an error):
11:15 $ PORT=3000 npm start
> [email protected] start /Users/ilya/Code/javascript/survivejs-react/kanban-app
> webpack-dev-server
http://localhost:3000/
webpack result is served from /
content is served from /Users/ilya/Code/javascript/survivejs-react/kanban-app
404s will fallback to /index.html
ERROR in Template execution failed: TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
ERROR in TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
- index.js:255
[kanban-app]/[html-webpack-plugin]/index.js:255:16
- util.js:16 tryCatcher
[kanban-app]/[bluebird]/js/release/util.js:16:23
- promise.js:504 Promise._settlePromiseFromHandler
[kanban-app]/[bluebird]/js/release/promise.js:504:31
- promise.js:561 Promise._settlePromise
[kanban-app]/[bluebird]/js/release/promise.js:561:18
- promise.js:598 Promise._settlePromiseCtx
[kanban-app]/[bluebird]/js/release/promise.js:598:10
- async.js:143 Async._drainQueue
[kanban-app]/[bluebird]/js/release/async.js:143:12
- async.js:148 Async._drainQueues
[kanban-app]/[bluebird]/js/release/async.js:148:10
- async.js:17 Immediate.Async.drainQueues
[kanban-app]/[bluebird]/js/release/async.js:17:14
Child html-webpack-plugin for "index.html":
Here are my node and npm versions:
11:21 $ node --version
v6.4.0
11:14 $ npm --version
3.10.6
I asked my colleague to clone the repo and run the same commands, and they got the same error. If you are able to investigate and comment that would be great.
Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.