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

Unable to install #8

Open
AbdealiLoKo opened this issue Oct 22, 2014 · 1 comment
Open

Unable to install #8

AbdealiLoKo opened this issue Oct 22, 2014 · 1 comment

Comments

@AbdealiLoKo
Copy link

On trying to install this using docpad install handlebars
I get the following error :

info: Welcome to DocPad v6.63.8 (local installation: /media/data/shaastra/16/main/node_modules/docpad)
info: Contribute: http://docpad.org/docs/contribute
info: Plugins: cleanurls, coffeescript, downloader, eco, less, livereload, marked, partials, related, stylus, text
info: Environment: development
info: npm install docpad-plugin-handlebars@2 --save
npm ERR! Failed to parse json
npm ERR! Unexpected token ]
npm ERR! File: /media/data/shaastra/16/main/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! System Linux 3.13.0-35-generic
npm ERR! command "/media/data/shaastra/16/main/venv/bin/node" "/media/data/shaastra/16/main/venv/bin/npm" "install" "docpad-plugin-handlebars@2" "--save"
npm ERR! cwd /media/data/shaastra/16/main
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm ERR! file /media/data/shaastra/16/main/package.json
npm ERR! code EJSONPARSE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /media/data/shaastra/16/main/npm-debug.log
npm ERR! not ok code 0
error: Something went wrong with the action
error: An error occured: 
Error: npm ERR! Failed to parse json
npm ERR! Unexpected token ]
npm ERR! File: /media/data/shaastra/16/main/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! System Linux 3.13.0-35-generic
npm ERR! command "/media/data/shaastra/16/main/venv/bin/node" "/media/data/shaastra/16/main/venv/bin/npm" "install" "docpad-plugin-handlebars@2" "--save"
npm ERR! cwd /media/data/shaastra/16/main
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm ERR! file /media/data/shaastra/16/main/package.json
npm ERR! code EJSONPARSE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /media/data/shaastra/16/main/npm-debug.log
npm ERR! not ok code 0

    at ChildProcess.<anonymous> (/media/data/shaastra/16/main/node_modules/docpad/node_modules/safeps/out/lib/safeps.js:165:23)
    at ChildProcess.emit (events.js:98:17)
    at maybeClose (child_process.js:756:16)
    at Process.ChildProcess._handle.onexit (child_process.js:823:5)
info: Shutting down... cya next time!
@RobLoach
Copy link
Contributor

/media/data/shaastra/16/main/package.json ?

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