Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Updating Cache...
- Downloading https://unpkg.com/react/dist/react.js
- Downloading https://unpkg.com/vue/dist/vue.js
- Downloading https://unpkg.com/lodash/lodash.js
- Downloading https://unpkg.com/three/build/three.js
- Download Complete https://unpkg.com/vue/dist/vue.js
- Download Complete https://unpkg.com/react/dist/react.js
- Download Complete https://unpkg.com/three/build/three.js
- Download Complete https://unpkg.com/lodash/lodash.js
- Running Benchmarks...
- Benchmark - /home/james/minify/scripts/benchmark_cache/react.js
- Running babel-minify
- { SyntaxError: unknown: Unexpected token, expected ";" (1:7)
- > 1 | Cannot find module "/dist/react.js" in package react@16.3.0
- | ^
- at Parser.raise (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:772:15)
- at Parser.unexpected (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:2047:16)
- at Parser.semicolon (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:2031:40)
- at Parser.parseExpressionStatement (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:4395:10)
- at Parser.parseStatementContent (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:4010:19)
- at Parser.parseStatement (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:3899:17)
- at Parser.parseBlockOrModuleBlockBody (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:4426:23)
- at Parser.parseBlockBody (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:4413:10)
- at Parser.parseTopLevel (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:3875:10)
- at Parser.parse (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:5201:17)
- at parse (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:9881:38)
- at parser (/home/james/minify/node_modules/@babel/core/lib/transformation/normalize-file.js:106:33)
- at normalizeFile (/home/james/minify/node_modules/@babel/core/lib/transformation/normalize-file.js:53:11)
- at runSync (/home/james/minify/node_modules/@babel/core/lib/transformation/index.js:34:41)
- at transformSync (/home/james/minify/node_modules/@babel/core/lib/transform-sync.js:15:38)
- at Object.transform (/home/james/minify/node_modules/@babel/core/lib/transform.js:20:65)
- at babel-minify (/home/james/minify/scripts/benchmark.js:104:18)
- at Benchmark.test (/home/james/minify/scripts/benchmark.js:89:23)
- at Benchmark.runFile (/home/james/minify/scripts/benchmark.js:58:14)
- at files.forEach.file (/home/james/minify/scripts/benchmark.js:38:27)
- at Array.forEach (native)
- at Benchmark.runAndPrint (/home/james/minify/scripts/benchmark.js:37:16)
- at prepare.then.files (/home/james/minify/scripts/benchmark.js:337:19)
- pos: 7,
- loc: Position { line: 1, column: 7 },
- code: 'BABEL_PARSE_ERROR' }
- james@retrocraft:~/minify$ ./scripts/benchmark.js
- Updating Cache...
- Running Benchmarks...
- Benchmark - /home/james/minify/scripts/benchmark_cache/react.js
- Running babel-minify
- { SyntaxError: unknown: Unexpected token, expected ";" (1:7)
- > 1 | Cannot find module "/dist/react.js" in package react@16.3.0
- | ^
- at Parser.raise (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:772:15)
- at Parser.unexpected (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:2047:16)
- at Parser.semicolon (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:2031:40)
- at Parser.parseExpressionStatement (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:4395:10)
- at Parser.parseStatementContent (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:4010:19)
- at Parser.parseStatement (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:3899:17)
- at Parser.parseBlockOrModuleBlockBody (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:4426:23)
- at Parser.parseBlockBody (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:4413:10)
- at Parser.parseTopLevel (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:3875:10)
- at Parser.parse (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:5201:17)
- at parse (/home/james/minify/node_modules/@babel/core/node_modules/babylon/lib/index.js:9881:38)
- at parser (/home/james/minify/node_modules/@babel/core/lib/transformation/normalize-file.js:106:33)
- at normalizeFile (/home/james/minify/node_modules/@babel/core/lib/transformation/normalize-file.js:53:11)
- at runSync (/home/james/minify/node_modules/@babel/core/lib/transformation/index.js:34:41)
- at transformSync (/home/james/minify/node_modules/@babel/core/lib/transform-sync.js:15:38)
- at Object.transform (/home/james/minify/node_modules/@babel/core/lib/transform.js:20:65)
- at babel-minify (/home/james/minify/scripts/benchmark.js:104:18)
- at Benchmark.test (/home/james/minify/scripts/benchmark.js:89:23)
- at Benchmark.runFile (/home/james/minify/scripts/benchmark.js:58:14)
- at files.forEach.file (/home/james/minify/scripts/benchmark.js:38:27)
- at Array.forEach (native)
- at Benchmark.runAndPrint (/home/james/minify/scripts/benchmark.js:37:16)
- at prepare.then.files (/home/james/minify/scripts/benchmark.js:337:19)
- at process._tickCallback (internal/process/next_tick.js:109:7)
- at Module.runMain (module.js:613:11)
- at run (bootstrap_node.js:387:7)
- at startup (bootstrap_node.js:153:9)
- at bootstrap_node.js:500:3
- pos: 7,
- loc: Position { line: 1, column: 7 },
- code: 'BABEL_PARSE_ERROR' }
- james@retrocraft:~/minify$ npm run benchmark react@16.3.0 react/dist/react.js
- npm ERR! Linux 4.4.0-116-generic
- npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "benchmark" "react@16.3.0" "react/dist/react.js"
- npm ERR! node v6.14.1
- npm ERR! npm v3.10.10
- npm ERR! missing script: benchmark
- npm ERR!
- npm ERR! If you need help, you may report this error at:
- npm ERR! <https://github.com/npm/npm/issues>
- npm ERR! Please include the following file with any support request:
- npm ERR! /home/james/minify/npm-debug.log
- james@retrocraft:~/minify$ ./scripts/benchmark.js react@16.3.0 react/dist/react.js
- Running Benchmarks...
- Benchmark - react@16.3.0
- { Error: ENOENT: no such file or directory, open 'react@16.3.0'
- at Error (native)
- at Object.fs.openSync (fs.js:642:18)
- at Object.fs.readFileSync (fs.js:510:33)
- at Benchmark.getFile (/home/james/minify/scripts/benchmark.js:142:15)
- at Benchmark.runFile (/home/james/minify/scripts/benchmark.js:50:23)
- at files.forEach.file (/home/james/minify/scripts/benchmark.js:38:27)
- at Array.forEach (native)
- at Benchmark.runAndPrint (/home/james/minify/scripts/benchmark.js:37:16)
- at prepare.then.files (/home/james/minify/scripts/benchmark.js:337:19)
- at process._tickCallback (internal/process/next_tick.js:109:7)
- at Module.runMain (module.js:613:11)
- at run (bootstrap_node.js:387:7)
- at startup (bootstrap_node.js:153:9)
- at bootstrap_node.js:500:3
- errno: -2,
- code: 'ENOENT',
- syscall: 'open',
- path: 'react@16.3.0' }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement