W3C home > Mailing lists > Public > public-wicg@w3.org > November 2016

Re: Starter kit/utility (beta)

From: Michiel Bijl <michiel.list@moiety.me>
Date: Wed, 2 Nov 2016 19:54:37 +0000
To: public-wicg@w3.org
Message-Id: <B56A89BD-D6AF-4F1B-84AC-6B7C8B45526A@moiety.me>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 2 November 2016 19:55:08 UTC