Last active
December 28, 2019 06:41
-
-
Save tthtlc/450f394eb8626e4d5fc06daf23b13e3e to your computer and use it in GitHub Desktop.
Problems with bytenode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From: | |
| https://hackernoon.com/how-to-compile-node-js-code-using-bytenode-11dcba856fa9 | |
| and using bytenode to compile js: | |
| bytenode --compile jquery-3.3.1.min.js jquery-3.3.1.min.jsc | |
| evalmachine.<anonymous>:1 | |
| (function (exports, require, module, __filename, __dirname) { ��������S | |
| ^ | |
| SyntaxError: Invalid or unexpected token | |
| at new Script (vm.js:80:7) | |
| at compileCode (/sdb3/home/tthtlc/node-v10.15.3-linux-x64/lib/node_modules/bytenode/index.js:24:16) | |
| at Object.compileFile (/sdb3/home/tthtlc/node-v10.15.3-linux-x64/lib/node_modules/bytenode/index.js:138:22) | |
| at /sdb3/home/tthtlc/node-v10.15.3-linux-x64/lib/node_modules/bytenode/cli.js:49:18 | |
| at Array.forEach (<anonymous>) | |
| at Object.<anonymous> (/sdb3/home/tthtlc/node-v10.15.3-linux-x64/lib/node_modules/bytenode/cli.js:40:17) | |
| at Module._compile (internal/modules/cjs/loader.js:701:30) | |
| at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10) | |
| at Module.load (internal/modules/cjs/loader.js:600:32) | |
| at tryModuleLoad (internal/modules/cjs/loader.js:539:12) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment