Git Product home page Git Product logo

koa-react-full-example's People

Contributors

claym avatar cmrnh avatar conrado avatar dozoisch avatar gitter-badger avatar optikfluffel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

koa-react-full-example's Issues

Error in gulp-less/index.js

Hi, thanks for this example. I haven't tried previous versions but with v0.3.2 when it comes to gulp install I get

[18:49:13] Using gulpfile ~/Sites/koa-react-full-example/gulpfile.js
[18:49:13] Starting 'jsx-compile'...
[18:49:13] Starting 'copy-js'...
[18:49:13] Starting 'less-compile'...
[18:49:13] Starting 'write-build-info'...
[18:49:13] Finished 'copy-js' after 26 ms
/Users/Brandon/Sites/koa-react-full-example/node_modules/gulp-less/index.js:68
    }).done(undefined, cb);
       ^
TypeError: undefined is not a function
    at DestroyableTransform._transform (/Users/Brandon/Sites/koa-react-full-example/node_modules/gulp-less/index.js:68:8)
    at DestroyableTransform.Transform._read (/Users/Brandon/Sites/koa-react-full-example/node_modules/gulp-less/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:184:10)
    at DestroyableTransform.Transform._write (/Users/Brandon/Sites/koa-react-full-example/node_modules/gulp-less/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:172:12)
    at doWrite (/Users/Brandon/Sites/koa-react-full-example/node_modules/gulp-less/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:237:10)
    at writeOrBuffer (/Users/Brandon/Sites/koa-react-full-example/node_modules/gulp-less/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:227:5)
    at DestroyableTransform.Writable.write (/Users/Brandon/Sites/koa-react-full-example/node_modules/gulp-less/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:194:11)
    at write (/Users/Brandon/Sites/koa-react-full-example/node_modules/gulp-if/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:623:24)
    at flow (/Users/Brandon/Sites/koa-react-full-example/node_modules/gulp-if/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:632:7)
    at DestroyableTransform.pipeOnReadable (/Users/Brandon/Sites/koa-react-full-example/node_modules/gulp-if/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:664:5)
    at DestroyableTransform.emit (events.js:104:17)

npm install and npm install -g gulp both worked, and I did npm update -g for good measure but no change. OS X 10.10.2 with Node 0.12.

Cannot get build to work - TypeError: Cannot read property 'error' of undefined

Just tried to do a clean install and got the following error:

koa-react-full-example/node_modules/babel-core/lib/transformation/file/options/option-manager.js:126
      if (!option) this.log.error("Unknown option: " + alias + "." + key, ReferenceError);
                           ^

TypeError: Cannot read property 'error' of undefined

node -v: v5.9.0
npm -v: 3.7.3

Not sure what else to check for, and I'm still relatively new to babel so I might be missing something there. Will appreciate any tips, thanks!!

npm run hot-dev-server

when I run

npm run hot-dev-server

i get

[email protected] hot-dev-server /home/duma/Projects/Personal/koa-react-full-example
webpack-dev-server --content-base public -ds --config webpack.config.js --hot --progress --colors --port 2992 --inline

70% 1/1 build moduleshttp://localhost:2992/
webpack result is served from //localhost:2992/_assets/
content is served from /home/duma/Projects/Personal/koa-react-full-example/public
/home/duma/Projects/Personal/koa-react-full-example/node_modules/webpack/lib/node/NodeWatchFileSystem.js:29
throw new Error("Invalid arguments: 'delay'");
^
Error: Invalid arguments: 'delay'
at NodeWatchFileSystem.watch (/home/duma/Projects/Personal/koa-react-full-example/node_modules/webpack/lib/node/NodeWatchFileSystem.js:29:9)
at Watching.watch (/home/duma/Projects/Personal/koa-react-full-example/node_modules/webpack/lib/Compiler.js:78:47)
at Watching._done (/home/duma/Projects/Personal/koa-react-full-example/node_modules/webpack/lib/Compiler.js:74:8)
at Watching. (/home/duma/Projects/Personal/koa-react-full-example/node_modules/webpack/lib/Compiler.js:52:18)
at Tapable.emitRecords (/home/duma/Projects/Personal/koa-react-full-example/node_modules/webpack/lib/Compiler.js:271:37)
at Watching. (/home/duma/Projects/Personal/koa-react-full-example/node_modules/webpack/lib/Compiler.js:49:19)
at /home/duma/Projects/Personal/koa-react-full-example/node_modules/webpack/lib/Compiler.js:264:11
at Tapable.applyPluginsAsync (/home/duma/Projects/Personal/koa-react-full-example/node_modules/webpack/node_modules/tapable/lib/Tapable.js:60:69)
at Tapable.afterEmit (/home/duma/Projects/Personal/koa-react-full-example/node_modules/webpack/lib/Compiler.js:261:8)
at Tapable. (/home/duma/Projects/Personal/koa-react-full-example/node_modules/webpack/lib/Compiler.js:256:14)

Error: Cannot find module 'jstransform/visitors/es6-arrow-function-visitors'

[serge:mbp koa-react-full-example-master]$ npm install
[serge:mbp koa-react-full-example-master]$ gulp install
module.js:322
    throw err;
          ^
Error: Cannot find module 'jstransform/visitors/es6-arrow-function-visitors'
    at Function.Module._resolveFilename (module.js:320:15)
    at Function.Module._load (module.js:262:25)
    at Module.require (module.js:349:17)
    at require (module.js:368:17)
    at Object.<anonymous> (/Users/serge/projects/test/koa-react-full-example-master/node_modules/gulp-react/node_modules/react-tools/vendor/fbtransform/visitors.js:2:25)
    at Module._compile (module.js:444:26)
    at Object.Module._extensions..js (module.js:462:10)
    at Module.load (module.js:339:32)
    at Function.Module._load (module.js:294:12)
    at Module.require (module.js:349:17)
    at require (module.js:368:17)
[serge:mbp koa-react-full-example-master]$ node --version
v1.3.0

No login page

Hey,

There's probably a simple solution to this, but I don't get a login page after following all of the instructions. Instead, I just get a line of text and a changelog link: "Version - 0.6.0 #1a22bb1 - Changelog." What am I doing wrong here? Didn't see any errors during the process of installing. I'm running nodejs v0.12.7, mongodb shell version is 3.0.4, npm version 2.11.3, on Debian 7.

Mitch

Erro with npm run prod on Mac 10.10.5 (Yosemite): Cannot find module 'bcrypt'

My node version is the latest v5.7.0 and did npm install in the downloaded project, however, I got the following errors when running npm run prod:

Error: Cannot find module 'bcrypt'
    at Function.Module._resolveFilename (module.js:339:15)
    at Function.Module._load (module.js:290:25)
    at Module.require (module.js:367:17)
    at require (internal/module.js:16:19)
    at Object.<anonymous> (/Users/xxx/Desktop/Code/nodeJS/koa/koa-react-full-example/lib/bcrypt-thunk.js:2:14)
    at Module._compile (module.js:413:34)
    at Object.Module._extensions..js (module.js:422:10)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (internal/module.js:16:19)
    at Object.<anonymous> (/Users/xxx/Desktop/Code/nodeJS/koa/koa-react-full-example/src/models/user.js:2:14)
    at Module._compile (module.js:413:34)
    at Object.Module._extensions..js (module.js:422:10)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)

I did npm install bcrypt --save as well, but the problem persists. any ideas where might be wrong?

Flux or a Flux-ish thingy

Hi, just curious if you planned on adding Reflux or had feelings either way on a PR for it. The current implementation of the Auth store isn't too far off already. Thanks for this repo!

Cannot GET /main.js

I get 404 on the /main.js when running this project untouched via npm run hot-dev-server. Thoughts on where to start?

So, it seems it is serving it up via /_assets/main.js but the file dev-server-public/index.html refers to it as main.js in the current directory?

Trouble building on OSX 10.9

I ran into a couple problems building the current (174015c) koa-react-full-example on OSX 10.9. I started by git clone from the github repo, then ran these commands:

npm install got several errors: http://pastebin.com/awweJkQf

npm run build && npm test got different errors: http://pastebin.com/GvCYrHs1

Any thoughts for resolving this? Should I wait 'til my new 10.10 machine comes in next week? Thanks!

Update: There was no npm-debug.log file generated...

Error when running gulp dev

I am running into errors like below, any help here?
/koa-react-full-example-master/node_modules/bcrypt/node_modules/bindings/bindings.js:79
throw e
^
Error: Module did not self-register.
at Error (native)
at Module.load (module.js:349:32)
at Function.Module._load (module.js:305:12)
at Module.require (module.js:357:17)
at require (module.js:373:17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.