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

What is the build process now on master. #26

Closed
chopfitzroy opened this issue Aug 23, 2016 · 2 comments
Closed

What is the build process now on master. #26

chopfitzroy opened this issue Aug 23, 2016 · 2 comments

Comments

@chopfitzroy
Copy link

So far I:

  • git clone https://github.com/egoist/vuepack.git
  • cd vuepack/template
  • npm install

This results in the following error:

npm ERR! Linux 4.4.0-31-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v6.4.0
npm ERR! npm  v3.10.3
npm ERR! file /home/otis/Developer/portfolio/template/package.json
npm ERR! code EJSONPARSE

npm ERR! Failed to parse json
npm ERR! Unexpected token '#' at 23:7
npm ERR!     {{#jsx}}
npm ERR!       ^
npm ERR! File: /home/otis/Developer/portfolio/template/package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR! 
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse

npm ERR! Please include the following file with any support request:
npm ERR!     /home/otis/Developer/portfolio/template/npm-debug.log

The offending line is easy enough to find: {{#jsx}}

Just wondering how you are handling this locally, as a side note I do not want to use jsx.

Sorry know it is a pre-release hoping I can submit a PR for the README once I have a clearer idea of what is going on.

Cheers,
Otis.

@egoist
Copy link
Owner

egoist commented Aug 23, 2016

See the README, now you should use vue-cli to generate the template:

$ npm install -g vue-cli
$ vue init egoist/vuepack new-project

@chopfitzroy
Copy link
Author

Hey @egoist,

Ahh I see I did not realise it was a requirement* to be running vue-cli :).

Cheers.

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

2 participants