Tools: ERROR: polymer init app-drawer-template

Created on 19 May 2016  路  19Comments  路  Source: Polymer/tools

Having a problem with "polymer init app-drawer-template"

image

    Oneeezy@Oneezy MINGW64 ~/Desktop/new app
    $ polymer init app-drawer-template
    info:    Running template app-drawer-template
    info:    Downloading latest release of Polymer/app-drawer-template
    error:   Could not download release from Polymer/app-drawer-template
    error:   Uncaught exception: {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}

    Oneeezy@Oneezy MINGW64 ~/Desktop/new app
    $
cli Critical Completed Bug

All 19 comments

This is odd.. But to my knowledge nothing _major_ has been done differently..I ran the command again and now I'm getting this error:

    Oneeezy@Oneezy MINGW64 ~/Desktop/app
    $ polymer init app-drawer-template
    info:    Running template app-drawer-template
    info:    Downloading latest release of Polymer/app-drawer-template


    I'm all done. Running bower install for you to install the required dependencies. If this fails, try running the command yourself.


    bower                           ENOENT No bower.json present

image

I'm getting the same error when trying to init the shop template.

It doesn't appear to create the bower file - try running init with the elements option first as a workaround

Sorry, I was wrong, it works for element and app but not the shop or app-drawer-template

The correct answer to this conundrum, is that it's I/O time, and to have a little patience :)

@justinfagnani I'm not sure I follow. The command is exiting out before any data is being downloaded from Github. I'm not cancelling it in the middle of the command or anything, and this is not a background task correct?

The templates aren't available yet

I'm not sure why it appeared to succeed the second try. That's probably bad.

Oh... the template is live. Looking into it.

We've tracked down the bug to our template request logic. See https://github.com/Polymer/polymer-cli/pull/169

This fix has been pushed to npm within v0.8.0 https://www.npmjs.com/package/polymer-cli

Also getting errors on windows 7 via gitbash..

$ polymer --version
0.8.0
$ polymer init app-drawer-template
info:    Running template app-drawer-template
info:    Downloading latest release of Polymer/app-drawer-template
info:    Unpacking template files
info:    Finished writing template files

I'm all done. Running bower install for yourself to install the required dependencies. If this fails, try running the command yourself.

bower ENOENT  No bower.json present

Side note: Because strict workplace firewall stuff, I use https:// instead of svn://

Edit: Using polymer init (no args)...
Both options 1, 2 work; Options 3, 4 fail..

Which starter template would you like to use?
1) element
2) application
3) shop
4) app-drawer-template

This bug still exists in Windows 10. I have polymer-cli version 0.8.0. The output is the same as oneezy's.

@benjamincobb unfortunately, I think the Windows issue is slightly different and Windows specific. We're spending the next few days stabilizing Windows with new CI servers and local VMs for development. Sorry about the turbulence!

@justinfagnani alright, thank you for the response! Good luck!

Same error here on windows 10, polymer --version 0.11.1, nont the shop or app-drawer-templates works

By the moment you can:

git clone https://github.com/Polymer/app-drawer-template.git

Just tried to follow the build your app tutorial and I got the same error:

$ polymer init app-drawer-template
info:    Running template polymer-init-app-drawer-template:app...
error:   Template polymer-init-app-drawer-template:app not found
error:   cli runtime exception: Error: Template polymer-init-app-drawer-template:app not found
error:   Error: Template polymer-init-app-drawer-template:app not found
at /home/peach/.nvm/versions/node/v5.12.0/lib/node_modules/polymer-cli/lib/init/init.js:164:19

initialising the shop template lead to no errors.

@ThePeach app-drawer-template was moved. Try polymer init starter-kit instead.

good point and thanks for opening #1783 !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ronnyroeller picture ronnyroeller  路  4Comments

justinfagnani picture justinfagnani  路  4Comments

idoshamun picture idoshamun  路  3Comments

NeoLegends picture NeoLegends  路  3Comments

emilbillberg picture emilbillberg  路  3Comments