Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.
This repository was archived by the owner on Jun 23, 2023. It is now read-only.

Crashes with "Cannot convert object to primitive value" #7

Description

@glenjamin

To try this out I downloaded the repo and installed it, then tried to run it on this project's root directory. I got a crash with the following:

> npm version
{ 'repo-supervisor': '1.1.2',
  npm: '5.0.4',
  ares: '1.10.1-DEV',
  cldr: '31.0.1',
  http_parser: '2.7.0',
  icu: '59.1',
  modules: '57',
  node: '8.1.3',
  openssl: '1.0.2l',
  tz: '2017b',
  unicode: '9.0',
  uv: '1.12.0',
  v8: '5.8.283.41',
  zlib: '1.2.11' }

> node dist/cli.js .
/Users/glen/Development/GitHub/repo-supervisor/node_modules/lodash/lodash.js:13199
      result[value] = key;
                    ^

TypeError: Cannot convert object to primitive value
    at /Users/glen/Development/GitHub/repo-supervisor/node_modules/lodash/lodash.js:13199:21
    at /Users/glen/Development/GitHub/repo-supervisor/node_modules/lodash/lodash.js:3209:9
    at /Users/glen/Development/GitHub/repo-supervisor/node_modules/lodash/lodash.js:4944:15
    at baseForOwn (/Users/glen/Development/GitHub/repo-supervisor/node_modules/lodash/lodash.js:3001:24)
    at baseInverter (/Users/glen/Development/GitHub/repo-supervisor/node_modules/lodash/lodash.js:3208:7)
    at /Users/glen/Development/GitHub/repo-supervisor/node_modules/lodash/lodash.js:5247:16
    at e.exports (/Users/glen/Development/GitHub/repo-supervisor/dist/cli.js:1:3646)
    at /Users/glen/Development/GitHub/repo-supervisor/dist/cli.js:1:2281
    at Array.forEach (native)
    at Object.processFile (/Users/glen/Development/GitHub/repo-supervisor/dist/cli.js:1:2148)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions