BUG: runBytecodeFile not working!
See original GitHub issueHi,
I am trying to programmatically run a simple compiled jsc
file but nothing happens!
My code is: (index.js)
'use strict';
const v8 = require('v8');
const path = require('path');
const bytenode = require('bytenode');
v8.setFlagsFromString('--no-lazy');
const file = path.join(process.cwd(), 'test.jsc');
bytenode.runBytecodeFile(file);
test.js (test.jsc)
console.log('Hello World');
There is no output when running: node index.js
What am i doing wrong?
Issue Analytics
- State:
- Created 4 years ago
- Comments:7
Top Results From Across the Web
BUG: runBytecodeFile not working! · Issue #14 - GitHub
Hi, I am trying to programmatically run a simple compiled jsc file but nothing happens! My code is: (index.js) 'use strict'; ...
Read more >1477491 – tc filter does not fail on malformed bytecode file
Description of problem: tc filter does not fail on malformed bytecode file. It reads only first line, creates filter and ignores other line....
Read more >Xcode 14 update has bugs and my co… - Apple Developer
Xcode 14 update has bugs and my code in c++ is not compiling with memory issues.
Read more >Bountysource
Example for runBytecodeFile not working. ... Help and Information. Frequently Asked Questions · Bugs and Feature Requests · Fees ...
Read more >bytenode - npm
Start using bytenode in your project by running `npm i bytenode`. ... In Node 10.x, Bytenode does not work in debug mode. See...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thank you
Yeah, sounds amazing. On that note, you could also add an argument to the CLI --compile option to have the same functionality as you described above.