Code Monkey home page Code Monkey logo

react-redux-simple-app's Introduction

Simple React/Redux application

Instructions

# install dependencies
npm install

# build project and start server on 127.0.0.1:3000
npm run dev

Info

Static json is located under data folder and serves with dev server (server.js).
Dev server runs on Express + Webpack Dev Middleware.

Keywords: React, Redux, React-Router, Less, Webpack

react-redux-simple-app's People

Contributors

jsarafajr avatar

Stargazers

 avatar

Watchers

 avatar  avatar

react-redux-simple-app's Issues

Unexpected token issue with cyber-vision lib test

Pulled the repo.
Made npm install.
Then npm run dev
Got an error "unexpected token" issue with cyber vision lib test.
Running on Linux Elementary OS Freya (based on ubuntu 14.04 Trusty ) x64
Kernel 3.19.0-64-generic

LOG:

react-redux-simple-app$ npm run dev

> [email protected] dev /home/musichen/Desktop/playground/js/react-redux-simple-app
> node server.js

/home/musichen/Desktop/playground/js/react-redux-simple-app/server.js:25
const authorsMap = authorsJSON.reduce((map, author) => {
                                                    ^^
SyntaxError: Unexpected token =>
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:411:25)
    at Object.Module._extensions..js (module.js:446:10)
    at Module.load (module.js:353:32)
    at Function.Module._load (module.js:308:12)
    at Function.Module.runMain (module.js:469:10)
    at startup (node.js:124:18)
    at node.js:882:3

npm ERR! Linux 3.19.0-64-generic
npm ERR! argv "/home/musichen/.nvm/versions/io.js/v1.8.4/bin/iojs" "/home/musichen/.nvm/versions/io.js/v1.8.4/bin/npm" "run" "dev"
npm ERR! node v1.8.4
npm ERR! npm  v2.9.0
npm ERR! code ELIFECYCLE
npm ERR! [email protected] dev: `node server.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] dev script 'node server.js'.
npm ERR! This is most likely a problem with the cybervision-test package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node server.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls cybervision-test
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/musichen/Desktop/playground/js/react-redux-simple-app/npm-debug.log

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.