Skip to content
This repository has been archived by the owner on Mar 26, 2018. It is now read-only.

chromeapp:samples "Client ID is below specific application key" #51

Closed
jvgeee opened this issue Feb 20, 2015 · 4 comments
Closed

chromeapp:samples "Client ID is below specific application key" #51

jvgeee opened this issue Feb 20, 2015 · 4 comments

Comments

@jvgeee
Copy link

jvgeee commented Feb 20, 2015

When trying to use chromeapp:samples I'm getting the following error:

What sample would you like to use? identity
   create app/assets/screenshot_1280_800.png
   create app/identity.js
   create app/index.html
   create app/main.js
   create app/manifest.json
   create app/README.md
   create app/sample_support_metadata.json
   create app/sample_support/google-code-prettify/lang-css.js
   create app/sample_support/google-code-prettify/run_prettify.js
   create app/sample_support/prettify_theme.css
   create app/sample_support/prettify.css
   create app/sample_support/prettify.js
   create app/sample_support/README.md
   create app/sample_support/sample_support.js
   create app/sample_support/show_snippets.html
   create app/sample_support/show_snippets.js
   create app/sample_support/snippets.css
   create app/sample_support/standard.css
undefined:14
    // client_id below is specifc to the application key. Follow the
    ^
SyntaxError: Unexpected token /
    at Object.parse (native)
    at module.exports.yeoman.generators.Base.extend.manifest (/usr/local/lib/node_modules/generator-chromeapp/samples/index.js:186:21)
    at /usr/local/lib/node_modules/generator-chromeapp/node_modules/yeoman-generator/lib/base.js:395:14
    at processImmediate [as _immediateCallback] (timers.js:358:17)

@ragingwind
Copy link
Contributor

They use comment in JSON to explain you what to do. see: https://github.com/GoogleChrome/chrome-app-samples/blob/master/samples/identity/manifest.json. at this time, you need to download and use the sample manually without the yeoman generator

@jvgeee
Copy link
Author

jvgeee commented Feb 21, 2015

So does that mean the generator is currently non-functioning and chrome:samples can't be used with yeoman?

@ragingwind
Copy link
Contributor

No. a few of samples can/might be had an issue like identity But It doesn't mean that You can't use all samples. I will make a new issue for this. Samples list could be filtered.

@ragingwind
Copy link
Contributor

@jascination I think It works well now. I've patched for this 7f7c87e

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

No branches or pull requests

2 participants