Skip to content

running error #4

Open
Open
@williamhatch

Description

@williamhatch

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions