Git Product home page Git Product logo

react_webpack_starter's Introduction

Quick Start

# Install dependencies
npm install

# Serve on localhost:3000
npm start

# Build for production
npm run build

react_webpack_starter's People

Contributors

bradtraversy avatar mrwatts88 avatar vladimir-paziuk avatar vladimirpaziuk 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

react_webpack_starter's Issues

webpack build zooms into page

For some reason my web pack build for production is zoomed in or larger on my index.html page than my dev environment. Seems like all the fonts are just bigger in my prod environment. Any suggestions to why?

Content Not Being Properly Served

After following the tutorial and running the start script, the browser opens localhost, but only serves the file directory, not the index.html.

I thought the problem might be in my code, so I cloned the repository and ran npm install and then the start script, and the problem still existed. I noticed a few comments on the YouTube video expressing the same concern.

clean web page

Uncaught ReferenceError: PropTypes is not defined
at eval (Leads.js:50)
at Module../leadmanager/frontend/src/components/leads/Leads.js (main.js:169)
at webpack_require (main.js:20)
at eval (Dashboard.js:6)
at Module../leadmanager/frontend/src/components/leads/Dashboard.js (main.js:145)
at webpack_require (main.js:20)
at eval (App.js:7)
at Module../leadmanager/frontend/src/components/App.js (main.js:121)
at webpack_require (main.js:20)
at eval (index.js:2)

Issue with npm start after npm install

`react_webpack_starter farhatrv$ npm start

[email protected] start /Users/farhatrv/Documents/react_webpack_starter
webpack-dev-server --mode development --open --hot

/Users/farhatrv/Documents/react_webpack_starter/node_modules/webpack-cli/bin/config-yargs.js:89
describe: optionsSchema.definitions.output.properties.path.description,
^

TypeError: Cannot read property 'properties' of undefined
at module.exports (/Users/farhatrv/Documents/react_webpack_starter/node_modules/webpack-cli/bin/config-yargs.js:89:48)
at Object. (/Users/farhatrv/Documents/react_webpack_starter/node_modules/webpack-dev-server/bin/webpack-dev-server.js:86:25)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: webpack-dev-server --mode development --open --hot
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! /Users/farhatrv/.npm/_logs/2019-05-05T10_51_55_521Z-debug.log`

Getting the above error!

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.