avh4 / elm-format

elm-format formats Elm source code according to a standard set of rules based on the official Elm Style Guide
BSD 3-Clause "New" or "Revised" License
1.31k stars 145 forks source link

Installation fails on Win7 xIntel64bit: Platform not Supported Error #290

Open kkruups opened 7 years ago

kkruups commented 7 years ago

Description

Cannot install elm-format error indicated (see below). Attempted to install by issuing following command:

npm install -g elm-format

1.elm 0.18 installed using windows binary installer, not npm (using npm install -g elm downloads binaries but does not install, so decided to use windows installer instead). 2.Then proceeded to install elm-format but error below indicated 3.elm 0.18 is successfully installed and runs without issue.

Error Indicated at npm install of elm-format

elm-format@0.0.0 install C:\mydir\AppData\Roaming\npm\node_modules\elm-format node install.js

Unfortunately, there are no Elm Platform 0.0.0 binaries available for your operating system and architecture.

If you would like to build Elm from source, there are instructions at https://github.com/elm-lang/elm-platform#build-from-source

npm ERR! Windows_NT 6.1.7601 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modul es\npm\bin\npm-cli.js" "install" "-g" "elm-format" npm ERR! node v6.9.2 npm ERR! npm v3.10.9 npm ERR! code ELIFECYCLE

Environment

Win7 SP1 Intel Core i5 CPU x 64Bit

avh4 commented 7 years ago

@rtfeldman any idea on what the issues is here?

rtfeldman commented 7 years ago

@kkruups hm...can you run node -p "process.platform + '|' + process.arch" at the console and paste the output?

kkruups commented 7 years ago

Sorry for the delay, here is the output:

cmd prompt>node -p "process.platform + '|' + process.arch"

win32|x64

jtdaad commented 7 years ago

I am having the same problem, with the same OS / SP/ CPU / processor. I am including the log file for reference.

npm-debug.txt

Thanks