Closed zploskey closed 6 years ago
I'd imagine this is the same issue as https://github.com/Schmavery/reprocessing/issues/94 but the hotreload is hiding the error message. You could run ./lib/bs/bytecode/index.byte
to doublecheck
I'm not sure... Running the the file gives:
$ ./lib/bs/bytecode/indexhot.byte
Rebuilding hotloaded module
Successfully changed functions
Fatal error: exception Failure("Unknown error while loading plugin")
I think you ran the hotreloading version again. If you build and run index.byte rather than indexhot.byte, I would expect a different error.
How do you build index.byte? That's not a file that's generated for me by npm run build
.
Ah, just add an entry like this to the bsconfig:
{
"backend": "bytecode",
"main-module": "Index"
}
I'd imagine this is fixed too now
Yes, it was the same error as #94 just masked by hot-reloading.
Some day we'll fix it so that the error is visible...
Relevant lines from npm-debug.log:
Not sure if it's relevant that this is on npm 3. I've just started by using the defaults shipped by Ubuntu.