Guest User

Untitled

a guest
May 8th, 2025
12
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 55.01 KB | None | 0 0
  1. Failed to compile.
  2.  
  3. Attempted import error: 'hic-straw/dist/hic-straw.min.js' does not contain a default export (imported as 'HicStraw').
  4. WARNING in ./node_modules/@react-spring/shared/index.js
  5. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  6. 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'
  7.  
  8. WARNING in ./node_modules/@react-spring/shared/index.js
  9. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  10. 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'
  11.  
  12. WARNING in ./node_modules/@react-spring/shared/index.js
  13. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  14. 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'
  15.  
  16. WARNING in ./node_modules/@react-spring/shared/index.js
  17. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  18. 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'
  19.  
  20. WARNING in ./node_modules/@react-spring/shared/index.js
  21. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  22. 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'
  23.  
  24. WARNING in ./node_modules/@react-spring/shared/index.js
  25. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  26. 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'
  27.  
  28. WARNING in ./node_modules/@react-spring/shared/index.js
  29. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  30. 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'
  31.  
  32. WARNING in ./node_modules/@react-spring/shared/index.js
  33. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  34. 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'
  35.  
  36. WARNING in ./node_modules/@react-spring/shared/index.js
  37. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  38. 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'
  39.  
  40. WARNING in ./node_modules/@react-spring/shared/index.js
  41. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  42. 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'
  43.  
  44. WARNING in ./node_modules/@react-spring/shared/index.js
  45. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  46. 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'
  47.  
  48. WARNING in ./node_modules/@react-spring/shared/index.js
  49. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  50. 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'
  51.  
  52. WARNING in ./node_modules/@react-spring/shared/index.js
  53. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  54. 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'
  55.  
  56. WARNING in ./node_modules/@react-spring/shared/index.js
  57. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  58. 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'
  59.  
  60. WARNING in ./node_modules/@react-spring/shared/index.js
  61. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  62. 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'
  63.  
  64. WARNING in ./node_modules/@react-spring/shared/index.js
  65. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  66. 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'
  67.  
  68. WARNING in ./node_modules/@react-spring/shared/index.js
  69. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  70. 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'
  71.  
  72. WARNING in ./node_modules/flexlayout-react/lib/Attribute.js
  73. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  74. 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'
  75.  
  76. WARNING in ./node_modules/flexlayout-react/lib/AttributeDefinitions.js
  77. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  78. 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'
  79.  
  80. WARNING in ./node_modules/flexlayout-react/lib/DockLocation.js
  81. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  82. 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'
  83.  
  84. WARNING in ./node_modules/flexlayout-react/lib/DragDrop.js
  85. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  86. 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'
  87.  
  88. WARNING in ./node_modules/flexlayout-react/lib/DropInfo.js
  89. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  90. 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'
  91.  
  92. WARNING in ./node_modules/flexlayout-react/lib/I18nLabel.js
  93. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  94. 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'
  95.  
  96. WARNING in ./node_modules/flexlayout-react/lib/Orientation.js
  97. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  98. 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'
  99.  
  100. WARNING in ./node_modules/flexlayout-react/lib/PopupMenu.js
  101. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  102. 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'
  103.  
  104. WARNING in ./node_modules/flexlayout-react/lib/Rect.js
  105. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  106. 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'
  107.  
  108. WARNING in ./node_modules/flexlayout-react/lib/index.js
  109. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  110. 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'
  111.  
  112. WARNING in ./node_modules/flexlayout-react/lib/model/Action.js
  113. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  114. 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'
  115.  
  116. WARNING in ./node_modules/flexlayout-react/lib/model/Actions.js
  117. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  118. 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'
  119.  
  120. WARNING in ./node_modules/flexlayout-react/lib/model/BorderNode.js
  121. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  122. 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'
  123.  
  124. WARNING in ./node_modules/flexlayout-react/lib/model/BorderSet.js
  125. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  126. 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'
  127.  
  128. WARNING in ./node_modules/flexlayout-react/lib/model/Model.js
  129. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  130. 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'
  131.  
  132. WARNING in ./node_modules/flexlayout-react/lib/model/Node.js
  133. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  134. 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'
  135.  
  136. WARNING in ./node_modules/flexlayout-react/lib/model/RowNode.js
  137. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  138. 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'
  139.  
  140. WARNING in ./node_modules/flexlayout-react/lib/model/SplitterNode.js
  141. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  142. 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'
  143.  
  144. WARNING in ./node_modules/flexlayout-react/lib/model/TabNode.js
  145. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  146. 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'
  147.  
  148. WARNING in ./node_modules/flexlayout-react/lib/model/TabSetNode.js
  149. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  150. 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'
  151.  
  152. WARNING in ./node_modules/flexlayout-react/lib/view/BorderButton.js
  153. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  154. 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'
  155.  
  156. WARNING in ./node_modules/flexlayout-react/lib/view/BorderTabSet.js
  157. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  158. 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'
  159.  
  160. WARNING in ./node_modules/flexlayout-react/lib/view/Layout.js
  161. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  162. 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'
  163.  
  164. WARNING in ./node_modules/flexlayout-react/lib/view/Splitter.js
  165. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  166. 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'
  167.  
  168. WARNING in ./node_modules/flexlayout-react/lib/view/Tab.js
  169. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  170. 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'
  171.  
  172. WARNING in ./node_modules/flexlayout-react/lib/view/TabButton.js
  173. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  174. 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'
  175.  
  176. WARNING in ./node_modules/flexlayout-react/lib/view/TabSet.js
  177. Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
  178. 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'
  179.  
  180. ERROR in ./src/dataSources/HicSource.js 95:21-29
  181. export 'default' (imported as 'HicStraw') was not found in 'hic-straw/dist/hic-straw.min.js' (module has no exports)
  182.  
  183. ERROR in ./src/dataSources/ballc/Ballc.worker.js
  184. Module build failed (from ./node_modules/worker-loader/dist/cjs.js):
  185. Error: MainTemplate.hooks.hotBootstrap has been removed (use your own RuntimeModule instead)
  186. at Object.tap (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/MainTemplate.js:262:12)
  187. at WebWorkerMainTemplatePlugin.apply (/var/eg-react/eg-react/frontend/node_modules/webpack/lib/webworker/WebWorkerMainTemplatePlugin.js:139:35)
  188. at /var/eg-react/eg-react/frontend/node_modules/webpack/lib/webworker/WebWorkerTemplatePlugin.js:16:39
  189. 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)
  190. at Hook.CALL_DELEGATE [as _call] (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/tapable/lib/Hook.js:14:14)
  191. at Compiler.newCompilation (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:1272:30)
  192. at /var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:1317:29
  193. 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)
  194. 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)
  195. at Compiler.compile (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:1312:28)
  196. at Compiler.runAsChild (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:637:8)
  197. at Object.pitch (/var/eg-react/eg-react/frontend/node_modules/worker-loader/dist/index.js:115:19)
  198.  
  199. ERROR in ./src/dataSources/bed/Bed.worker.js
  200. Module build failed (from ./node_modules/worker-loader/dist/cjs.js):
  201. Error: MainTemplate.hooks.hotBootstrap has been removed (use your own RuntimeModule instead)
  202. at Object.tap (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/MainTemplate.js:262:12)
  203. at WebWorkerMainTemplatePlugin.apply (/var/eg-react/eg-react/frontend/node_modules/webpack/lib/webworker/WebWorkerMainTemplatePlugin.js:139:35)
  204. at /var/eg-react/eg-react/frontend/node_modules/webpack/lib/webworker/WebWorkerTemplatePlugin.js:16:39
  205. 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)
  206. at Hook.CALL_DELEGATE [as _call] (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/tapable/lib/Hook.js:14:14)
  207. at Compiler.newCompilation (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:1272:30)
  208. at /var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:1317:29
  209. 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)
  210. 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)
  211. at Compiler.compile (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:1312:28)
  212. at Compiler.runAsChild (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:637:8)
  213. at Object.pitch (/var/eg-react/eg-react/frontend/node_modules/worker-loader/dist/index.js:115:19)
  214.  
  215. ERROR in ./src/dataSources/bed/GenomeAlign.worker.js
  216. Module build failed (from ./node_modules/worker-loader/dist/cjs.js):
  217. Error: MainTemplate.hooks.hotBootstrap has been removed (use your own RuntimeModule instead)
  218. at Object.tap (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/MainTemplate.js:262:12)
  219. at WebWorkerMainTemplatePlugin.apply (/var/eg-react/eg-react/frontend/node_modules/webpack/lib/webworker/WebWorkerMainTemplatePlugin.js:139:35)
  220. at /var/eg-react/eg-react/frontend/node_modules/webpack/lib/webworker/WebWorkerTemplatePlugin.js:16:39
  221. 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)
  222. at Hook.CALL_DELEGATE [as _call] (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/tapable/lib/Hook.js:14:14)
  223. at Compiler.newCompilation (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:1272:30)
  224. at /var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:1317:29
  225. 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)
  226. 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)
  227. at Compiler.compile (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:1312:28)
  228. at Compiler.runAsChild (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:637:8)
  229. at Object.pitch (/var/eg-react/eg-react/frontend/node_modules/worker-loader/dist/index.js:115:19)
  230.  
  231. ERROR in ./src/dataSources/big/Big.worker.js
  232. Module build failed (from ./node_modules/worker-loader/dist/cjs.js):
  233. Error: MainTemplate.hooks.hotBootstrap has been removed (use your own RuntimeModule instead)
  234. at Object.tap (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/MainTemplate.js:262:12)
  235. at WebWorkerMainTemplatePlugin.apply (/var/eg-react/eg-react/frontend/node_modules/webpack/lib/webworker/WebWorkerMainTemplatePlugin.js:139:35)
  236. at /var/eg-react/eg-react/frontend/node_modules/webpack/lib/webworker/WebWorkerTemplatePlugin.js:16:39
  237. 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)
  238. at Hook.CALL_DELEGATE [as _call] (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/tapable/lib/Hook.js:14:14)
  239. at Compiler.newCompilation (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:1272:30)
  240. at /var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:1317:29
  241. 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)
  242. 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)
  243. at Compiler.compile (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:1312:28)
  244. at Compiler.runAsChild (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:637:8)
  245. at Object.pitch (/var/eg-react/eg-react/frontend/node_modules/worker-loader/dist/index.js:115:19)
  246.  
  247. ERROR in ./src/dataSources/big/BigGmod.worker.js
  248. Module build failed (from ./node_modules/worker-loader/dist/cjs.js):
  249. Error: MainTemplate.hooks.hotBootstrap has been removed (use your own RuntimeModule instead)
  250. at Object.tap (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/MainTemplate.js:262:12)
  251. at WebWorkerMainTemplatePlugin.apply (/var/eg-react/eg-react/frontend/node_modules/webpack/lib/webworker/WebWorkerMainTemplatePlugin.js:139:35)
  252. at /var/eg-react/eg-react/frontend/node_modules/webpack/lib/webworker/WebWorkerTemplatePlugin.js:16:39
  253. 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)
  254. at Hook.CALL_DELEGATE [as _call] (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/tapable/lib/Hook.js:14:14)
  255. at Compiler.newCompilation (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:1272:30)
  256. at /var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:1317:29
  257. 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)
  258. 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)
  259. at Compiler.compile (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:1312:28)
  260. at Compiler.runAsChild (/var/eg-react/eg-react/frontend/node_modules/react-scripts/node_modules/webpack/lib/Compiler.js:637:8)
  261. at Object.pitch (/var/eg-react/eg-react/frontend/node_modules/worker-loader/dist/index.js:115:19)
  262.  
  263. ERROR in ./node_modules/zlib/lib/zlib.js 1:0-43
  264. Module not found: Error: Can't resolve './zlib_bindings' in '/var/eg-react/eg-react/frontend/node_modules/zlib/lib'
  265.  
  266. ERROR in [eslint] Failed to load plugin 'vue' declared in '.eslintrc.js': Cannot find module 'eslint-plugin-vue'
  267. Require stack:
  268. - /var/eg-react/eg-react/frontend/node_modules/react-scripts/config/__placeholder__.js
  269. Referenced from: /var/eg-react/eg-react/frontend/.eslintrc.js
  270.  
  271. webpack compiled with 8 errors and 44 warnings
  272. ERROR in src/@types/color-rgba.ts
  273. TS1208: All files must be modules when the '--isolatedModules' flag is provided.
  274.  
  275. ERROR in src/App.tsx:299:75
  276. TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string'.
  277. 297 | const { genomeConfig } = this.props;
  278. 298 | const secondaryGenomes = getSecondaryGenomes(genomeConfig.genome.getName(), tracks);
  279. > 299 | const secondConfigs = secondaryGenomes.map((g) => getGenomeConfig(g));
  280. | ^
  281. 300 | secondConfigs
  282. 301 | .filter((x) => x.publicHubList)
  283. 302 | .map((x) => x.publicHubList.map((y) => (y.genome = x.genome.getName())));
  284.  
  285. ERROR in src/App.tsx:370:21
  286. 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<...>...'.
  287. 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<...>...'.
  288. 368 | // onToggle3DScene={this.toggle3DScene}
  289. 369 | // onToggleHighlight={this.toggleHighlight}
  290. > 370 | onNewHighlight={this.newHighlight}
  291. | ^^^^^^^^^^^^^^
  292. 371 | // onSetHighlightColor={this.setHighlightColor}
  293. 372 | selectedRegion={viewRegion}
  294. 373 | onRegionSelected={onNewViewRegion}
  295.  
  296. ERROR in src/components/trackContainers/TrackDataManager.tsx:88:76
  297. TS7006: Parameter 'track' implicitly has an 'any' type.
  298. 86 | }
  299. 87 |
  300. > 88 | const addedTracks = _.differenceBy(currentTracks, prevTracks, (track) => track.getId());
  301. | ^^^^^
  302. 89 | const removedTracks = _.differenceBy(prevTracks, currentTracks, (track) => track.getId());
  303. 90 | const keptTracks = _.intersectionBy(currentTracks, prevTracks, (track) => track.getId());
  304. 91 | for (const track of addedTracks) {
  305.  
  306. ERROR in src/components/trackContainers/TrackDataManager.tsx:89:78
  307. TS7006: Parameter 'track' implicitly has an 'any' type.
  308. 87 |
  309. 88 | const addedTracks = _.differenceBy(currentTracks, prevTracks, (track) => track.getId());
  310. > 89 | const removedTracks = _.differenceBy(prevTracks, currentTracks, (track) => track.getId());
  311. | ^^^^^
  312. 90 | const keptTracks = _.intersectionBy(currentTracks, prevTracks, (track) => track.getId());
  313. 91 | for (const track of addedTracks) {
  314. 92 | this.fetchTrack(track);
  315.  
  316. ERROR in src/components/trackContainers/TrackDataManager.tsx:90:77
  317. TS7006: Parameter 'track' implicitly has an 'any' type.
  318. 88 | const addedTracks = _.differenceBy(currentTracks, prevTracks, (track) => track.getId());
  319. 89 | const removedTracks = _.differenceBy(prevTracks, currentTracks, (track) => track.getId());
  320. > 90 | const keptTracks = _.intersectionBy(currentTracks, prevTracks, (track) => track.getId());
  321. | ^^^^^
  322. 91 | for (const track of addedTracks) {
  323. 92 | this.fetchTrack(track);
  324. 93 | }
  325.  
  326. ERROR in src/components/trackContainers/TrackDataManager.tsx:92:33
  327. TS2345: Argument of type 'unknown' is not assignable to parameter of type 'TrackModel'.
  328. Type '{}' is missing the following properties from type 'TrackModel': name, type, label, options, and 13 more.
  329. 90 | const keptTracks = _.intersectionBy(currentTracks, prevTracks, (track) => track.getId());
  330. 91 | for (const track of addedTracks) {
  331. > 92 | this.fetchTrack(track);
  332. | ^^^^^
  333. 93 | }
  334. 94 |
  335. 95 | for (const track of keptTracks) {
  336.  
  337. ERROR in src/components/trackContainers/TrackDataManager.tsx:96:60
  338. TS2339: Property 'getId' does not exist on type 'unknown'.
  339. 94 |
  340. 95 | for (const track of keptTracks) {
  341. > 96 | const prevTrack = prevTrackForId.get(track.getId());
  342. | ^^^^^
  343. 97 | const config = getTrackConfig(track);
  344. 98 | const prevConfig = getTrackConfig(prevTrack);
  345. 99 | if (config.shouldFetchBecauseOptionChange(prevConfig.getOptions(), config.getOptions())) {
  346.  
  347. ERROR in src/components/trackContainers/TrackDataManager.tsx:97:47
  348. TS2345: Argument of type 'unknown' is not assignable to parameter of type 'TrackModel'.
  349. 95 | for (const track of keptTracks) {
  350. 96 | const prevTrack = prevTrackForId.get(track.getId());
  351. > 97 | const config = getTrackConfig(track);
  352. | ^^^^^
  353. 98 | const prevConfig = getTrackConfig(prevTrack);
  354. 99 | if (config.shouldFetchBecauseOptionChange(prevConfig.getOptions(), config.getOptions())) {
  355. 100 | this.fetchTrack(track);
  356.  
  357. ERROR in src/components/trackContainers/TrackDataManager.tsx:100:37
  358. TS2345: Argument of type 'unknown' is not assignable to parameter of type 'TrackModel'.
  359. 98 | const prevConfig = getTrackConfig(prevTrack);
  360. 99 | if (config.shouldFetchBecauseOptionChange(prevConfig.getOptions(), config.getOptions())) {
  361. > 100 | this.fetchTrack(track);
  362. | ^^^^^
  363. 101 | }
  364. 102 | }
  365. 103 |
  366.  
  367. ERROR in src/components/trackContainers/TrackDataManager.tsx:107:34
  368. TS2339: Property 'getId' does not exist on type 'unknown'.
  369. 105 | const deletionUpdate = {};
  370. 106 | for (const track of removedTracks) {
  371. > 107 | const id = track.getId();
  372. | ^^^^^
  373. 108 | this._dataSourceManager.cleanUp(id);
  374. 109 | delete deletionUpdate[id];
  375. 110 | }
  376.  
  377. ERROR in src/components/trackVis/bedTrack/FiberTrack.tsx:166:43
  378. TS2322: Type 'unknown' is not assignable to type 'NumberValue'.
  379. Type 'unknown' is not assignable to type '{ valueOf(): number; }'.
  380. 164 | const maxCount = _.max(counts);
  381. 165 | return {
  382. > 166 | pctToY: scaleLinear().domain([maxPct, 0]).range([ROW_VERTICAL_PADDING, height]).clamp(true),
  383. | ^^^^^^
  384. 167 | countToY: scaleLinear().domain([maxCount, 0]).range([ROW_VERTICAL_PADDING, height]).clamp(true),
  385. 168 | pcts,
  386. 169 | maxPct,
  387.  
  388. ERROR in src/components/trackVis/bedTrack/FiberTrack.tsx:167:45
  389. TS2322: Type 'unknown' is not assignable to type 'NumberValue'.
  390. Type 'unknown' is not assignable to type '{ valueOf(): number; }'.
  391. 165 | return {
  392. 166 | pctToY: scaleLinear().domain([maxPct, 0]).range([ROW_VERTICAL_PADDING, height]).clamp(true),
  393. > 167 | countToY: scaleLinear().domain([maxCount, 0]).range([ROW_VERTICAL_PADDING, height]).clamp(true),
  394. | ^^^^^^^^
  395. 168 | pcts,
  396. 169 | maxPct,
  397. 170 | counts,
  398.  
  399. ERROR in src/components/trackVis/interactionTrack/ArcDisplay.tsx:120:52
  400. TS7006: Parameter 'arc' implicitly has an 'any' type.
  401. 118 | const arcs = this.findArcs(relativeX, relativeY);
  402. 119 | if (arcs.length) {
  403. > 120 | const sortedArcs = _.sortBy(arcs, (arc) => arc[4].score);
  404. | ^^^
  405. 121 | // const tops =
  406. 122 | // sortedArcs.length > 2
  407. 123 | // ? sortedArcs.slice(sortedArcs.length - 3, sortedArcs.length).reverse()
  408.  
  409. ERROR in src/components/trackVis/interactionTrack/DynamicInteractionTrack.tsx:78:36
  410. TS2339: Property 'score' does not exist on type 'unknown'.
  411. 76 | const maxValues = this.props.data.map((d) => {
  412. 77 | const maxObj = _.maxBy(d, "score");
  413. > 78 | return maxObj ? maxObj.score : 1;
  414. | ^^^^^
  415. 79 | });
  416. 80 | const maxScore = _.max(maxValues);
  417. 81 | if (scoreScale === ScaleChoices.AUTO) {
  418.  
  419. ERROR in src/components/trackVis/interactionTrack/DynamicInteractionTrack.tsx:83:56
  420. TS2322: Type 'unknown' is not assignable to type 'NumberValue'.
  421. Type 'unknown' is not assignable to type '{ valueOf(): number; }'.
  422. The types returned by 'valueOf()' are incompatible between these types.
  423. Type 'Object' is not assignable to type 'number'.
  424. 81 | if (scoreScale === ScaleChoices.AUTO) {
  425. 82 | return {
  426. > 83 | opacityScale: scaleLinear().domain([0, maxScore]).range([0, 1]).clamp(true),
  427. | ^^^^^^^^
  428. 84 | min: 0,
  429. 85 | max: maxScore,
  430. 86 | };
  431.  
  432. ERROR in src/components/vr/InteractionTrack3D.tsx:105:59
  433. TS7006: Parameter 'interaction' implicitly has an 'any' type.
  434. 103 |
  435. 104 | makeStandardizersForDistances(interactions: GenomeInteraction[]) {
  436. > 105 | const groupedByDistance = _.groupBy(interactions, interaction => interaction.getDistance());
  437. | ^^^^^^^^^^^
  438. 106 |
  439. 107 | const standardizers: {[distance: number]: (x: number) => number} = {};
  440. 108 | for (const distance in groupedByDistance) {
  441.  
  442. ERROR in src/components/vr/InteractionTrack3D.tsx:112:17
  443. TS7006: Parameter 'interaction' implicitly has an 'any' type.
  444. 110 | const mean = _.meanBy(interactionsForDistance, 'score');
  445. 111 | const totalVariance = _.sum(interactionsForDistance.map(
  446. > 112 | interaction => (interaction.score - mean) * (interaction.score - mean)
  447. | ^^^^^^^^^^^
  448. 113 | ));
  449. 114 | const standardDev = Math.sqrt(totalVariance / (interactionsForDistance.length - 1));
  450. 115 | standardizers[Number(distance)] = this.makeStandardizer(mean, standardDev);
  451.  
  452. ERROR in src/components/vr/NumericalTrack3D.tsx:61:53
  453. TS2322: Type 'unknown' is not assignable to type 'NumberValue'.
  454. Type 'unknown' is not assignable to type '{ valueOf(): number; }'.
  455. 59 | const min = _.min(boxToValue); // Returns undefined if no data. This will cause scales to return NaN.
  456. 60 | const max = _.max(boxToValue);
  457. > 61 | const valueToHeight = scaleLinear().domain([min, max]).range([0, height]).clamp(true);
  458. | ^^^
  459. 62 |
  460. 63 | const THREE = (window as any).THREE;
  461. 64 | const boxWidth = width / NUM_BOXES;
  462.  
  463. ERROR in src/components/vr/NumericalTrack3D.tsx:61:58
  464. TS2322: Type 'unknown' is not assignable to type 'NumberValue'.
  465. Type 'unknown' is not assignable to type '{ valueOf(): number; }'.
  466. 59 | const min = _.min(boxToValue); // Returns undefined if no data. This will cause scales to return NaN.
  467. 60 | const max = _.max(boxToValue);
  468. > 61 | const valueToHeight = scaleLinear().domain([min, max]).range([0, height]).clamp(true);
  469. | ^^^
  470. 62 |
  471. 63 | const THREE = (window as any).THREE;
  472. 64 | const boxWidth = width / NUM_BOXES;
  473.  
  474. ERROR in src/model/alignment/AlignmentViewCalculator.ts:551:69
  475. TS2339: Property 'getLength' does not exist on type 'unknown'.
  476. 549 |
  477. 550 | function computeCentroid(intervals: OpenInterval[]) {
  478. > 551 | const numerator = _.sumBy(intervals, interval => 0.5 * interval.getLength() * (interval.start + interval.end));
  479. | ^^^^^^^^^
  480. 552 | const denominator = _.sumBy(intervals, interval => interval.getLength());
  481. 553 | return numerator / denominator;
  482. 554 | }
  483.  
  484. ERROR in src/model/alignment/AlignmentViewCalculator.ts:551:93
  485. TS2339: Property 'start' does not exist on type 'unknown'.
  486. 549 |
  487. 550 | function computeCentroid(intervals: OpenInterval[]) {
  488. > 551 | const numerator = _.sumBy(intervals, interval => 0.5 * interval.getLength() * (interval.start + interval.end));
  489. | ^^^^^
  490. 552 | const denominator = _.sumBy(intervals, interval => interval.getLength());
  491. 553 | return numerator / denominator;
  492. 554 | }
  493.  
  494. ERROR in src/model/alignment/AlignmentViewCalculator.ts:551:110
  495. TS2339: Property 'end' does not exist on type 'unknown'.
  496. 549 |
  497. 550 | function computeCentroid(intervals: OpenInterval[]) {
  498. > 551 | const numerator = _.sumBy(intervals, interval => 0.5 * interval.getLength() * (interval.start + interval.end));
  499. | ^^^
  500. 552 | const denominator = _.sumBy(intervals, interval => interval.getLength());
  501. 553 | return numerator / denominator;
  502. 554 | }
  503.  
  504. ERROR in src/model/alignment/AlignmentViewCalculator.ts:552:65
  505. TS2339: Property 'getLength' does not exist on type 'unknown'.
  506. 550 | function computeCentroid(intervals: OpenInterval[]) {
  507. 551 | const numerator = _.sumBy(intervals, interval => 0.5 * interval.getLength() * (interval.start + interval.end));
  508. > 552 | const denominator = _.sumBy(intervals, interval => interval.getLength());
  509. | ^^^^^^^^^
  510. 553 | return numerator / denominator;
  511. 554 | }
  512. 555 |
  513.  
  514. ERROR in src/model/alignment/MultiAlignmentViewCalculator.ts:707:71
  515. TS2339: Property 'getLength' does not exist on type 'unknown'.
  516. 705 |
  517. 706 | function computeCentroid(intervals: OpenInterval[]) {
  518. > 707 | const numerator = _.sumBy(intervals, (interval) => 0.5 * interval.getLength() * (interval.start + interval.end));
  519. | ^^^^^^^^^
  520. 708 | const denominator = _.sumBy(intervals, (interval) => interval.getLength());
  521. 709 | return numerator / denominator;
  522. 710 | }
  523.  
  524. ERROR in src/model/alignment/MultiAlignmentViewCalculator.ts:707:95
  525. TS2339: Property 'start' does not exist on type 'unknown'.
  526. 705 |
  527. 706 | function computeCentroid(intervals: OpenInterval[]) {
  528. > 707 | const numerator = _.sumBy(intervals, (interval) => 0.5 * interval.getLength() * (interval.start + interval.end));
  529. | ^^^^^
  530. 708 | const denominator = _.sumBy(intervals, (interval) => interval.getLength());
  531. 709 | return numerator / denominator;
  532. 710 | }
  533.  
  534. ERROR in src/model/alignment/MultiAlignmentViewCalculator.ts:707:112
  535. TS2339: Property 'end' does not exist on type 'unknown'.
  536. 705 |
  537. 706 | function computeCentroid(intervals: OpenInterval[]) {
  538. > 707 | const numerator = _.sumBy(intervals, (interval) => 0.5 * interval.getLength() * (interval.start + interval.end));
  539. | ^^^
  540. 708 | const denominator = _.sumBy(intervals, (interval) => interval.getLength());
  541. 709 | return numerator / denominator;
  542. 710 | }
  543.  
  544. ERROR in src/model/alignment/MultiAlignmentViewCalculator.ts:708:67
  545. TS2339: Property 'getLength' does not exist on type 'unknown'.
  546. 706 | function computeCentroid(intervals: OpenInterval[]) {
  547. 707 | const numerator = _.sumBy(intervals, (interval) => 0.5 * interval.getLength() * (interval.start + interval.end));
  548. > 708 | const denominator = _.sumBy(intervals, (interval) => interval.getLength());
  549. | ^^^^^^^^^
  550. 709 | return numerator / denominator;
  551. 710 | }
  552. 711 |
  553.  
  554. ERROR in src/model/alignment/test/NavContextBuilder.test.ts:22:1
  555. 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`.
  556. 20 | ];
  557. 21 |
  558. > 22 | test('build() works correctly', () => {
  559. | ^^^^
  560. 23 | const instance = new NavContextBuilder(BASE_NAV_CONTEXT);
  561. 24 | instance.setGaps(GAPS);
  562. 25 | const newNavContext = instance.build();
  563.  
  564. ERROR in src/model/alignment/test/NavContextBuilder.test.ts:26:5
  565. TS2304: Cannot find name 'expect'.
  566. 24 | instance.setGaps(GAPS);
  567. 25 | const newNavContext = instance.build();
  568. > 26 | expect(newNavContext.getTotalBases()).toBe(BASE_NAV_CONTEXT.getTotalBases() + 15);
  569. | ^^^^^^
  570. 27 | expect(newNavContext.getFeatures().map(feature => feature.getLength())).toEqual([
  571. 28 | 10, 5, 10, 2, 5, 4, 5, 4
  572. 29 | // chr1, GAP, chr2, chr3:0-2, GAP, chr3:2-6, GAP, chr3:6-10
  573.  
  574. ERROR in src/model/alignment/test/NavContextBuilder.test.ts:27:5
  575. TS2304: Cannot find name 'expect'.
  576. 25 | const newNavContext = instance.build();
  577. 26 | expect(newNavContext.getTotalBases()).toBe(BASE_NAV_CONTEXT.getTotalBases() + 15);
  578. > 27 | expect(newNavContext.getFeatures().map(feature => feature.getLength())).toEqual([
  579. | ^^^^^^
  580. 28 | 10, 5, 10, 2, 5, 4, 5, 4
  581. 29 | // chr1, GAP, chr2, chr3:0-2, GAP, chr3:2-6, GAP, chr3:6-10
  582. 30 | ]);
  583.  
  584. ERROR in src/model/alignment/test/NavContextBuilder.test.ts:33:1
  585. 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`.
  586. 31 | });
  587. 32 |
  588. > 33 | test('convertOldContextBase() works correctly', () => {
  589. | ^^^^
  590. 34 | const instance = new NavContextBuilder(BASE_NAV_CONTEXT);
  591. 35 | instance.setGaps(GAPS);
  592. 36 | instance.build();
  593.  
  594. ERROR in src/model/alignment/test/NavContextBuilder.test.ts:37:5
  595. TS2304: Cannot find name 'expect'.
  596. 35 | instance.setGaps(GAPS);
  597. 36 | instance.build();
  598. > 37 | expect(instance.convertOldCoordinates(5)).toBe(5);
  599. | ^^^^^^
  600. 38 | expect(instance.convertOldCoordinates(10)).toBe(10);
  601. 39 | expect(instance.convertOldCoordinates(11)).toBe(16);
  602. 40 | expect(instance.convertOldCoordinates(25)).toBe(35);
  603.  
  604. ERROR in src/model/alignment/test/NavContextBuilder.test.ts:38:5
  605. TS2304: Cannot find name 'expect'.
  606. 36 | instance.build();
  607. 37 | expect(instance.convertOldCoordinates(5)).toBe(5);
  608. > 38 | expect(instance.convertOldCoordinates(10)).toBe(10);
  609. | ^^^^^^
  610. 39 | expect(instance.convertOldCoordinates(11)).toBe(16);
  611. 40 | expect(instance.convertOldCoordinates(25)).toBe(35);
  612. 41 | expect(instance.convertOldCoordinates(30)).toBe(45);
  613.  
  614. ERROR in src/model/alignment/test/NavContextBuilder.test.ts:39:5
  615. TS2304: Cannot find name 'expect'.
  616. 37 | expect(instance.convertOldCoordinates(5)).toBe(5);
  617. 38 | expect(instance.convertOldCoordinates(10)).toBe(10);
  618. > 39 | expect(instance.convertOldCoordinates(11)).toBe(16);
  619. | ^^^^^^
  620. 40 | expect(instance.convertOldCoordinates(25)).toBe(35);
  621. 41 | expect(instance.convertOldCoordinates(30)).toBe(45);
  622. 42 | });
  623.  
  624. ERROR in src/model/alignment/test/NavContextBuilder.test.ts:40:5
  625. TS2304: Cannot find name 'expect'.
  626. 38 | expect(instance.convertOldCoordinates(10)).toBe(10);
  627. 39 | expect(instance.convertOldCoordinates(11)).toBe(16);
  628. > 40 | expect(instance.convertOldCoordinates(25)).toBe(35);
  629. | ^^^^^^
  630. 41 | expect(instance.convertOldCoordinates(30)).toBe(45);
  631. 42 | });
  632. 43 |
  633.  
  634. ERROR in src/model/alignment/test/NavContextBuilder.test.ts:41:5
  635. TS2304: Cannot find name 'expect'.
  636. 39 | expect(instance.convertOldCoordinates(11)).toBe(16);
  637. 40 | expect(instance.convertOldCoordinates(25)).toBe(35);
  638. > 41 | expect(instance.convertOldCoordinates(30)).toBe(45);
  639. | ^^^^^^
  640. 42 | });
  641. 43 |
  642.  
  643. ERROR in src/model/FeatureArranger.ts:83:41
  644. TS2339: Property 'feature' does not exist on type 'unknown'.
  645. 81 | const lastPlacement = _.last(placementsInGroup);
  646. 82 | groups.push({
  647. > 83 | feature: firstPlacement.feature,
  648. | ^^^^^^^
  649. 84 | row: -1,
  650. 85 | xSpan: new OpenInterval(firstPlacement.xSpan.start, lastPlacement.xSpan.end),
  651. 86 | placedFeatures: placementsInGroup,
  652.  
  653. ERROR in src/model/FeatureArranger.ts:85:56
  654. TS2339: Property 'xSpan' does not exist on type 'unknown'.
  655. 83 | feature: firstPlacement.feature,
  656. 84 | row: -1,
  657. > 85 | xSpan: new OpenInterval(firstPlacement.xSpan.start, lastPlacement.xSpan.end),
  658. | ^^^^^
  659. 86 | placedFeatures: placementsInGroup,
  660. 87 | });
  661. 88 | i = j;
  662.  
  663. ERROR in src/model/FeatureArranger.ts:85:83
  664. TS2339: Property 'xSpan' does not exist on type 'unknown'.
  665. 83 | feature: firstPlacement.feature,
  666. 84 | row: -1,
  667. > 85 | xSpan: new OpenInterval(firstPlacement.xSpan.start, lastPlacement.xSpan.end),
  668. | ^^^^^
  669. 86 | placedFeatures: placementsInGroup,
  670. 87 | });
  671. 88 | i = j;
  672.  
  673. ERROR in src/model/Gene.ts:91:102
  674. TS2345: Argument of type 'unknown' is not assignable to parameter of type 'number'.
  675. 89 | .split(",")
  676. 90 | .map((n) => Number.parseInt(n, 10));
  677. > 91 | const exons = _.zip(parsedExonStarts, parsedExonEnds).map(([start, end]) => new OpenInterval(start, end));
  678. | ^^^^^
  679. 92 |
  680. 93 | for (const exon of exons) {
  681. 94 | // Get UTRs and translated exons from the raw record
  682.  
  683. ERROR in src/model/interval/ChromosomeInterval.ts:68:57
  684. TS7006: Parameter 'obj' implicitly has an 'any' type.
  685. 66 | iteratee: (object: T) => ChromosomeInterval
  686. 67 | ): Array<MergedLocus<T>> {
  687. > 68 | const groupedByChromosome = _.groupBy(objects, (obj) => iteratee(obj).chr);
  688. | ^^^
  689. 69 | const merged = [];
  690. 70 | for (const chrName in groupedByChromosome) {
  691. 71 | const objectsForChromosome = groupedByChromosome[chrName];
  692.  
  693. ERROR in src/model/interval/ChromosomeInterval.ts:72:40
  694. TS7006: Parameter 'a' implicitly has an 'any' type.
  695. 70 | for (const chrName in groupedByChromosome) {
  696. 71 | const objectsForChromosome = groupedByChromosome[chrName];
  697. > 72 | objectsForChromosome.sort((a, b) => iteratee(a).start - iteratee(b).start);
  698. | ^
  699. 73 | const loci = objectsForChromosome.map(iteratee);
  700. 74 |
  701. 75 | // Merge loci for this chromosome
  702.  
  703. ERROR in src/model/interval/ChromosomeInterval.ts:72:43
  704. TS7006: Parameter 'b' implicitly has an 'any' type.
  705. 70 | for (const chrName in groupedByChromosome) {
  706. 71 | const objectsForChromosome = groupedByChromosome[chrName];
  707. > 72 | objectsForChromosome.sort((a, b) => iteratee(a).start - iteratee(b).start);
  708. | ^
  709. 73 | const loci = objectsForChromosome.map(iteratee);
  710. 74 |
  711. 75 | // Merge loci for this chromosome
  712.  
  713. ERROR in src/model/MethylCRecord.ts:78:34
  714. TS7006: Parameter 'record' implicitly has an 'any' type.
  715. 76 | static aggregateByStrand(records: MethylCRecord[]): AggregationByStrandResult {
  716. 77 | const [forwardStrandRecords, reverseStrandRecords] =
  717. > 78 | _.partition(records, record => record.getIsForwardStrand());
  718. | ^^^^^^
  719. 79 | return {
  720. 80 | combined: MethylCRecord.aggregateRecords(records),
  721. 81 | forward: MethylCRecord.aggregateRecords(forwardStrandRecords),
  722.  
  723. ERROR in src/model/MethylCRecord.ts:81:53
  724. TS2345: Argument of type 'unknown[]' is not assignable to parameter of type 'MethylCRecord[]'.
  725. Type '{}' is missing the following properties from type 'MethylCRecord': context, value, depth, name, and 11 more.
  726. 79 | return {
  727. 80 | combined: MethylCRecord.aggregateRecords(records),
  728. > 81 | forward: MethylCRecord.aggregateRecords(forwardStrandRecords),
  729. | ^^^^^^^^^^^^^^^^^^^^
  730. 82 | reverse: MethylCRecord.aggregateRecords(reverseStrandRecords)
  731. 83 | };
  732. 84 | /*
  733.  
  734. ERROR in src/model/NavigationContext.ts:61:53
  735. TS7006: Parameter 'feature' implicitly has an 'any' type.
  736. 59 | this._minCoordinateForFeature = new Map();
  737. 60 | this._sortedFeatureStarts = [];
  738. > 61 | this._featuresForChr = _.groupBy(features, (feature) => feature.getLocus().chr);
  739. | ^^^^^^^
  740. 62 | this._totalBases = 0;
  741. 63 |
  742. 64 | for (const feature of features) {
  743.  
  744. ERROR in src/model/NavigationContext.ts:223:78
  745. TS2339: Property 'getLength' does not exist on type 'unknown'.
  746. 221 | const featureIndex = this._features.findIndex((feature) => feature === featureCoordinate.feature);
  747. 222 | const gapFeaturesBefore = this._features.slice(0, featureIndex).filter(NavigationContext.isGapFeature);
  748. > 223 | let gapBasesBefore = _.sumBy(gapFeaturesBefore, (feature) => feature.getLength());
  749. | ^^^^^^^^^
  750. 224 | if (NavigationContext.isGapFeature(featureCoordinate.feature)) {
  751. 225 | gapBasesBefore += featureCoordinate.relativeStart;
  752. 226 | }
  753.  
  754.  
  755.  
Advertisement
Add Comment
Please, Sign In to add comment