You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 9, 2019. It is now read-only.
I am getting an error when running the following command:
$ sudo npm install -g elm-test
npm WARN deprecated [email protected]: The major version is no longer supported. Please update to 4.x or newer
/usr/bin/elm-test -> /usr/lib/node_modules/elm-test/bin/elm-test
> [email protected] install /usr/lib/node_modules/elm-test
> node install.js
Error extracting https://dl.bintray.com/elmlang/elm-test/0.18.12/linux-x64.tar.gz - Error: EACCES: permission denied, open '/usr/lib/node_modules/elm-test/bin/elm-interface-to-json'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/elm-test/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-08-21T17_33_53_076Z-debug.log
Seems an inconsistency in the target platform (linux vs mac). Note I am running on linux.
When you npm install -g elm-test you're installing https://github.com/rtfeldman/node-test-runner, which includes the elm-test CLI tool for running elm-test tests, whereas this repo is for the Elm library for writing Elm tests (I agree this can be slightly confusing 🙂). So you may get better help if you log your issue there.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am getting an error when running the following command:
Seems an inconsistency in the target platform (linux vs mac). Note I am running on linux.
npm version reports the following:
The text was updated successfully, but these errors were encountered: