chyyran
chyyran
DDeno
Created by chyyran on 10/17/2023 in #help
How to resolve requires without `.js` extension in a very basic NPM resolver?
It ends up bailing at
if current_folder == self.root_node_modules_path {
bail!(
"could not find package '{}' from referrer '{}'.",
name,
referrer
);
}
if current_folder == self.root_node_modules_path {
bail!(
"could not find package '{}' from referrer '{}'.",
name,
referrer
);
}
where sub_dir is "[truncated]/node_modules/@babel/runtime/helpers/interopRequireDefault"
3 replies
DDeno
Created by chyyran on 10/16/2023 in #help
Bootstrapping a minimal node-compatible runtime
Thanks, that seems to work
7 replies