Giter Site home page Giter Site logo

ashwamegh / riot-webpack-starter Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 1.0 91 KB

A setup for RiotJS project to start with Webpack

Home Page: https://ashwamegh.github.io/blog/setting-up-riotjs-with-webpack/

License: MIT License

HTML 37.90% JavaScript 62.10%
javascript riotjs webpack starter-template

riot-webpack-starter's Introduction

riot-webpack-starter's People

Contributors

ashwamegh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

amorygalili

riot-webpack-starter's Issues

TypeError: Cannot read property 'properties' of undefined

Environment infos

node -v -> v10.14.2
npm -v -> 6.4.1
OS: Ubuntu 18.04 LTS

What I did

I tried to start the dev-server by doing:

npm i
npm start

can you reproduce this?

What I get

Here is the complete log, where I also used npm audit fix. After that I could reproduce without the audit fix though

potatoUser@potatoComputer riot-webpack-starter-master $ npm i
npm WARN [email protected] No repository field.

added 992 packages from 529 contributors and audited 15563 packages in 22.575s
found 32 moderate severity vulnerabilities
  run `npm audit fix` to fix them, or `npm audit` for details
  
potatoUser@potatoComputer riot-webpack-starter-master $ npm audit fix
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

+ [email protected]
updated 2 packages in 13.277s
fixed 26 of 32 vulnerabilities in 15563 scanned packages
  1 package update for 6 vulns involved breaking changes
  (use `npm audit fix --force` to install breaking changes; or refer to `npm audit` for steps to fix these manually)

potatoUser@potatoComputer riot-webpack-starter-master $ npm start

> [email protected] start /path/to/Repos/riot-webpack-starter-master
> webpack-dev-server --inline --watch --hot --colors -d --port 3000

/path/to/Repos/riot-webpack-starter-master/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 (/path/to/Repos/riot-webpack-starter-master/node_modules/webpack-cli/bin/config-yargs.js:89:48)
    at Object.<anonymous> (/path/to/Repos/riot-webpack-starter-master/node_modules/webpack-dev-server/bin/webpack-dev-server.js:84:40)
    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:282: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 --inline --watch --hot --colors -d --port 3000`
npm ERR! Exit status 1

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.