Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.98 KB | None | 0 0
  1. ERROR in ./src/components/ClassroomMembers/index.js
  2. Module build failed: Error: /client/src/components/ClassroomMembers/index.js: We don't know what to do with this node type. We were previously a Statement but we can't fit in here?
  3. at NodePath.insertAfter (/client/node_modules/babel-traverse/lib/path/modification.js:175:13)
  4. at NodePath.replaceWithMultiple (/client/node_modules/babel-traverse/lib/path/replacement.js:82:8)
  5. at PluginPass.Class (/client/node_modules/babel-plugin-transform-react-pure-class-to-function/lib/index.js:96:14)
  6. at newFn (/client/node_modules/babel-traverse/lib/visitors.js:276:21)
  7. at NodePath._call (/client/node_modules/babel-traverse/lib/path/context.js:76:18)
  8. at NodePath.call (/client/node_modules/babel-traverse/lib/path/context.js:48:17)
  9. at NodePath.visit (/client/node_modules/babel-traverse/lib/path/context.js:105:12)
  10. at TraversalContext.visitQueue (/client/node_modules/babel-traverse/lib/context.js:150:16)
  11. at TraversalContext.visitSingle (/client/node_modules/babel-traverse/lib/context.js:108:19)
  12. at TraversalContext.visit (/client/node_modules/babel-traverse/lib/context.js:192:19)
  13. at Function.traverse.node (/client/node_modules/babel-traverse/lib/index.js:114:17)
  14. @ ./src/layouts/ClassEditor/components/ClassesList.js 11:24-62
  15.  
  16. ERROR in ./src/components/PresentationList/Item/components/Title/index.js
  17. Module build failed: Duplicate declaration "props"
  18.  
  19. 38 | showSchedule, showStatus, showMenuBtn,
  20. 39 | ScheduleComponent, StatusComponent, MenuBtnComponent,
  21. > 40 | ...props
  22. | ^
  23. 41 | } = this.props;
  24. 42 |
  25. 43 | const { presentation } = props;
  26.  
  27. BabelLoaderError: Duplicate declaration "props"
  28.  
  29. 38 | showSchedule, showStatus, showMenuBtn,
  30. 39 | ScheduleComponent, StatusComponent, MenuBtnComponent,
  31. > 40 | ...props
  32. | ^
  33. 41 | } = this.props;
  34. 42 |
  35. 43 | const { presentation } = props;
  36.  
  37. at transpile (/client/node_modules/babel-loader/lib/index.js:61:13)
  38. at Object.module.exports (/client/node_modules/babel-loader/lib/index.js:134:16)
  39. @ ./src/layouts/ClassEditor/components/ContentList.js 55:13-73
  40.  
  41. ERROR in ./src/components/PresentationList/ListWithHeader.js
  42. Module build failed: Duplicate declaration "props"
  43.  
  44. 29 | showPlaceholderWhenEmpty, showHeaderWhenEmpty,
  45. 30 | className, title,
  46. > 31 | ...props
  47. | ^
  48. 32 | } = this.props;
  49. 33 |
  50. 34 | const isEmpty = props.items.length === 0;
  51.  
  52. BabelLoaderError: Duplicate declaration "props"
  53.  
  54. 29 | showPlaceholderWhenEmpty, showHeaderWhenEmpty,
  55. 30 | className, title,
  56. > 31 | ...props
  57. | ^
  58. 32 | } = this.props;
  59. 33 |
  60. 34 | const isEmpty = props.items.length === 0;
  61.  
  62. at transpile (/client/node_modules/babel-loader/lib/index.js:61:13)
  63. at Object.module.exports (/client/node_modules/babel-loader/lib/index.js:134:16)
  64. @ ./src/components/PresentationList/index.js 17:22-49
  65.  
  66. ERROR in ./src/layouts/PlayerScreen/pages/QuizResult/controls/Retry.js
  67. Module build failed: Duplicate declaration "props"
  68.  
  69. 16 |
  70. 17 | render() {
  71. > 18 | const { presentation, ...props } = this.props;
  72. | ^
  73. 19 | return (
  74. 20 | <Link className="quiz-result__btn" {...props} {...toPlayer({ presentation })}>
  75. 21 | {this.props.children}
  76.  
  77. BabelLoaderError: Duplicate declaration "props"
  78.  
  79. 16 |
  80. 17 | render() {
  81. > 18 | const { presentation, ...props } = this.props;
  82. | ^
  83. 19 | return (
  84. 20 | <Link className="quiz-result__btn" {...props} {...toPlayer({ presentation })}>
  85. 21 | {this.props.children}
  86.  
  87. at transpile (/client/node_modules/babel-loader/lib/index.js:61:13)
  88. at Object.module.exports (/client/node_modules/babel-loader/lib/index.js:134:16)
  89. @ ./src/layouts/PlayerScreen/pages/QuizResult/content.js 32:13-40
  90. Child extract-text-webpack-plugin:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement