Advertisement
Guest User

Untitled

a guest
Apr 2nd, 2018
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.31 KB | None | 0 0
  1. Updating Cache...
  2. Downloading https://unpkg.com/react/dist/react.js
  3. Downloading https://unpkg.com/vue/dist/vue.js
  4. Downloading https://unpkg.com/lodash/lodash.js
  5. Downloading https://unpkg.com/three/build/three.js
  6. Download Complete https://unpkg.com/vue/dist/vue.js
  7. Download Complete https://unpkg.com/react/dist/react.js
  8. Download Complete https://unpkg.com/three/build/three.js
  9. Download Complete https://unpkg.com/lodash/lodash.js
  10. Running Benchmarks...
  11. Benchmark - /home/james/minify/scripts/benchmark_cache/react.js
  12. Running babel-minify
  13. { SyntaxError: unknown: Unexpected token, expected ";" (1:7)
  14.  
  15. > 1 | Cannot find module "/dist/react.js" in package react@16.3.0
  16. | ^
  17. at Parser.raise (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:772:15)
  18. at Parser.unexpected (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:2047:16)
  19. at Parser.semicolon (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:2031:40)
  20. at Parser.parseExpressionStatement (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:4395:10)
  21. at Parser.parseStatementContent (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:4010:19)
  22. at Parser.parseStatement (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:3899:17)
  23. at Parser.parseBlockOrModuleBlockBody (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:4426:23)
  24. at Parser.parseBlockBody (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:4413:10)
  25. at Parser.parseTopLevel (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:3875:10)
  26. at Parser.parse (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:5201:17)
  27. at parse (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:9881:38)
  28. at parser (/home/james/minify/node_modules/@babel/core/lib/transformation/normalize-file.js:106:33)
  29. at normalizeFile (/home/james/minify/node_modules/@babel/core/lib/transformation/normalize-file.js:53:11)
  30. at runSync (/home/james/minify/node_modules/@babel/core/lib/transformation/index.js:34:41)
  31. at transformSync (/home/james/minify/node_modules/@babel/core/lib/transform-sync.js:15:38)
  32. at Object.transform (/home/james/minify/node_modules/@babel/core/lib/transform.js:20:65)
  33. at babel-minify (/home/james/minify/scripts/benchmark.js:104:18)
  34. at Benchmark.test (/home/james/minify/scripts/benchmark.js:89:23)
  35. at Benchmark.runFile (/home/james/minify/scripts/benchmark.js:58:14)
  36. at files.forEach.file (/home/james/minify/scripts/benchmark.js:38:27)
  37. at Array.forEach (native)
  38. at Benchmark.runAndPrint (/home/james/minify/scripts/benchmark.js:37:16)
  39. at prepare.then.files (/home/james/minify/scripts/benchmark.js:337:19)
  40. pos: 7,
  41. loc: Position { line: 1, column: 7 },
  42. code: 'BABEL_PARSE_ERROR' }
  43. james@retrocraft:~/minify$ ./scripts/benchmark.js
  44. Updating Cache...
  45. Running Benchmarks...
  46. Benchmark - /home/james/minify/scripts/benchmark_cache/react.js
  47. Running babel-minify
  48. { SyntaxError: unknown: Unexpected token, expected ";" (1:7)
  49.  
  50. > 1 | Cannot find module "/dist/react.js" in package react@16.3.0
  51. | ^
  52. at Parser.raise (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:772:15)
  53. at Parser.unexpected (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:2047:16)
  54. at Parser.semicolon (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:2031:40)
  55. at Parser.parseExpressionStatement (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:4395:10)
  56. at Parser.parseStatementContent (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:4010:19)
  57. at Parser.parseStatement (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:3899:17)
  58. at Parser.parseBlockOrModuleBlockBody (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:4426:23)
  59. at Parser.parseBlockBody (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:4413:10)
  60. at Parser.parseTopLevel (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:3875:10)
  61. at Parser.parse (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:5201:17)
  62. at parse (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:9881:38)
  63. at parser (/home/james/minify/node_modules/@babel/core/lib/transformation/normalize-file.js:106:33)
  64. at normalizeFile (/home/james/minify/node_modules/@babel/core/lib/transformation/normalize-file.js:53:11)
  65. at runSync (/home/james/minify/node_modules/@babel/core/lib/transformation/index.js:34:41)
  66. at transformSync (/home/james/minify/node_modules/@babel/core/lib/transform-sync.js:15:38)
  67. at Object.transform (/home/james/minify/node_modules/@babel/core/lib/transform.js:20:65)
  68. at babel-minify (/home/james/minify/scripts/benchmark.js:104:18)
  69. at Benchmark.test (/home/james/minify/scripts/benchmark.js:89:23)
  70. at Benchmark.runFile (/home/james/minify/scripts/benchmark.js:58:14)
  71. at files.forEach.file (/home/james/minify/scripts/benchmark.js:38:27)
  72. at Array.forEach (native)
  73. at Benchmark.runAndPrint (/home/james/minify/scripts/benchmark.js:37:16)
  74. at prepare.then.files (/home/james/minify/scripts/benchmark.js:337:19)
  75. at process._tickCallback (internal/process/next_tick.js:109:7)
  76. at Module.runMain (module.js:613:11)
  77. at run (bootstrap_node.js:387:7)
  78. at startup (bootstrap_node.js:153:9)
  79. at bootstrap_node.js:500:3
  80. pos: 7,
  81. loc: Position { line: 1, column: 7 },
  82. code: 'BABEL_PARSE_ERROR' }
  83. james@retrocraft:~/minify$ npm run benchmark react@16.3.0 react/dist/react.js
  84. npm ERR! Linux 4.4.0-116-generic
  85. npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "benchmark" "react@16.3.0" "react/dist/react.js"
  86. npm ERR! node v6.14.1
  87. npm ERR! npm v3.10.10
  88.  
  89. npm ERR! missing script: benchmark
  90. npm ERR!
  91. npm ERR! If you need help, you may report this error at:
  92. npm ERR! <https://github.com/npm/npm/issues>
  93.  
  94. npm ERR! Please include the following file with any support request:
  95. npm ERR! /home/james/minify/npm-debug.log
  96. james@retrocraft:~/minify$ ./scripts/benchmark.js react@16.3.0 react/dist/react.js
  97. Running Benchmarks...
  98. Benchmark - react@16.3.0
  99. { Error: ENOENT: no such file or directory, open 'react@16.3.0'
  100. at Error (native)
  101. at Object.fs.openSync (fs.js:642:18)
  102. at Object.fs.readFileSync (fs.js:510:33)
  103. at Benchmark.getFile (/home/james/minify/scripts/benchmark.js:142:15)
  104. at Benchmark.runFile (/home/james/minify/scripts/benchmark.js:50:23)
  105. at files.forEach.file (/home/james/minify/scripts/benchmark.js:38:27)
  106. at Array.forEach (native)
  107. at Benchmark.runAndPrint (/home/james/minify/scripts/benchmark.js:37:16)
  108. at prepare.then.files (/home/james/minify/scripts/benchmark.js:337:19)
  109. at process._tickCallback (internal/process/next_tick.js:109:7)
  110. at Module.runMain (module.js:613:11)
  111. at run (bootstrap_node.js:387:7)
  112. at startup (bootstrap_node.js:153:9)
  113. at bootstrap_node.js:500:3
  114. errno: -2,
  115. code: 'ENOENT',
  116. syscall: 'open',
  117. path: 'react@16.3.0' }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement