Closed lwojcik closed 2 years ago
Hi! Thank you for the issue. It's strange. util/types
is valid module that is exposed from the API. What version of the Node do you use?
Oh shoot, I had v14 loaded in nvm. Switched to v16 and it now works fine. :)
I get the following error message while running
npx @11ty/eleventy
:`Error
was thrown: Error: Cannot find module 'util/types' Require stack:It happens in v1.4.0. Reverting to v1.3.3 fixes the problem.
Looks like it's related to Rollup config calling util/types as an external. I'll maybe try to have a look at it later next week.