This might be a stupid question but I'm having a ton of trouble with exporting and importing modules. I've got these three export functions,
module.exports.BlockChain = BlockChain;
module.exports.Block = Block;
module.exports.Transaction = Transaction;
that correspond to different functions. I then wrote this to import but for some reason, I get the error in the title. The file corresponds correctly.
import { BlockChain, Block, Transaction } from "../lilicoincode/blockChain.js";