Code Monkey home page Code Monkey logo

beginners-guide-to-react-router's Introduction

Beginner's Guide to React Router Repo

This tutorial uses React Router version 2.0.1

This goes along with the medium post Beginner's Guide to React Router

To get started with this project, do the following:

  1. Git clone the project
  2. cd into the project directory
  3. run npm install from the terminal
  4. run npm start from the terminal
npm install
npm start

beginners-guide-to-react-router's People

Contributors

dabit3 avatar gtdeng 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

Watchers

 avatar  avatar

beginners-guide-to-react-router's Issues

can't run project on terminal i always get below error

Hi guys as i was trying it for the first time i don't know much about this but i am trying and learning by googling it

now thing is i was going through medium's article

so set whole project manually but was not able to start the server so by cloning the whole project from git hub and both time same error occures

here are the log i am putting here


# Logs

D:\NODE\beginners-guide-to-react-router-master>npm start

[email protected] start D:\NODE\beginners-guide-to-react-router-master
webpack-dev-server

'webpack-dev-server' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: webpack-dev-server
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\haadeshara\AppData\Roaming\npm-cache_logs\2017-06-30T12_28_07_008Z-debug.log

D:\NODE\beginners-guide-to-react-router-master>

and also attaching the screen shot with it

issue

Need help or suggestion i googled for the solutions and tried different kind of solutions for the same errors yet not solved mine one

hope for the help from you guys

Thanks in advance

Getting Error with WebPack Configuration

Hi,

I tried the steps mentioned on the website & get below error

C:\Development\reactpoc\LearnReactRouter>npm start

[email protected] start C:\Development\reactpoc\LearnReactRouter
webpack-dev-server

Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.

  • configuration.output.path: The provided value "./app" is not an absolute path!

npm ERR! Windows_NT 10.0.15063
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start"
npm ERR! node v7.10.0
npm ERR! npm v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: webpack-dev-server
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'webpack-dev-server'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the LearnReactRouter package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! webpack-dev-server
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs LearnReactRouter
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls LearnReactRouter
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\dvengambhanumoorthy\AppData\Roaming\npm-cache_logs\2017-10-03T16_15_35_018Z-debug.log

C:\Development\reactpoc\LearnReactRouter>

Unsupported Architecture on Cloud 9

npm ERR! Linux 4.9.17-c9
npm ERR! argv "/home/ubuntu/.nvm/versions/node/v6.11.2/bin/node" "/home/ubuntu/.nvm/versions/node/v6.11.2/bin/npm" "install" "--save" "fsevents"
npm ERR! node v6.11.2
npm ERR! npm  v3.10.10
npm ERR! code EBADPLATFORM

npm ERR! notsup Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! notsup Valid OS:    darwin
npm ERR! notsup Valid Arch:  any
npm ERR! notsup Actual OS:   linux
npm ERR! notsup Actual Arch: x64

npm ERR! Please include the following file with any support request:
npm ERR!     /home/ubuntu/workspace/game-client/npm-debug.log
rhedin:~/workspace/game-client $ ```

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.