Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Failed to compile.
- Attempted import error: 'hic-straw/dist/hic-straw.min.js' does not contain a default export (imported as 'HicStraw').
- WARNING in ./node_modules/@react-spring/shared/index.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/FrameLoop.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/FrameLoop.ts'
- WARNING in ./node_modules/@react-spring/shared/index.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/colorMatchers.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/colorMatchers.ts'
- WARNING in ./node_modules/@react-spring/shared/index.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/colorToRgba.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/colorToRgba.ts'
- WARNING in ./node_modules/@react-spring/shared/index.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/colors.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/colors.ts'
- WARNING in ./node_modules/@react-spring/shared/index.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/createInterpolator.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/createInterpolator.ts'
- WARNING in ./node_modules/@react-spring/shared/index.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/deprecations.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/deprecations.ts'
- WARNING in ./node_modules/@react-spring/shared/index.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/fluids.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/fluids.ts'
- WARNING in ./node_modules/@react-spring/shared/index.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/globals.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/globals.ts'
- WARNING in ./node_modules/@react-spring/shared/index.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/helpers.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/helpers.ts'
- WARNING in ./node_modules/@react-spring/shared/index.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/hooks/useForceUpdate.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/hooks/useForceUpdate.ts'
- WARNING in ./node_modules/@react-spring/shared/index.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/hooks/useLayoutEffect.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/hooks/useLayoutEffect.ts'
- WARNING in ./node_modules/@react-spring/shared/index.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/hooks/useMemoOne.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/hooks/useMemoOne.ts'
- WARNING in ./node_modules/@react-spring/shared/index.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/hooks/useOnce.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/hooks/useOnce.ts'
- WARNING in ./node_modules/@react-spring/shared/index.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/hooks/usePrev.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/hooks/usePrev.ts'
- WARNING in ./node_modules/@react-spring/shared/index.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/isAnimatedString.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/isAnimatedString.ts'
- WARNING in ./node_modules/@react-spring/shared/index.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/normalizeColor.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/normalizeColor.ts'
- WARNING in ./node_modules/@react-spring/shared/index.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/stringInterpolation.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/@react-spring/shared/src/stringInterpolation.ts'
- WARNING in ./node_modules/flexlayout-react/lib/Attribute.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/Attribute.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/Attribute.ts'
- WARNING in ./node_modules/flexlayout-react/lib/AttributeDefinitions.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/AttributeDefinitions.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/AttributeDefinitions.ts'
- WARNING in ./node_modules/flexlayout-react/lib/DockLocation.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/DockLocation.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/DockLocation.ts'
- WARNING in ./node_modules/flexlayout-react/lib/DragDrop.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/DragDrop.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/DragDrop.ts'
- WARNING in ./node_modules/flexlayout-react/lib/DropInfo.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/DropInfo.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/DropInfo.ts'
- WARNING in ./node_modules/flexlayout-react/lib/I18nLabel.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/I18nLabel.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/I18nLabel.ts'
- WARNING in ./node_modules/flexlayout-react/lib/Orientation.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/Orientation.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/Orientation.ts'
- WARNING in ./node_modules/flexlayout-react/lib/PopupMenu.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/PopupMenu.tsx' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/PopupMenu.tsx'
- WARNING in ./node_modules/flexlayout-react/lib/Rect.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/Rect.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/Rect.ts'
- WARNING in ./node_modules/flexlayout-react/lib/index.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/index.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/index.ts'
- WARNING in ./node_modules/flexlayout-react/lib/model/Action.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/model/Action.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/model/Action.ts'
- WARNING in ./node_modules/flexlayout-react/lib/model/Actions.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/model/Actions.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/model/Actions.ts'
- WARNING in ./node_modules/flexlayout-react/lib/model/BorderNode.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/model/BorderNode.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/model/BorderNode.ts'
- WARNING in ./node_modules/flexlayout-react/lib/model/BorderSet.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/model/BorderSet.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/model/BorderSet.ts'
- WARNING in ./node_modules/flexlayout-react/lib/model/Model.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/model/Model.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/model/Model.ts'
- WARNING in ./node_modules/flexlayout-react/lib/model/Node.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/model/Node.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/model/Node.ts'
- WARNING in ./node_modules/flexlayout-react/lib/model/RowNode.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/model/RowNode.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/model/RowNode.ts'
- WARNING in ./node_modules/flexlayout-react/lib/model/SplitterNode.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/model/SplitterNode.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/model/SplitterNode.ts'
- WARNING in ./node_modules/flexlayout-react/lib/model/TabNode.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/model/TabNode.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/model/TabNode.ts'
- WARNING in ./node_modules/flexlayout-react/lib/model/TabSetNode.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/model/TabSetNode.ts' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/model/TabSetNode.ts'
- WARNING in ./node_modules/flexlayout-react/lib/view/BorderButton.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/view/BorderButton.tsx' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/view/BorderButton.tsx'
- WARNING in ./node_modules/flexlayout-react/lib/view/BorderTabSet.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/view/BorderTabSet.tsx' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/view/BorderTabSet.tsx'
- WARNING in ./node_modules/flexlayout-react/lib/view/Layout.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/view/Layout.tsx' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/view/Layout.tsx'
- WARNING in ./node_modules/flexlayout-react/lib/view/Splitter.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/view/Splitter.tsx' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/view/Splitter.tsx'
- WARNING in ./node_modules/flexlayout-react/lib/view/Tab.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/view/Tab.tsx' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/view/Tab.tsx'
- WARNING in ./node_modules/flexlayout-react/lib/view/TabButton.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/view/TabButton.tsx' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/view/TabButton.tsx'
- WARNING in ./node_modules/flexlayout-react/lib/view/TabSet.js
- Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
- Failed to parse source map from '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/view/TabSet.tsx' file: Error: ENOENT: no such file or directory, open '/var/eg-react/eg-react/frontend/node_modules/flexlayout-react/src/view/TabSet.tsx'
- ERROR in ./src/dataSources/HicSource.js 95:21-29
- export 'default' (imported as 'HicStraw') was not found in 'hic-straw/dist/hic-straw.min.js' (module has no exports)
- ERROR in ./src/dataSources/ballc/Ballc.worker.js
- Module build failed (from ./node_modules/worker-loader/dist/cjs.js):
- Error: MainTemplate.hooks.hotBootstrap has been removed (use your own RuntimeModule instead)
- at Object.tap (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/MainTemplate.js:262:12)
- at WebWorkerMainTemplatePlugin.apply (/var/eg-react/eg-react/frontend/node_modules/webpack/lib/webworker/WebWorkerMainTemplatePlugin.js:139:35)
- at /var/eg-react/eg-react/frontend/node_modules/webpack/lib/webworker/WebWorkerTemplatePlugin.js:16:39
- at Hook.eval [as call] (eval at create (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/tapable/lib/HookCodeFactory.js:19:10), <anonymous>:7:1)
- at Hook.CALL_DELEGATE [as _call] (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/tapable/lib/Hook.js:14:14)
- at Compiler.newCompilation (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:1272:30)
- at /var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:1317:29
- at Hook.eval [as callAsync] (eval at create (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
- at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/tapable/lib/Hook.js:18:14)
- at Compiler.compile (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:1312:28)
- at Compiler.runAsChild (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:637:8)
- at Object.pitch (/var/eg-react/eg-react/frontend/node_modules/worker-loader/dist/index.js:115:19)
- ERROR in ./src/dataSources/bed/Bed.worker.js
- Module build failed (from ./node_modules/worker-loader/dist/cjs.js):
- Error: MainTemplate.hooks.hotBootstrap has been removed (use your own RuntimeModule instead)
- at Object.tap (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/MainTemplate.js:262:12)
- at WebWorkerMainTemplatePlugin.apply (/var/eg-react/eg-react/frontend/node_modules/webpack/lib/webworker/WebWorkerMainTemplatePlugin.js:139:35)
- at /var/eg-react/eg-react/frontend/node_modules/webpack/lib/webworker/WebWorkerTemplatePlugin.js:16:39
- at Hook.eval [as call] (eval at create (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/tapable/lib/HookCodeFactory.js:19:10), <anonymous>:7:1)
- at Hook.CALL_DELEGATE [as _call] (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/tapable/lib/Hook.js:14:14)
- at Compiler.newCompilation (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:1272:30)
- at /var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:1317:29
- at Hook.eval [as callAsync] (eval at create (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
- at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/tapable/lib/Hook.js:18:14)
- at Compiler.compile (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:1312:28)
- at Compiler.runAsChild (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:637:8)
- at Object.pitch (/var/eg-react/eg-react/frontend/node_modules/worker-loader/dist/index.js:115:19)
- ERROR in ./src/dataSources/bed/GenomeAlign.worker.js
- Module build failed (from ./node_modules/worker-loader/dist/cjs.js):
- Error: MainTemplate.hooks.hotBootstrap has been removed (use your own RuntimeModule instead)
- at Object.tap (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/MainTemplate.js:262:12)
- at WebWorkerMainTemplatePlugin.apply (/var/eg-react/eg-react/frontend/node_modules/webpack/lib/webworker/WebWorkerMainTemplatePlugin.js:139:35)
- at /var/eg-react/eg-react/frontend/node_modules/webpack/lib/webworker/WebWorkerTemplatePlugin.js:16:39
- at Hook.eval [as call] (eval at create (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/tapable/lib/HookCodeFactory.js:19:10), <anonymous>:7:1)
- at Hook.CALL_DELEGATE [as _call] (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/tapable/lib/Hook.js:14:14)
- at Compiler.newCompilation (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:1272:30)
- at /var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:1317:29
- at Hook.eval [as callAsync] (eval at create (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
- at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/tapable/lib/Hook.js:18:14)
- at Compiler.compile (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:1312:28)
- at Compiler.runAsChild (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:637:8)
- at Object.pitch (/var/eg-react/eg-react/frontend/node_modules/worker-loader/dist/index.js:115:19)
- ERROR in ./src/dataSources/big/Big.worker.js
- Module build failed (from ./node_modules/worker-loader/dist/cjs.js):
- Error: MainTemplate.hooks.hotBootstrap has been removed (use your own RuntimeModule instead)
- at Object.tap (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/MainTemplate.js:262:12)
- at WebWorkerMainTemplatePlugin.apply (/var/eg-react/eg-react/frontend/node_modules/webpack/lib/webworker/WebWorkerMainTemplatePlugin.js:139:35)
- at /var/eg-react/eg-react/frontend/node_modules/webpack/lib/webworker/WebWorkerTemplatePlugin.js:16:39
- at Hook.eval [as call] (eval at create (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/tapable/lib/HookCodeFactory.js:19:10), <anonymous>:7:1)
- at Hook.CALL_DELEGATE [as _call] (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/tapable/lib/Hook.js:14:14)
- at Compiler.newCompilation (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:1272:30)
- at /var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:1317:29
- at Hook.eval [as callAsync] (eval at create (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
- at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/tapable/lib/Hook.js:18:14)
- at Compiler.compile (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:1312:28)
- at Compiler.runAsChild (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:637:8)
- at Object.pitch (/var/eg-react/eg-react/frontend/node_modules/worker-loader/dist/index.js:115:19)
- ERROR in ./src/dataSources/big/BigGmod.worker.js
- Module build failed (from ./node_modules/worker-loader/dist/cjs.js):
- Error: MainTemplate.hooks.hotBootstrap has been removed (use your own RuntimeModule instead)
- at Object.tap (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/MainTemplate.js:262:12)
- at WebWorkerMainTemplatePlugin.apply (/var/eg-react/eg-react/frontend/node_modules/webpack/lib/webworker/WebWorkerMainTemplatePlugin.js:139:35)
- at /var/eg-react/eg-react/frontend/node_modules/webpack/lib/webworker/WebWorkerTemplatePlugin.js:16:39
- at Hook.eval [as call] (eval at create (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/tapable/lib/HookCodeFactory.js:19:10), <anonymous>:7:1)
- at Hook.CALL_DELEGATE [as _call] (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/tapable/lib/Hook.js:14:14)
- at Compiler.newCompilation (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:1272:30)
- at /var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:1317:29
- at Hook.eval [as callAsync] (eval at create (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
- at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/tapable/lib/Hook.js:18:14)
- at Compiler.compile (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:1312:28)
- at Compiler.runAsChild (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:637:8)
- at Object.pitch (/var/eg-react/eg-react/frontend/node_modules/worker-loader/dist/index.js:115:19)
- ERROR in ./node_modules/zlib/lib/zlib.js 1:0-43
- Module not found: Error: Can't resolve './zlib_bindings' in '/var/eg-react/eg-react/frontend/node_modules/zlib/lib'
- ERROR in [eslint] Failed to load plugin 'vue' declared in '.eslintrc.js': Cannot find module 'eslint-plugin-vue'
- Require stack:
- - /var/eg-react/eg-react/frontend/node_modules/react-scripts/config/__placeholder__.js
- Referenced from: /var/eg-react/eg-react/frontend/.eslintrc.js
- webpack compiled with 8 errors and 44 warnings
- ERROR in src/@types/color-rgba.ts
- TS1208: All files must be modules when the '--isolatedModules' flag is provided.
- ERROR in src/App.tsx:299:75
- TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string'.
- 297 | const { genomeConfig } = this.props;
- 298 | const secondaryGenomes = getSecondaryGenomes(genomeConfig.genome.getName(), tracks);
- > 299 | const secondConfigs = secondaryGenomes.map((g) => getGenomeConfig(g));
- | ^
- 300 | secondConfigs
- 301 | .filter((x) => x.publicHubList)
- 302 | .map((x) => x.publicHubList.map((y) => (y.genome = x.genome.getName())));
- ERROR in src/App.tsx:370:21
- TS2322: Type '{ onNewHighlight: (start: number, end: number, tag?: string) => void; selectedRegion: DisplayedRegionModel; onRegionSelected: (start: number, end: number) => void; ... 24 more ...; suggestedMetaSets: Set<...>; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Component<Pick<InferProps<{ selectedRegion: Validator<DisplayedRegionModel>; onRegionSelected: Requireable<(...args: any[]) => any>; ... 6 more ...; onSetHighlightColor: Requireable<...>; }>, "tracks" | ... 7 more ... | "onSetHighlightColor">, any, any>> & Readonly<...>...'.
- Property 'onNewHighlight' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Component<Pick<InferProps<{ selectedRegion: Validator<DisplayedRegionModel>; onRegionSelected: Requireable<(...args: any[]) => any>; ... 6 more ...; onSetHighlightColor: Requireable<...>; }>, "tracks" | ... 7 more ... | "onSetHighlightColor">, any, any>> & Readonly<...>...'.
- 368 | // onToggle3DScene={this.toggle3DScene}
- 369 | // onToggleHighlight={this.toggleHighlight}
- > 370 | onNewHighlight={this.newHighlight}
- | ^^^^^^^^^^^^^^
- 371 | // onSetHighlightColor={this.setHighlightColor}
- 372 | selectedRegion={viewRegion}
- 373 | onRegionSelected={onNewViewRegion}
- ERROR in src/components/trackContainers/TrackDataManager.tsx:88:76
- TS7006: Parameter 'track' implicitly has an 'any' type.
- 86 | }
- 87 |
- > 88 | const addedTracks = _.differenceBy(currentTracks, prevTracks, (track) => track.getId());
- | ^^^^^
- 89 | const removedTracks = _.differenceBy(prevTracks, currentTracks, (track) => track.getId());
- 90 | const keptTracks = _.intersectionBy(currentTracks, prevTracks, (track) => track.getId());
- 91 | for (const track of addedTracks) {
- ERROR in src/components/trackContainers/TrackDataManager.tsx:89:78
- TS7006: Parameter 'track' implicitly has an 'any' type.
- 87 |
- 88 | const addedTracks = _.differenceBy(currentTracks, prevTracks, (track) => track.getId());
- > 89 | const removedTracks = _.differenceBy(prevTracks, currentTracks, (track) => track.getId());
- | ^^^^^
- 90 | const keptTracks = _.intersectionBy(currentTracks, prevTracks, (track) => track.getId());
- 91 | for (const track of addedTracks) {
- 92 | this.fetchTrack(track);
- ERROR in src/components/trackContainers/TrackDataManager.tsx:90:77
- TS7006: Parameter 'track' implicitly has an 'any' type.
- 88 | const addedTracks = _.differenceBy(currentTracks, prevTracks, (track) => track.getId());
- 89 | const removedTracks = _.differenceBy(prevTracks, currentTracks, (track) => track.getId());
- > 90 | const keptTracks = _.intersectionBy(currentTracks, prevTracks, (track) => track.getId());
- | ^^^^^
- 91 | for (const track of addedTracks) {
- 92 | this.fetchTrack(track);
- 93 | }
- ERROR in src/components/trackContainers/TrackDataManager.tsx:92:33
- TS2345: Argument of type 'unknown' is not assignable to parameter of type 'TrackModel'.
- Type '{}' is missing the following properties from type 'TrackModel': name, type, label, options, and 13 more.
- 90 | const keptTracks = _.intersectionBy(currentTracks, prevTracks, (track) => track.getId());
- 91 | for (const track of addedTracks) {
- > 92 | this.fetchTrack(track);
- | ^^^^^
- 93 | }
- 94 |
- 95 | for (const track of keptTracks) {
- ERROR in src/components/trackContainers/TrackDataManager.tsx:96:60
- TS2339: Property 'getId' does not exist on type 'unknown'.
- 94 |
- 95 | for (const track of keptTracks) {
- > 96 | const prevTrack = prevTrackForId.get(track.getId());
- | ^^^^^
- 97 | const config = getTrackConfig(track);
- 98 | const prevConfig = getTrackConfig(prevTrack);
- 99 | if (config.shouldFetchBecauseOptionChange(prevConfig.getOptions(), config.getOptions())) {
- ERROR in src/components/trackContainers/TrackDataManager.tsx:97:47
- TS2345: Argument of type 'unknown' is not assignable to parameter of type 'TrackModel'.
- 95 | for (const track of keptTracks) {
- 96 | const prevTrack = prevTrackForId.get(track.getId());
- > 97 | const config = getTrackConfig(track);
- | ^^^^^
- 98 | const prevConfig = getTrackConfig(prevTrack);
- 99 | if (config.shouldFetchBecauseOptionChange(prevConfig.getOptions(), config.getOptions())) {
- 100 | this.fetchTrack(track);
- ERROR in src/components/trackContainers/TrackDataManager.tsx:100:37
- TS2345: Argument of type 'unknown' is not assignable to parameter of type 'TrackModel'.
- 98 | const prevConfig = getTrackConfig(prevTrack);
- 99 | if (config.shouldFetchBecauseOptionChange(prevConfig.getOptions(), config.getOptions())) {
- > 100 | this.fetchTrack(track);
- | ^^^^^
- 101 | }
- 102 | }
- 103 |
- ERROR in src/components/trackContainers/TrackDataManager.tsx:107:34
- TS2339: Property 'getId' does not exist on type 'unknown'.
- 105 | const deletionUpdate = {};
- 106 | for (const track of removedTracks) {
- > 107 | const id = track.getId();
- | ^^^^^
- 108 | this._dataSourceManager.cleanUp(id);
- 109 | delete deletionUpdate[id];
- 110 | }
- ERROR in src/components/trackVis/bedTrack/FiberTrack.tsx:166:43
- TS2322: Type 'unknown' is not assignable to type 'NumberValue'.
- Type 'unknown' is not assignable to type '{ valueOf(): number; }'.
- 164 | const maxCount = _.max(counts);
- 165 | return {
- > 166 | pctToY: scaleLinear().domain([maxPct, 0]).range([ROW_VERTICAL_PADDING, height]).clamp(true),
- | ^^^^^^
- 167 | countToY: scaleLinear().domain([maxCount, 0]).range([ROW_VERTICAL_PADDING, height]).clamp(true),
- 168 | pcts,
- 169 | maxPct,
- ERROR in src/components/trackVis/bedTrack/FiberTrack.tsx:167:45
- TS2322: Type 'unknown' is not assignable to type 'NumberValue'.
- Type 'unknown' is not assignable to type '{ valueOf(): number; }'.
- 165 | return {
- 166 | pctToY: scaleLinear().domain([maxPct, 0]).range([ROW_VERTICAL_PADDING, height]).clamp(true),
- > 167 | countToY: scaleLinear().domain([maxCount, 0]).range([ROW_VERTICAL_PADDING, height]).clamp(true),
- | ^^^^^^^^
- 168 | pcts,
- 169 | maxPct,
- 170 | counts,
- ERROR in src/components/trackVis/interactionTrack/ArcDisplay.tsx:120:52
- TS7006: Parameter 'arc' implicitly has an 'any' type.
- 118 | const arcs = this.findArcs(relativeX, relativeY);
- 119 | if (arcs.length) {
- > 120 | const sortedArcs = _.sortBy(arcs, (arc) => arc[4].score);
- | ^^^
- 121 | // const tops =
- 122 | // sortedArcs.length > 2
- 123 | // ? sortedArcs.slice(sortedArcs.length - 3, sortedArcs.length).reverse()
- ERROR in src/components/trackVis/interactionTrack/DynamicInteractionTrack.tsx:78:36
- TS2339: Property 'score' does not exist on type 'unknown'.
- 76 | const maxValues = this.props.data.map((d) => {
- 77 | const maxObj = _.maxBy(d, "score");
- > 78 | return maxObj ? maxObj.score : 1;
- | ^^^^^
- 79 | });
- 80 | const maxScore = _.max(maxValues);
- 81 | if (scoreScale === ScaleChoices.AUTO) {
- ERROR in src/components/trackVis/interactionTrack/DynamicInteractionTrack.tsx:83:56
- TS2322: Type 'unknown' is not assignable to type 'NumberValue'.
- Type 'unknown' is not assignable to type '{ valueOf(): number; }'.
- The types returned by 'valueOf()' are incompatible between these types.
- Type 'Object' is not assignable to type 'number'.
- 81 | if (scoreScale === ScaleChoices.AUTO) {
- 82 | return {
- > 83 | opacityScale: scaleLinear().domain([0, maxScore]).range([0, 1]).clamp(true),
- | ^^^^^^^^
- 84 | min: 0,
- 85 | max: maxScore,
- 86 | };
- ERROR in src/components/vr/InteractionTrack3D.tsx:105:59
- TS7006: Parameter 'interaction' implicitly has an 'any' type.
- 103 |
- 104 | makeStandardizersForDistances(interactions: GenomeInteraction[]) {
- > 105 | const groupedByDistance = _.groupBy(interactions, interaction => interaction.getDistance());
- | ^^^^^^^^^^^
- 106 |
- 107 | const standardizers: {[distance: number]: (x: number) => number} = {};
- 108 | for (const distance in groupedByDistance) {
- ERROR in src/components/vr/InteractionTrack3D.tsx:112:17
- TS7006: Parameter 'interaction' implicitly has an 'any' type.
- 110 | const mean = _.meanBy(interactionsForDistance, 'score');
- 111 | const totalVariance = _.sum(interactionsForDistance.map(
- > 112 | interaction => (interaction.score - mean) * (interaction.score - mean)
- | ^^^^^^^^^^^
- 113 | ));
- 114 | const standardDev = Math.sqrt(totalVariance / (interactionsForDistance.length - 1));
- 115 | standardizers[Number(distance)] = this.makeStandardizer(mean, standardDev);
- ERROR in src/components/vr/NumericalTrack3D.tsx:61:53
- TS2322: Type 'unknown' is not assignable to type 'NumberValue'.
- Type 'unknown' is not assignable to type '{ valueOf(): number; }'.
- 59 | const min = _.min(boxToValue); // Returns undefined if no data. This will cause scales to return NaN.
- 60 | const max = _.max(boxToValue);
- > 61 | const valueToHeight = scaleLinear().domain([min, max]).range([0, height]).clamp(true);
- | ^^^
- 62 |
- 63 | const THREE = (window as any).THREE;
- 64 | const boxWidth = width / NUM_BOXES;
- ERROR in src/components/vr/NumericalTrack3D.tsx:61:58
- TS2322: Type 'unknown' is not assignable to type 'NumberValue'.
- Type 'unknown' is not assignable to type '{ valueOf(): number; }'.
- 59 | const min = _.min(boxToValue); // Returns undefined if no data. This will cause scales to return NaN.
- 60 | const max = _.max(boxToValue);
- > 61 | const valueToHeight = scaleLinear().domain([min, max]).range([0, height]).clamp(true);
- | ^^^
- 62 |
- 63 | const THREE = (window as any).THREE;
- 64 | const boxWidth = width / NUM_BOXES;
- ERROR in src/model/alignment/AlignmentViewCalculator.ts:551:69
- TS2339: Property 'getLength' does not exist on type 'unknown'.
- 549 |
- 550 | function computeCentroid(intervals: OpenInterval[]) {
- > 551 | const numerator = _.sumBy(intervals, interval => 0.5 * interval.getLength() * (interval.start + interval.end));
- | ^^^^^^^^^
- 552 | const denominator = _.sumBy(intervals, interval => interval.getLength());
- 553 | return numerator / denominator;
- 554 | }
- ERROR in src/model/alignment/AlignmentViewCalculator.ts:551:93
- TS2339: Property 'start' does not exist on type 'unknown'.
- 549 |
- 550 | function computeCentroid(intervals: OpenInterval[]) {
- > 551 | const numerator = _.sumBy(intervals, interval => 0.5 * interval.getLength() * (interval.start + interval.end));
- | ^^^^^
- 552 | const denominator = _.sumBy(intervals, interval => interval.getLength());
- 553 | return numerator / denominator;
- 554 | }
- ERROR in src/model/alignment/AlignmentViewCalculator.ts:551:110
- TS2339: Property 'end' does not exist on type 'unknown'.
- 549 |
- 550 | function computeCentroid(intervals: OpenInterval[]) {
- > 551 | const numerator = _.sumBy(intervals, interval => 0.5 * interval.getLength() * (interval.start + interval.end));
- | ^^^
- 552 | const denominator = _.sumBy(intervals, interval => interval.getLength());
- 553 | return numerator / denominator;
- 554 | }
- ERROR in src/model/alignment/AlignmentViewCalculator.ts:552:65
- TS2339: Property 'getLength' does not exist on type 'unknown'.
- 550 | function computeCentroid(intervals: OpenInterval[]) {
- 551 | const numerator = _.sumBy(intervals, interval => 0.5 * interval.getLength() * (interval.start + interval.end));
- > 552 | const denominator = _.sumBy(intervals, interval => interval.getLength());
- | ^^^^^^^^^
- 553 | return numerator / denominator;
- 554 | }
- 555 |
- ERROR in src/model/alignment/MultiAlignmentViewCalculator.ts:707:71
- TS2339: Property 'getLength' does not exist on type 'unknown'.
- 705 |
- 706 | function computeCentroid(intervals: OpenInterval[]) {
- > 707 | const numerator = _.sumBy(intervals, (interval) => 0.5 * interval.getLength() * (interval.start + interval.end));
- | ^^^^^^^^^
- 708 | const denominator = _.sumBy(intervals, (interval) => interval.getLength());
- 709 | return numerator / denominator;
- 710 | }
- ERROR in src/model/alignment/MultiAlignmentViewCalculator.ts:707:95
- TS2339: Property 'start' does not exist on type 'unknown'.
- 705 |
- 706 | function computeCentroid(intervals: OpenInterval[]) {
- > 707 | const numerator = _.sumBy(intervals, (interval) => 0.5 * interval.getLength() * (interval.start + interval.end));
- | ^^^^^
- 708 | const denominator = _.sumBy(intervals, (interval) => interval.getLength());
- 709 | return numerator / denominator;
- 710 | }
- ERROR in src/model/alignment/MultiAlignmentViewCalculator.ts:707:112
- TS2339: Property 'end' does not exist on type 'unknown'.
- 705 |
- 706 | function computeCentroid(intervals: OpenInterval[]) {
- > 707 | const numerator = _.sumBy(intervals, (interval) => 0.5 * interval.getLength() * (interval.start + interval.end));
- | ^^^
- 708 | const denominator = _.sumBy(intervals, (interval) => interval.getLength());
- 709 | return numerator / denominator;
- 710 | }
- ERROR in src/model/alignment/MultiAlignmentViewCalculator.ts:708:67
- TS2339: Property 'getLength' does not exist on type 'unknown'.
- 706 | function computeCentroid(intervals: OpenInterval[]) {
- 707 | const numerator = _.sumBy(intervals, (interval) => 0.5 * interval.getLength() * (interval.start + interval.end));
- > 708 | const denominator = _.sumBy(intervals, (interval) => interval.getLength());
- | ^^^^^^^^^
- 709 | return numerator / denominator;
- 710 | }
- 711 |
- ERROR in src/model/alignment/test/NavContextBuilder.test.ts:22:1
- TS2582: Cannot find name 'test'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`.
- 20 | ];
- 21 |
- > 22 | test('build() works correctly', () => {
- | ^^^^
- 23 | const instance = new NavContextBuilder(BASE_NAV_CONTEXT);
- 24 | instance.setGaps(GAPS);
- 25 | const newNavContext = instance.build();
- ERROR in src/model/alignment/test/NavContextBuilder.test.ts:26:5
- TS2304: Cannot find name 'expect'.
- 24 | instance.setGaps(GAPS);
- 25 | const newNavContext = instance.build();
- > 26 | expect(newNavContext.getTotalBases()).toBe(BASE_NAV_CONTEXT.getTotalBases() + 15);
- | ^^^^^^
- 27 | expect(newNavContext.getFeatures().map(feature => feature.getLength())).toEqual([
- 28 | 10, 5, 10, 2, 5, 4, 5, 4
- 29 | // chr1, GAP, chr2, chr3:0-2, GAP, chr3:2-6, GAP, chr3:6-10
- ERROR in src/model/alignment/test/NavContextBuilder.test.ts:27:5
- TS2304: Cannot find name 'expect'.
- 25 | const newNavContext = instance.build();
- 26 | expect(newNavContext.getTotalBases()).toBe(BASE_NAV_CONTEXT.getTotalBases() + 15);
- > 27 | expect(newNavContext.getFeatures().map(feature => feature.getLength())).toEqual([
- | ^^^^^^
- 28 | 10, 5, 10, 2, 5, 4, 5, 4
- 29 | // chr1, GAP, chr2, chr3:0-2, GAP, chr3:2-6, GAP, chr3:6-10
- 30 | ]);
- ERROR in src/model/alignment/test/NavContextBuilder.test.ts:33:1
- TS2582: Cannot find name 'test'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`.
- 31 | });
- 32 |
- > 33 | test('convertOldContextBase() works correctly', () => {
- | ^^^^
- 34 | const instance = new NavContextBuilder(BASE_NAV_CONTEXT);
- 35 | instance.setGaps(GAPS);
- 36 | instance.build();
- ERROR in src/model/alignment/test/NavContextBuilder.test.ts:37:5
- TS2304: Cannot find name 'expect'.
- 35 | instance.setGaps(GAPS);
- 36 | instance.build();
- > 37 | expect(instance.convertOldCoordinates(5)).toBe(5);
- | ^^^^^^
- 38 | expect(instance.convertOldCoordinates(10)).toBe(10);
- 39 | expect(instance.convertOldCoordinates(11)).toBe(16);
- 40 | expect(instance.convertOldCoordinates(25)).toBe(35);
- ERROR in src/model/alignment/test/NavContextBuilder.test.ts:38:5
- TS2304: Cannot find name 'expect'.
- 36 | instance.build();
- 37 | expect(instance.convertOldCoordinates(5)).toBe(5);
- > 38 | expect(instance.convertOldCoordinates(10)).toBe(10);
- | ^^^^^^
- 39 | expect(instance.convertOldCoordinates(11)).toBe(16);
- 40 | expect(instance.convertOldCoordinates(25)).toBe(35);
- 41 | expect(instance.convertOldCoordinates(30)).toBe(45);
- ERROR in src/model/alignment/test/NavContextBuilder.test.ts:39:5
- TS2304: Cannot find name 'expect'.
- 37 | expect(instance.convertOldCoordinates(5)).toBe(5);
- 38 | expect(instance.convertOldCoordinates(10)).toBe(10);
- > 39 | expect(instance.convertOldCoordinates(11)).toBe(16);
- | ^^^^^^
- 40 | expect(instance.convertOldCoordinates(25)).toBe(35);
- 41 | expect(instance.convertOldCoordinates(30)).toBe(45);
- 42 | });
- ERROR in src/model/alignment/test/NavContextBuilder.test.ts:40:5
- TS2304: Cannot find name 'expect'.
- 38 | expect(instance.convertOldCoordinates(10)).toBe(10);
- 39 | expect(instance.convertOldCoordinates(11)).toBe(16);
- > 40 | expect(instance.convertOldCoordinates(25)).toBe(35);
- | ^^^^^^
- 41 | expect(instance.convertOldCoordinates(30)).toBe(45);
- 42 | });
- 43 |
- ERROR in src/model/alignment/test/NavContextBuilder.test.ts:41:5
- TS2304: Cannot find name 'expect'.
- 39 | expect(instance.convertOldCoordinates(11)).toBe(16);
- 40 | expect(instance.convertOldCoordinates(25)).toBe(35);
- > 41 | expect(instance.convertOldCoordinates(30)).toBe(45);
- | ^^^^^^
- 42 | });
- 43 |
- ERROR in src/model/FeatureArranger.ts:83:41
- TS2339: Property 'feature' does not exist on type 'unknown'.
- 81 | const lastPlacement = _.last(placementsInGroup);
- 82 | groups.push({
- > 83 | feature: firstPlacement.feature,
- | ^^^^^^^
- 84 | row: -1,
- 85 | xSpan: new OpenInterval(firstPlacement.xSpan.start, lastPlacement.xSpan.end),
- 86 | placedFeatures: placementsInGroup,
- ERROR in src/model/FeatureArranger.ts:85:56
- TS2339: Property 'xSpan' does not exist on type 'unknown'.
- 83 | feature: firstPlacement.feature,
- 84 | row: -1,
- > 85 | xSpan: new OpenInterval(firstPlacement.xSpan.start, lastPlacement.xSpan.end),
- | ^^^^^
- 86 | placedFeatures: placementsInGroup,
- 87 | });
- 88 | i = j;
- ERROR in src/model/FeatureArranger.ts:85:83
- TS2339: Property 'xSpan' does not exist on type 'unknown'.
- 83 | feature: firstPlacement.feature,
- 84 | row: -1,
- > 85 | xSpan: new OpenInterval(firstPlacement.xSpan.start, lastPlacement.xSpan.end),
- | ^^^^^
- 86 | placedFeatures: placementsInGroup,
- 87 | });
- 88 | i = j;
- ERROR in src/model/Gene.ts:91:102
- TS2345: Argument of type 'unknown' is not assignable to parameter of type 'number'.
- 89 | .split(",")
- 90 | .map((n) => Number.parseInt(n, 10));
- > 91 | const exons = _.zip(parsedExonStarts, parsedExonEnds).map(([start, end]) => new OpenInterval(start, end));
- | ^^^^^
- 92 |
- 93 | for (const exon of exons) {
- 94 | // Get UTRs and translated exons from the raw record
- ERROR in src/model/interval/ChromosomeInterval.ts:68:57
- TS7006: Parameter 'obj' implicitly has an 'any' type.
- 66 | iteratee: (object: T) => ChromosomeInterval
- 67 | ): Array<MergedLocus<T>> {
- > 68 | const groupedByChromosome = _.groupBy(objects, (obj) => iteratee(obj).chr);
- | ^^^
- 69 | const merged = [];
- 70 | for (const chrName in groupedByChromosome) {
- 71 | const objectsForChromosome = groupedByChromosome[chrName];
- ERROR in src/model/interval/ChromosomeInterval.ts:72:40
- TS7006: Parameter 'a' implicitly has an 'any' type.
- 70 | for (const chrName in groupedByChromosome) {
- 71 | const objectsForChromosome = groupedByChromosome[chrName];
- > 72 | objectsForChromosome.sort((a, b) => iteratee(a).start - iteratee(b).start);
- | ^
- 73 | const loci = objectsForChromosome.map(iteratee);
- 74 |
- 75 | // Merge loci for this chromosome
- ERROR in src/model/interval/ChromosomeInterval.ts:72:43
- TS7006: Parameter 'b' implicitly has an 'any' type.
- 70 | for (const chrName in groupedByChromosome) {
- 71 | const objectsForChromosome = groupedByChromosome[chrName];
- > 72 | objectsForChromosome.sort((a, b) => iteratee(a).start - iteratee(b).start);
- | ^
- 73 | const loci = objectsForChromosome.map(iteratee);
- 74 |
- 75 | // Merge loci for this chromosome
- ERROR in src/model/MethylCRecord.ts:78:34
- TS7006: Parameter 'record' implicitly has an 'any' type.
- 76 | static aggregateByStrand(records: MethylCRecord[]): AggregationByStrandResult {
- 77 | const [forwardStrandRecords, reverseStrandRecords] =
- > 78 | _.partition(records, record => record.getIsForwardStrand());
- | ^^^^^^
- 79 | return {
- 80 | combined: MethylCRecord.aggregateRecords(records),
- 81 | forward: MethylCRecord.aggregateRecords(forwardStrandRecords),
- ERROR in src/model/MethylCRecord.ts:81:53
- TS2345: Argument of type 'unknown[]' is not assignable to parameter of type 'MethylCRecord[]'.
- Type '{}' is missing the following properties from type 'MethylCRecord': context, value, depth, name, and 11 more.
- 79 | return {
- 80 | combined: MethylCRecord.aggregateRecords(records),
- > 81 | forward: MethylCRecord.aggregateRecords(forwardStrandRecords),
- | ^^^^^^^^^^^^^^^^^^^^
- 82 | reverse: MethylCRecord.aggregateRecords(reverseStrandRecords)
- 83 | };
- 84 | /*
- ERROR in src/model/NavigationContext.ts:61:53
- TS7006: Parameter 'feature' implicitly has an 'any' type.
- 59 | this._minCoordinateForFeature = new Map();
- 60 | this._sortedFeatureStarts = [];
- > 61 | this._featuresForChr = _.groupBy(features, (feature) => feature.getLocus().chr);
- | ^^^^^^^
- 62 | this._totalBases = 0;
- 63 |
- 64 | for (const feature of features) {
- ERROR in src/model/NavigationContext.ts:223:78
- TS2339: Property 'getLength' does not exist on type 'unknown'.
- 221 | const featureIndex = this._features.findIndex((feature) => feature === featureCoordinate.feature);
- 222 | const gapFeaturesBefore = this._features.slice(0, featureIndex).filter(NavigationContext.isGapFeature);
- > 223 | let gapBasesBefore = _.sumBy(gapFeaturesBefore, (feature) => feature.getLength());
- | ^^^^^^^^^
- 224 | if (NavigationContext.isGapFeature(featureCoordinate.feature)) {
- 225 | gapBasesBefore += featureCoordinate.relativeStart;
- 226 | }
Advertisement
Add Comment
Please, Sign In to add comment