You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
straw ~/Downloads/intra_nofrag_30.hic --norms
file:///home/cdiesh/.fnm/node-versions/v22.11.0/installation/lib/node_modules/hic-straw/cli.js:3
const Straw = require("./dist/hic-straw.js");
^
ReferenceError: require is not defined in ES module scope, you can use import instead
This file is being treated as an ES module because it has a '.js' file extension and '/home/cdiesh/.fnm/node-versions/v22.11.0/installation/lib/node_modules/hic-straw/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.
at file:///home/cdiesh/.fnm/node-versions/v22.11.0/installation/lib/node_modules/hic-straw/cli.js:3:15
at ModuleJob.run (node:internal/modules/esm/module_job:268:25)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:543:26)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5)
Node.js v22.11.0
might be related to the type:module addition, tricky stuff
might be related to the type:module addition, tricky stuff
I found getting an older version does work though
The text was updated successfully, but these errors were encountered: