Advertisement
YarikHrom

Untitled

Jul 8th, 2022
887
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.81 KB | None | 0 0
  1. rails_1      | [Webpacker] Compiling...
  2. rails_1      | [Webpacker] Compilation failed:
  3. rails_1      | Hash: 23e17cf7f3ed0b50551d
  4. rails_1      | Version: webpack 4.46.0
  5. rails_1      | Time: 1212ms
  6. rails_1      | Built at: 07/08/2022 9:16:08 AM
  7. rails_1      |                                      Asset       Size       Chunks                         Chunk Names
  8. rails_1      |     js/application-fabaa301804038d170a3.js   7.83 KiB  application  [emitted] [immutable]  application
  9. rails_1      | js/application-fabaa301804038d170a3.js.map   3.53 KiB  application  [emitted] [dev]        application
  10. rails_1      |                              manifest.json  364 bytes               [emitted]              
  11. rails_1      | Entrypoint application = js/application-fabaa301804038d170a3.js js/application-fabaa301804038d170a3.js.map
  12. rails_1      | [./app/javascript/packs/application.js] 3.94 KiB {application} [built] [failed] [1 error]
  13. rails_1      |
  14. rails_1      | ERROR in ./app/javascript/packs/application.js
  15. rails_1      | Module build failed (from ./node_modules/babel-loader/lib/index.js):
  16. rails_1      | SyntaxError: /app/app/javascript/packs/application.js: Support for the experimental syntax 'jsx' isn't currently enabled (33:5):
  17. rails_1      |
  18. rails_1      |   31 | document.addEventListener("DOMContentLoaded", () => {
  19. rails_1      |   32 |   render(
  20. rails_1      | > 33 |     <BrowserRouter>
  21. rails_1      |      |     ^
  22. rails_1      |   34 |       <Provider store={store}>
  23. rails_1      |   35 |         <App />
  24. rails_1      |   36 |       </Provider>
  25. rails_1      |
  26. rails_1      | Add @babel/preset-react (https://git.io/JfeDR) to the 'presets' section of your Babel config to enable transformation.
  27. rails_1      | If you want to leave it as-is, add @babel/plugin-syntax-jsx (https://git.io/vb4yA) to the 'plugins' section to enable parsing.
  28. rails_1      |     at Parser._raise (/app/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js:476:17)
  29. rails_1      |     at Parser.raiseWithData (/app/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js:469:17)
  30. rails_1      |     at Parser.expectOnePlugin (/app/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js:3820:18)
  31. rails_1      |     at Parser.parseExprAtom (/app/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js:12577:18)
  32. rails_1      |     at Parser.parseExprSubscripts (/app/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js:12149:23)
  33. rails_1      |     at Parser.parseUpdate (/app/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js:12129:21)
  34. rails_1      |     at Parser.parseMaybeUnary (/app/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js:12104:23)
  35. rails_1      |     at Parser.parseMaybeUnaryOrPrivate (/app/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js:11901:61)
  36. rails_1      |     at Parser.parseExprOps (/app/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js:11908:23)
  37. rails_1      |     at Parser.parseMaybeConditional (/app/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js:11878:23)
  38. rails_1      |     at Parser.parseMaybeAssign (/app/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js:11833:21)
  39. rails_1      |     at /app/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js:11791:39
  40. rails_1      |     at Parser.allowInAnd (/app/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js:13823:12)
  41. rails_1      |     at Parser.parseMaybeAssignAllowIn (/app/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js:11791:17)
  42. rails_1      |     at Parser.parseExprListItem (/app/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js:13536:18)
  43. rails_1      |     at Parser.parseCallExpressionArguments (/app/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js:12374:22)
  44. rails_1      |     at Parser.parseCoverCallAndAsyncArrowHead (/app/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js:12272:29)
  45. rails_1      |     at Parser.parseSubscript (/app/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js:12197:19)
  46. rails_1      |     at Parser.parseSubscripts (/app/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js:12166:19)
  47. rails_1      |     at Parser.parseExprSubscripts (/app/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js:12155:17)
  48. rails_1      |     at Parser.parseUpdate (/app/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js:12129:21)
  49. rails_1      |     at Parser.parseMaybeUnary (/app/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js:12104:23)
  50. rails_1      |     at Parser.parseMaybeUnaryOrPrivate (/app/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js:11901:61)
  51. rails_1      |     at Parser.parseExprOps (/app/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js:11908:23)
  52. rails_1      |     at Parser.parseMaybeConditional (/app/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js:11878:23)
  53. rails_1      |     at Parser.parseMaybeAssign (/app/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js:11833:21)
  54. rails_1      |     at Parser.parseExpressionBase (/app/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js:11769:23)
  55. rails_1      |     at /app/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js:11763:39
  56. rails_1      |     at Parser.allowInAnd (/app/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js:13817:16)
  57. rails_1      |     at Parser.parseExpression (/app/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js:11763:17)
  58. rails_1      |
  59. rails_1      |   Rendered layout layouts/application.html.erb (Duration: 4503.8ms | Allocations: 13284)
  60. rails_1      | Completed 200 OK in 4514ms (Views: 4504.9ms | ActiveRecord: 0.7ms | Allocations: 15435)
  61. rails_1      |
  62. rails_1      |
  63.  
  64.  
  65.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement