Unable to debug Opensource repos download from githup such as ramda or lodash

Unable to debug Opensource repos download from githup such as ramda or lodash.

Using those libraries are easy but cannot find a way to debug/edit it even if its adding console.log(“hello”) into a simple add function.

If I run add.js in either ramda or lodash I get a similar error.

”’
Uncaught SyntaxError c:Usersaspiesourcereposlodashadd.js:1
import createMathOperation from ‘./.internal/createMathOperation.js’
^^^^^^

SyntaxError: Cannot use import statement outside a module
at compileFunction (node:vm:352:18)
”’