Advertisement
Guest User

Untitled

a guest
Feb 15th, 2019
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. npm run build
  2.  
  3. > react-kanban@0.1.0 build C:\Users\ivanj\Desktop\here\react-kanban
  4. > webpack --watch --mode development
  5.  
  6. clean-webpack-plugin: C:\Users\ivanj\Desktop\here\react-kanban\dist has been removed.
  7.  
  8. Webpack is watching the files…
  9.  
  10. Hash: e86ad4294830c6f52fe06c7b5ea6193d169c878d
  11. Version: webpack 4.8.3
  12. Child client:
  13.     Hash: e86ad4294830c6f52fe0
  14.     Time: 850ms
  15.     Built at: 2019-02-15 19:56:50
  16.                                     Asset       Size  Chunks             Chunk Names
  17.     favicons/apple-touch-icon-152x152.png   11.5 KiB          [emitted]
  18.                          bundle.e86ad4.js   3.87 KiB    main  [emitted]  main
  19.                favicons/favicon-16x16.png  483 bytes          [emitted]
  20.                favicons/favicon-32x32.png  923 bytes          [emitted]
  21.     favicons/apple-touch-icon-144x144.png   9.47 KiB          [emitted]
  22.                      favicons/favicon.ico    5.3 KiB          [emitted]
  23.               favicons/mstile-144x144.png   9.47 KiB          [emitted]
  24.               favicons/og-kanban-logo.png   56.1 KiB          [emitted]
  25.                       bundle.e86ad4.js.gz   1.35 KiB          [emitted]
  26.                   favicons/favicon.ico.gz   1.85 KiB          [emitted]
  27.                             manifest.json  689 bytes          [emitted]
  28.     Entrypoint main = bundle.e86ad4.js
  29.     [./src/client.jsx] 2.91 KiB {main} [built] [failed] [1 error]
  30.  
  31.     ERROR in ./src/client.jsx
  32.     Module build failed: Error: [BABEL] C:\Users\ivanj\Desktop\here\react-kanban\src\client.jsx:
  33.     As of v7.0.0-beta.55, we've removed Babel's Stage presets.
  34.     Please consider reading our blog post on this decision at
  35.     https://babeljs.io/blog/2018/07/27/removing-babels-stage-presets
  36.     for more details. TL;DR is that it's more beneficial in the
  37.      long run to explicitly add which proposals to use.
  38.    
  39.    For a more automatic migration, we have updated babel-upgrade,
  40.    https://github.com/babel/babel-upgrade to do this for you with
  41.    "npx babel-upgrade".
  42.    
  43.    If you want the same configuration as before:
  44.    
  45.    {
  46.      "plugins": [
  47.        // Stage 2
  48.        ["@babel/plugin-proposal-decorators", { "legacy": true }],
  49.        "@babel/plugin-proposal-function-sent",
  50.        "@babel/plugin-proposal-export-namespace-from",
  51.        "@babel/plugin-proposal-numeric-separator",
  52.        "@babel/plugin-proposal-throw-expressions",
  53.    
  54.        // Stage 3
  55.        "@babel/plugin-syntax-dynamic-import",
  56.        "@babel/plugin-syntax-import-meta",
  57.        ["@babel/plugin-proposal-class-properties", { "loose": false }],
  58.        "@babel/plugin-proposal-json-strings"
  59.      ]
  60.    }
  61.    
  62.    If you're using the same configuration across many separate projects,
  63.     keep in mind that you can also create your own custom presets with
  64.     whichever plugins and presets you're looking to use.
  65.    
  66.    module.exports = function() {
  67.      return {
  68.        plugins: [
  69.          require("@babel/plugin-syntax-dynamic-import"),
  70.          [require("@babel/plugin-proposal-decorators"), { "legacy": true }],
  71.          [require("@babel/plugin-proposal-class-properties"), { "loose": false }],
  72.        ],
  73.        presets: [
  74.          // ...
  75.        ],
  76.      };
  77.    };
  78.     (While processing: "C:\\Users\\ivanj\\Desktop\\here\\react-kanban\\node_modules\\@babel\\preset-stage-2\\lib\\index.js")
  79.        at _default (C:\Users\ivanj\Desktop\here\react-kanban\node_modules\@babel\preset-stage-2\lib\index.js:9:9)
  80.        at loadDescriptor (C:\Users\ivanj\Desktop\here\react-kanban\node_modules\@babel\core\lib\config\full.js:165:14)
  81.        at cachedFunction (C:\Users\ivanj\Desktop\here\react-kanban\node_modules\@babel\core\lib\config\caching.js:33:19)
  82.        at loadPresetDescriptor (C:\Users\ivanj\Desktop\here\react-kanban\node_modules\@babel\core\lib\config\full.js:235:63)
  83.        at config.presets.reduce (C:\Users\ivanj\Desktop\here\react-kanban\node_modules\@babel\core\lib\config\full.js:77:21)
  84.        at Array.reduce (<anonymous>)
  85.        at recurseDescriptors (C:\Users\ivanj\Desktop\here\react-kanban\node_modules\@babel\core\lib\config\full.js:74:38)
  86.        at loadFullConfig (C:\Users\ivanj\Desktop\here\react-kanban\node_modules\@babel\core\lib\config\full.js:108:6)
  87.        at process.nextTick (C:\Users\ivanj\Desktop\here\react-kanban\node_modules\@babel\core\lib\transform.js:28:33)
  88.        at process._tickCallback (internal/process/next_tick.js:61:11)
  89. Child server:
  90.    Hash: 6c7b5ea6193d169c878d
  91.    Time: 705ms
  92.    Built at: 2019-02-15 19:56:50
  93.        Asset      Size  Chunks             Chunk Names
  94.    server.js  6.14 KiB    main  [emitted]  main
  95.    Entrypoint main = server.js
  96.    [./src/server/server.js] 2.92 KiB {main} [built] [failed] [1 error]
  97.  
  98.    ERROR in ./src/server/server.js
  99.    Module build failed: Error: [BABEL] C:\Users\ivanj\Desktop\here\react-kanban\src\server\server.js:
  100.    As of v7.0.0-beta.55, we've removed Babel's Stage presets.
  101.    Please consider reading our blog post on this decision at
  102.    https://babeljs.io/blog/2018/07/27/removing-babels-stage-presets
  103.    for more details. TL;DR is that it's more beneficial in the
  104.       long run to explicitly add which proposals to use.
  105.    
  106.     For a more automatic migration, we have updated babel-upgrade,
  107.     https://github.com/babel/babel-upgrade to do this for you with
  108.     "npx babel-upgrade".
  109.    
  110.     If you want the same configuration as before:
  111.    
  112.     {
  113.       "plugins": [
  114.         // Stage 2
  115.         ["@babel/plugin-proposal-decorators", { "legacy": true }],
  116.         "@babel/plugin-proposal-function-sent",
  117.         "@babel/plugin-proposal-export-namespace-from",
  118.         "@babel/plugin-proposal-numeric-separator",
  119.         "@babel/plugin-proposal-throw-expressions",
  120.    
  121.         // Stage 3
  122.         "@babel/plugin-syntax-dynamic-import",
  123.         "@babel/plugin-syntax-import-meta",
  124.         ["@babel/plugin-proposal-class-properties", { "loose": false }],
  125.         "@babel/plugin-proposal-json-strings"
  126.       ]
  127.     }
  128.    
  129.     If you're using the same configuration across many separate projects,
  130.    keep in mind that you can also create your own custom presets with
  131.    whichever plugins and presets you're looking to use.
  132.    
  133.     module.exports = function() {
  134.       return {
  135.         plugins: [
  136.           require("@babel/plugin-syntax-dynamic-import"),
  137.           [require("@babel/plugin-proposal-decorators"), { "legacy": true }],
  138.           [require("@babel/plugin-proposal-class-properties"), { "loose": false }],
  139.         ],
  140.         presets: [
  141.           // ...
  142.         ],
  143.       };
  144.     };
  145.      (While processing: "C:\\Users\\ivanj\\Desktop\\here\\react-kanban\\node_modules\\@babel\\preset-stage-2\\lib\\index.js")
  146.         at _default (C:\Users\ivanj\Desktop\here\react-kanban\node_modules\@babel\preset-stage-2\lib\index.js:9:9)
  147.         at loadDescriptor (C:\Users\ivanj\Desktop\here\react-kanban\node_modules\@babel\core\lib\config\full.js:165:14)
  148.         at cachedFunction (C:\Users\ivanj\Desktop\here\react-kanban\node_modules\@babel\core\lib\config\caching.js:33:19)
  149.         at loadPresetDescriptor (C:\Users\ivanj\Desktop\here\react-kanban\node_modules\@babel\core\lib\config\full.js:235:63)
  150.         at config.presets.reduce (C:\Users\ivanj\Desktop\here\react-kanban\node_modules\@babel\core\lib\config\full.js:77:21)
  151.         at Array.reduce (<anonymous>)
  152.         at recurseDescriptors (C:\Users\ivanj\Desktop\here\react-kanban\node_modules\@babel\core\lib\config\full.js:74:38)
  153.         at loadFullConfig (C:\Users\ivanj\Desktop\here\react-kanban\node_modules\@babel\core\lib\config\full.js:108:6)
  154.         at process.nextTick (C:\Users\ivanj\Desktop\here\react-kanban\node_modules\@babel\core\lib\transform.js:28:33)
  155.         at process._tickCallback (internal/process/next_tick.js:61:11)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement