nengi icon indicating copy to clipboard operation
nengi copied to clipboard

node version / module.link is not a function

Open micktaiwan opened this issue 3 years ago • 1 comments

What node version does nengi uses ? On this page it says it runs with node 14, but when using it with Meteor (using Node 14) it throws this error:

/node_modules/nengi/index-es6.js:1
TypeError: module.link is not a function

micktaiwan avatar Feb 11 '22 20:02 micktaiwan

I solved it by adding

    "type": "module",
    "main": "index-es6.js",

to package.json

micktaiwan avatar Feb 25 '22 18:02 micktaiwan