New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run tests: Unhandled exception while running the tests: [TypeError: v.ctor.substring is not a function] #782

Closed
FRosner opened this Issue Dec 15, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@FRosner
Contributor

FRosner commented Dec 15, 2016

Problem

I tried to execute the unit tests but it fails.

How to Reproduce

elm-lang/ $ git clone https://github.com/elm-lang/core.git

Cloning into 'core'...
remote: Counting objects: 6313, done.
remote: Compressing objects: 100% (31/31), done.
remote: Total 6313 (delta 5), reused 0 (delta 0), pack-reused 6281
Receiving objects: 100% (6313/6313), 1.33 MiB | 1.08 MiB/s, done.
Resolving deltas: 100% (4427/4427), done.
Checking connectivity... done.
elm-lang/ $ cd core/tests
tests/ $ npm install -g elm-test

/usr/local/bin/elm-test -> /usr/local/lib/node_modules/elm-test/bin/elm-test

> fsevents@1.0.15 install /usr/local/lib/node_modules/elm-test/node_modules/fsevents
> node-pre-gyp install --fallback-to-build

[fsevents] Success: "/usr/local/lib/node_modules/elm-test/node_modules/fsevents/lib/binding/Release/node-v47-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile
/usr/local/lib
└─┬ elm-test@0.18.2
  ├─┬ chalk@1.1.3
  │ ├── ansi-styles@2.2.1
  │ ├── escape-string-regexp@1.0.5
  │ ├─┬ has-ansi@2.0.0
  │ │ └── ansi-regex@2.0.0
  │ ├── strip-ansi@3.0.1
  │ └── supports-color@2.0.0
  ├─┬ chokidar@1.6.0
  │ ├─┬ anymatch@1.3.0
  │ │ ├── arrify@1.0.1
  │ │ └─┬ micromatch@2.3.11
  │ │   ├─┬ arr-diff@2.0.0
  │ │   │ └── arr-flatten@1.0.1
  │ │   ├── array-unique@0.2.1
  │ │   ├─┬ braces@1.8.5
  │ │   │ ├─┬ expand-range@1.8.2
  │ │   │ │ └─┬ fill-range@2.2.3
  │ │   │ │   ├── is-number@2.1.0
  │ │   │ │   ├── isobject@2.1.0
  │ │   │ │   ├── randomatic@1.1.6
  │ │   │ │   └── repeat-string@1.6.1
  │ │   │ ├── preserve@0.2.0
  │ │   │ └── repeat-element@1.1.2
  │ │   ├─┬ expand-brackets@0.1.5
  │ │   │ └── is-posix-bracket@0.1.1
  │ │   ├── extglob@0.3.2
  │ │   ├── filename-regex@2.0.0
  │ │   ├─┬ kind-of@3.1.0
  │ │   │ └── is-buffer@1.1.4
  │ │   ├── normalize-path@2.0.1
  │ │   ├─┬ object.omit@2.0.1
  │ │   │ ├─┬ for-own@0.1.4
  │ │   │ │ └── for-in@0.1.6
  │ │   │ └── is-extendable@0.1.1
  │ │   ├─┬ parse-glob@3.0.4
  │ │   │ ├── glob-base@0.3.0
  │ │   │ └── is-dotfile@1.0.2
  │ │   └─┬ regex-cache@0.4.3
  │ │     ├── is-equal-shallow@0.1.3
  │ │     └── is-primitive@2.0.0
  │ ├── async-each@1.0.1
  │ ├─┬ fsevents@1.0.15
  │ │ ├── nan@2.4.0
  │ │ └─┬ node-pre-gyp@0.6.29
  │ │   ├─┬ npmlog@3.1.2
  │ │   │ └─┬ gauge@2.6.0
  │ │   │   └─┬ strip-ansi@3.0.1
  │ │   │     └── ansi-regex@2.0.0
  │ │   ├─┬ rc@1.1.6
  │ │   │ └── minimist@1.2.0
  │ │   ├─┬ request@2.73.0
  │ │   │ └─┬ har-validator@2.0.6
  │ │   │   ├─┬ chalk@1.1.3
  │ │   │   │ ├── ansi-styles@2.2.1
  │ │   │   │ ├── escape-string-regexp@1.0.5
  │ │   │   │ ├── has-ansi@2.0.0
  │ │   │   │ └── supports-color@2.0.0
  │ │   │   └─┬ pinkie-promise@2.0.1
  │ │   │     └── pinkie@2.0.4
  │ │   ├─┬ rimraf@2.5.3
  │ │   │ └─┬ glob@7.0.5
  │ │   │   ├── fs.realpath@1.0.0
  │ │   │   └─┬ minimatch@3.0.2
  │ │   │     └─┬ brace-expansion@1.1.5
  │ │   │       ├── balanced-match@0.4.2
  │ │   │       └── concat-map@0.0.1
  │ │   └─┬ tar-pack@3.1.4
  │ │     ├─┬ once@1.3.3
  │ │     │ └── wrappy@1.0.2
  │ │     └─┬ readable-stream@2.1.4
  │ │       ├── buffer-shims@1.0.0
  │ │       ├── core-util-is@1.0.2
  │ │       ├── isarray@1.0.0
  │ │       ├── process-nextick-args@1.0.7
  │ │       ├── string_decoder@0.10.31
  │ │       └── util-deprecate@1.0.2
  │ ├── glob-parent@2.0.0
  │ ├── inherits@2.0.3
  │ ├─┬ is-binary-path@1.0.1
  │ │ └── binary-extensions@1.8.0
  │ ├─┬ is-glob@2.0.1
  │ │ └── is-extglob@1.0.0
  │ ├── path-is-absolute@1.0.1
  │ └─┬ readdirp@2.1.0
  │   ├─┬ minimatch@3.0.3
  │   │ └─┬ brace-expansion@1.1.6
  │   │   ├── balanced-match@0.4.2
  │   │   └── concat-map@0.0.1
  │   ├─┬ readable-stream@2.2.2
  │   │ ├── buffer-shims@1.0.0
  │   │ ├── core-util-is@1.0.2
  │   │ ├── isarray@1.0.0
  │   │ ├── process-nextick-args@1.0.7
  │   │ ├── string_decoder@0.10.31
  │   │ └── util-deprecate@1.0.2
  │   └── set-immediate-shim@1.0.1
  ├─┬ cross-spawn@4.0.0
  │ ├─┬ lru-cache@4.0.2
  │ │ ├── pseudomap@1.0.2
  │ │ └── yallist@2.0.0
  │ └─┬ which@1.2.12
  │   └── isexe@1.1.2
  ├─┬ find-up@1.1.2
  │ ├── path-exists@2.1.0
  │ └─┬ pinkie-promise@2.0.1
  │   └── pinkie@2.0.4
  ├── firstline@1.2.1
  ├─┬ fs-extra@0.30.0
  │ ├── graceful-fs@4.1.11
  │ ├── jsonfile@2.4.0
  │ ├── klaw@1.3.1
  │ └─┬ rimraf@2.5.4
  │   └─┬ glob@7.1.1
  │     ├── fs.realpath@1.0.0
  │     ├─┬ inflight@1.0.6
  │     │ └── wrappy@1.0.2
  │     └── once@1.4.0
  ├── lodash@4.13.1
  ├── minimist@1.2.0
  ├─┬ node-elm-compiler@4.1.0
  │ └── lodash@4.14.2
  └─┬ temp@0.8.3
    ├── os-tmpdir@1.0.2
    └── rimraf@2.2.8
tests/ $ ./run-tests.sh

Starting downloads...

  ● elm-community/json-extra 2.1.0
  ● elm-community/lazy-list 1.0.0
  ● elm-community/shrink 2.0.0
  ● elm-community/elm-test 3.1.0
  ● elm-lang/lazy 2.0.0
  ● elm-lang/core 5.0.0
  ● mgold/elm-random-pcg 4.0.2
  ● rtfeldman/node-test-runner 3.0.0

Packages configured successfully!
Linking elm-stuff/packages/elm-lang/core/5.0.0 to /Users/frosner/Documents/projects/elm-lang/core
Success! Compiled 1 module.
Successfully generated test.js
Success! Compiled 1 module.
Successfully generated /var/folders/60/swj3j8ns367dzgl7qx5_h1140000gn/T/elm_test_1161115-26852-alkz6g.js

elm-test
--------

Running 546 tests. To reproduce these results, run: elm-test --seed 260814822

Unhandled exception while running the tests: [TypeError: v.ctor.substring is not a function]

Environment

npm --version
3.3.12
elm --version
0.18.0
git rev-parse HEAD
d302d20addd83580277cb265434521fa735854ec
@process-bot

This comment has been minimized.

Show comment
Hide comment
@process-bot

process-bot Dec 15, 2016

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

process-bot commented Dec 15, 2016

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

@FRosner FRosner changed the title from Cannot run tests to Cannot run tests: Unhandled exception while running the tests: [TypeError: v.ctor.substring is not a function] Dec 15, 2016

@rtfeldman rtfeldman referenced this issue Dec 15, 2016

Merged

Fix tests #783

@rtfeldman rtfeldman closed this in #783 Dec 15, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment