Skip to content
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

TypeError with Flow 0.15 #5

Open
danvk opened this issue Sep 15, 2015 · 0 comments
Open

TypeError with Flow 0.15 #5

danvk opened this issue Sep 15, 2015 · 0 comments

Comments

@danvk
Copy link

danvk commented Sep 15, 2015

I'm getting the following error when running flowery with FlowType 0.15:

$ flowery
/usr/local/lib/node_modules/flowery/build/flowery.js:363
                        errMsg: msg[1].replace('Property cannot be accessed on ', ''), // 人工改過
                                      ^
TypeError: Cannot read property 'replace' of undefined
    at /usr/local/lib/node_modules/flowery/build/flowery.js:363:21
    at Array.map (native)
    at generateErrorObjects (/usr/local/lib/node_modules/flowery/build/flowery.js:254:25)
    at go (/usr/local/lib/node_modules/flowery/build/flowery.js:122:18)
    at /usr/local/lib/node_modules/flowery/build/flowery.js:161:3
    at ChildProcess.exithandler (child_process.js:758:5)
    at ChildProcess.emit (events.js:110:17)
    at maybeClose (child_process.js:1015:16)
    at Socket.<anonymous> (child_process.js:1183:11)
    at Socket.emit (events.js:107:17)

Here's the output of flow --json:

{
  "passed": false,
  "errors": [
    {
      "message": [
        {
          "descr": "property `buffer`",
          "level": "error",
          "path": "/Users/danvk/github/pileup.js/src/main/SamRead.js",
          "line": 40,
          "endline": 40,
          "start": 11,
          "end": 21
        },
        {
          "descr": "Property not found in",
          "level": "error",
          "path": "",
          "line": 0,
          "endline": 0,
          "start": 1,
          "end": 0
        },
        {
          "descr": "object type",
          "level": "error",
          "path": "/Users/danvk/github/pileup.js/src/main/Alignment.js",
          "line": 23,
          "endline": 37,
          "start": 25,
          "end": 1
        }
      ]
    },
    {
      "message": [
        {
          "descr": "property `offset`",
          "level": "error",
          "path": "/Users/danvk/github/pileup.js/src/main/SamRead.js",
          "line": 41,
          "endline": 41,
          "start": 11,
          "end": 23
        },
        {
          "descr": "Property not found in",
          "level": "error",
          "path": "",
          "line": 0,
          "endline": 0,
          "start": 1,
          "end": 0
        },
        {
          "descr": "object type",
          "level": "error",
          "path": "/Users/danvk/github/pileup.js/src/main/Alignment.js",
          "line": 23,
          "endline": 37,
          "start": 25,
          "end": 1
        }
      ]
    },
    {
      "message": [
        {
          "descr": "property `refID`",
          "level": "error",
          "path": "/Users/danvk/github/pileup.js/src/main/SamRead.js",
          "line": 44,
          "endline": 44,
          "start": 10,
          "end": 15
        },
        {
          "descr": "Property not found in",
          "level": "error",
          "path": "",
          "line": 0,
          "endline": 0,
          "start": 1,
          "end": 0
        },
        {
          "descr": "object type",
          "level": "error",
          "path": "/Users/danvk/github/pileup.js/src/main/Alignment.js",
          "line": 23,
          "endline": 37,
          "start": 25,
          "end": 1
        }
      ]
    },
    {
      "message": [
        {
          "descr": "property `l_seq`",
          "level": "error",
          "path": "/Users/danvk/github/pileup.js/src/main/SamRead.js",
          "line": 46,
          "endline": 46,
          "start": 10,
          "end": 15
        },
        {
          "descr": "Property not found in",
          "level": "error",
          "path": "",
          "line": 0,
          "endline": 0,
          "start": 1,
          "end": 0
        },
        {
          "descr": "object type",
          "level": "error",
          "path": "/Users/danvk/github/pileup.js/src/main/Alignment.js",
          "line": 23,
          "endline": 37,
          "start": 25,
          "end": 1
        }
      ]
    },
    {
      "message": [
        {
          "descr": "property `_full`",
          "level": "error",
          "path": "/Users/danvk/github/pileup.js/src/main/SamRead.js",
          "line": 49,
          "endline": 49,
          "start": 11,
          "end": 16
        },
        {
          "descr": "Property not found in",
          "level": "error",
          "path": "",
          "line": 0,
          "endline": 0,
          "start": 1,
          "end": 0
        },
        {
          "descr": "object type",
          "level": "error",
          "path": "/Users/danvk/github/pileup.js/src/main/Alignment.js",
          "line": 23,
          "endline": 37,
          "start": 25,
          "end": 1
        }
      ]
    },
    {
      "message": [
        {
          "descr": "property `_seq`",
          "level": "error",
          "path": "/Users/danvk/github/pileup.js/src/main/SamRead.js",
          "line": 50,
          "endline": 50,
          "start": 10,
          "end": 15
        },
        {
          "descr": "Property not found in",
          "level": "error",
          "path": "",
          "line": 0,
          "endline": 0,
          "start": 1,
          "end": 0
        },
        {
          "descr": "object type",
          "level": "error",
          "path": "/Users/danvk/github/pileup.js/src/main/Alignment.js",
          "line": 23,
          "endline": 37,
          "start": 25,
          "end": 1
        }
      ]
    },
    {
      "message": [
        {
          "descr": "property `_interval`",
          "level": "error",
          "path": "/Users/danvk/github/pileup.js/src/main/SamRead.js",
          "line": 51,
          "endline": 51,
          "start": 15,
          "end": 36
        },
        {
          "descr": "Property not found in",
          "level": "error",
          "path": "",
          "line": 0,
          "endline": 0,
          "start": 1,
          "end": 0
        },
        {
          "descr": "object type",
          "level": "error",
          "path": "/Users/danvk/github/pileup.js/src/main/Alignment.js",
          "line": 23,
          "endline": 37,
          "start": 25,
          "end": 1
        }
      ]
    },
    {
      "message": [
        {
          "descr": "property `_getJDataView`",
          "level": "error",
          "path": "/Users/danvk/github/pileup.js/src/main/SamRead.js",
          "line": 78,
          "endline": 81,
          "start": 3,
          "end": 3
        },
        {
          "descr": "Property not found in",
          "level": "error",
          "path": "",
          "line": 0,
          "endline": 0,
          "start": 1,
          "end": 0
        },
        {
          "descr": "object type",
          "level": "error",
          "path": "/Users/danvk/github/pileup.js/src/main/Alignment.js",
          "line": 23,
          "endline": 37,
          "start": 25,
          "end": 1
        }
      ]
    },
    {
      "message": [
        {
          "descr": "property `getFlag`",
          "level": "error",
          "path": "/Users/danvk/github/pileup.js/src/main/SamRead.js",
          "line": 99,
          "endline": 101,
          "start": 3,
          "end": 3
        },
        {
          "descr": "Property not found in",
          "level": "error",
          "path": "",
          "line": 0,
          "endline": 0,
          "start": 1,
          "end": 0
        },
        {
          "descr": "object type",
          "level": "error",
          "path": "/Users/danvk/github/pileup.js/src/main/Alignment.js",
          "line": 23,
          "endline": 37,
          "start": 25,
          "end": 1
        }
      ]
    },
    {
      "message": [
        {
          "descr": "property `getFull`",
          "level": "error",
          "path": "/Users/danvk/github/pileup.js/src/main/SamRead.js",
          "line": 108,
          "endline": 114,
          "start": 3,
          "end": 3
        },
        {
          "descr": "Property not found in",
          "level": "error",
          "path": "",
          "line": 0,
          "endline": 0,
          "start": 1,
          "end": 0
        },
        {
          "descr": "object type",
          "level": "error",
          "path": "/Users/danvk/github/pileup.js/src/main/Alignment.js",
          "line": 23,
          "endline": 37,
          "start": 25,
          "end": 1
        }
      ]
    },
    {
      "message": [
        {
          "descr": "property `getCigarString`",
          "level": "error",
          "path": "/Users/danvk/github/pileup.js/src/main/SamRead.js",
          "line": 156,
          "endline": 158,
          "start": 3,
          "end": 3
        },
        {
          "descr": "Property not found in",
          "level": "error",
          "path": "",
          "line": 0,
          "endline": 0,
          "start": 1,
          "end": 0
        },
        {
          "descr": "object type",
          "level": "error",
          "path": "/Users/danvk/github/pileup.js/src/main/Alignment.js",
          "line": 23,
          "endline": 37,
          "start": 25,
          "end": 1
        }
      ]
    },
    {
      "message": [
        {
          "descr": "property `getQualPhred`",
          "level": "error",
          "path": "/Users/danvk/github/pileup.js/src/main/SamRead.js",
          "line": 160,
          "endline": 162,
          "start": 3,
          "end": 3
        },
        {
          "descr": "Property not found in",
          "level": "error",
          "path": "",
          "line": 0,
          "endline": 0,
          "start": 1,
          "end": 0
        },
        {
          "descr": "object type",
          "level": "error",
          "path": "/Users/danvk/github/pileup.js/src/main/Alignment.js",
          "line": 23,
          "endline": 37,
          "start": 25,
          "end": 1
        }
      ]
    },
    {
      "message": [
        {
          "descr": "property `debugString`",
          "level": "error",
          "path": "/Users/danvk/github/pileup.js/src/main/SamRead.js",
          "line": 209,
          "endline": 220,
          "start": 3,
          "end": 3
        },
        {
          "descr": "Property not found in",
          "level": "error",
          "path": "",
          "line": 0,
          "endline": 0,
          "start": 1,
          "end": 0
        },
        {
          "descr": "object type",
          "level": "error",
          "path": "/Users/danvk/github/pileup.js/src/main/Alignment.js",
          "line": 23,
          "endline": 37,
          "start": 25,
          "end": 1
        }
      ]
    }
  ],
  "version": "14de35fd20e92eaf46e34428f72d108ed3f36c70 Sep 10 2015 13:14:20"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant