Giter Site home page Giter Site logo

tex's Introduction

How to run the example

Angular 1

  1. >> cd angular1
  2. >> npm install
  3. >> npm run webpack-dev-server
  4. >> open http://localhost:8080/webpack-dev-server/

Angular 2

  1. >> cd angular2
  2. >> npm install
  3. >> npm run webpack-dev-server
  4. >> open http://localhost:8080/webpack-dev-server/

tex's People

Contributors

vsavkin avatar

Stargazers

 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

tex's Issues

npm ERR! missing script: webpack

I'm getting this error

0 info it worked if it ends with ok
1 verbose cli [ '/Users/obv174/.nvm/versions/node/v5.12.0/bin/node',
1 verbose cli '/Users/obv174/.nvm/versions/node/v5.12.0/bin/npm',
1 verbose cli 'run',
1 verbose cli 'webpack' ]
2 info using [email protected]
3 info using [email protected]
4 verbose stack Error: missing script: webpack
4 verbose stack at run (/Users/obv174/.nvm/versions/node/v5.12.0/lib/node_modules/npm/lib/run-script.js:147:19)
4 verbose stack at /Users/obv174/.nvm/versions/node/v5.12.0/lib/node_modules/npm/lib/run-script.js:57:5
4 verbose stack at /Users/obv174/.nvm/versions/node/v5.12.0/lib/node_modules/npm/node_modules/read-package-json/read-json.js:345:5
4 verbose stack at checkBinReferences_ (/Users/obv174/.nvm/versions/node/v5.12.0/lib/node_modules/npm/node_modules/read-package-json/read-json.js:309:45)
4 verbose stack at final (/Users/obv174/.nvm/versions/node/v5.12.0/lib/node_modules/npm/node_modules/read-package-json/read-json.js:343:3)
4 verbose stack at then (/Users/obv174/.nvm/versions/node/v5.12.0/lib/node_modules/npm/node_modules/read-package-json/read-json.js:113:5)
4 verbose stack at ReadFileContext. (/Users/obv174/.nvm/versions/node/v5.12.0/lib/node_modules/npm/node_modules/read-package-json/read-json.js:284:20)
4 verbose stack at ReadFileContext.callback (/Users/obv174/.nvm/versions/node/v5.12.0/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:78:16)
4 verbose stack at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:324:13)
5 verbose cwd /Users/obv174/es6
6 error Darwin 15.6.0
7 error argv "/Users/obv174/.nvm/versions/node/v5.12.0/bin/node" "/Users/obv174/.nvm/versions/node/v5.12.0/bin/npm" "run" "webpack"
8 error node v5.12.0
9 error npm v3.8.6
10 error missing script: webpack
11 error If you need help, you may report this error at:
11 error https://github.com/npm/npm/issues
12 verbose exit [ 1, true ]

error: missing script: webpack-dev-server

i am trying to run this with npm run webpack-dev-server but i get the error-message: missing script: webpack-dev-server
any idea? I tried this locally (os x) and on cloud9(linux) and got the same issue

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.