Re: Starter kit/utility (beta)

Hi Marcos,

I get an error when I run:

$ wicg init "Whisky API"

Terminal spits back:

/usr/local/lib/node_modules/wicg/index.js:12
const { version } = require("./package.json");
      ^

SyntaxError: Unexpected token {
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:373:25)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Function.Module.runMain (module.js:441:10)
    at startup (node.js:139:18)
    at node.js:974:3

I run node v4.5.0

—Michiel

> On 19 Aug 2016, at 04:37, Marcos Caceres <marcos@marcosc.com> wrote:
> 
> Hi All,
> We've put together a little command-line utility to make it easier to
> get started with WICG specs.
> 
> Would love some people to beta test it and help improve it .
> 
> To install the utility:
> 
> ```
> npm install wicg
> ```
> 
> That will give you wicg as a command line utility. Then, you can go to
> a new folder and type:
> 
> ```
> wicg init
> ```
> 
> And its will prompt you for some basic info + try to create the
> required WICG files.
> 
> Any feedback/PRs would be greatly appreciated:
> 
> https://github.com/WICG/starter-kit
> 
> Kind regards,
> Marcos
> 

Received on Wednesday, 2 November 2016 19:55:07 UTC