ampproject / ampstart

AMP Start source code and templates .
https://ampstart.com/
Apache License 2.0
419 stars 152 forks source link

Doesn't install - amphtml-validator not matched #805

Closed stephengardner closed 6 years ago

stephengardner commented 6 years ago

Trying to install this straight from the repo git clone https://github.com/ampproject/ampstart cd ampstart npm i

It fails. It keeps failing.

Any help?

postinstall-windows.js: amphtml-validator not matched.

$ npm i

> amphtml-validator@1.0.15 postinstall C:\Users\augdo\ampstart\node_modules\amphtml-validator
> /bin/sh -c "exit 0" 2> NUL && rm NUL || node postinstall-windows.js

postinstall-windows.js: amphtml-validator not matched.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! amphtml-validator@1.0.15 postinstall: `/bin/sh -c "exit 0" 2> NUL && rm NUL || node postinstall-windows.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the amphtml-validator@1.0.15 postinstall script.

I've used the most recent version of amphtml-validator, downloaded via npm i -g amphtml-validator. I also explicitly chose 1.0.21 but that makes no difference, same error.

erwinmombay commented 6 years ago

looking into this

erwinmombay commented 6 years ago

ill try upgrading the dependency and hopefully that works. Im trying to get a windows machine to test

camelburrito commented 6 years ago

@erwinmombay can this be closed?

stephengardner commented 6 years ago

Closing - just installed tonight and it worked. Thanks!