Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running error #4

Open
williamhatch opened this issue Sep 17, 2018 · 0 comments
Open

running error #4

williamhatch opened this issue Sep 17, 2018 · 0 comments

Comments

@williamhatch
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant