Git Product home page Git Product logo

vue-component-generator's People

Contributors

lakb248 avatar ricardoserrao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

vue-component-generator's Issues

Problem with Vue2 upgrade

Hi, I used your generator and updated dependencies to Vue2.
However when I run npm run dev I had to change the port from 8888 to 8877 as it said port already in use even on a fresh system restart (Mac OSX Sierra).

Now when I run npm run dev I get the console (karma?) window, and I can go to localhost:8877 and I see the title Vue component but the component is not rendered :(
My <body> is essentially empty, even though I can see the following in the code:

    <body>
        <div id="container">
            <circle-menu></circle-menu>
        </div>
        <script type="text/javascript" src="/build/build.js"></script>
    </body>

Why is the container removed from the DOM I wonder!? Everything looks fine and I don't see any conflicts with respect to Vue2 in the code, not that I'm an expert.

https://github.com/kristianmandrup/circle-menu

Any help greatly appreciated!

running error

vcg component-demo -n -p 8888

Directory /projects/vuejs/component-demo create success!
Download from https://github.com/lakb248/vue-component-seed.git#vue2...
Download complete!
Generate src/index.js success!
Generate src/vue-component.vue success!
Generate test/vue-component.spec.js success!
Generate index.html success!
Generate index.js success!
Generate package.json success!
Generate webpack.base.config.js success!
Generate webpack.prod.config.js success!
Generate README.md success!
fs.js:141
throw new ERR_INVALID_CALLBACK();
^

TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
at makeCallback (fs.js:141:11)
at Object.rename (fs.js:578:14)
at /usr/local/lib/node_modules/vue-component-generator/index.js:60:21
at Array.forEach ()
at GithubDownloader. (/usr/local/lib/node_modules/vue-component-generator/index.js:58:24)
at GithubDownloader.emit (events.js:182:13)
at /usr/local/lib/node_modules/vue-component-generator/node_modules/github-download/lib/github-download.js:134:19
at next (/usr/local/lib/node_modules/vue-component-generator/node_modules/rimraf/rimraf.js:75:7)
at CB (/usr/local/lib/node_modules/vue-component-generator/node_modules/rimraf/rimraf.js:111:9)
at FSReqWrap.oncomplete (fs.js:145:20)

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.