-
-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Cannot find module 'node:path' #825
Error: Cannot find module 'node:path' #825
Comments
the issue is that but you're on v14.17. rollup's so upgrading to the latest node v14 should fix your problem, but at the same time I recommend you actually upgrade to the current node lts (v18 as of writing this), as v14 is about to hit EOL: edit: it might be nice to update the currently overly broad engine range of Line 91 in 30ff79d
edit 2: opened a PR to raise the node engine requirement |
🎉 This issue has been resolved in version 6.6.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Hi!
I'm trying to use tsup in my project but I receive the current error message when I try to build the project:
Error: Cannot find module 'node:path'
Require stack:
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:885:15)
at Function.Module._load (internal/modules/cjs/loader.js:730:27)
at Module.require (internal/modules/cjs/loader.js:957:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object. (/Users/bernardo.rodrigues/Documents/service/node_modules/rollup/dist/shared/rollup.js:12:19)
at Module._compile (internal/modules/cjs/loader.js:1068:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
at Module.load (internal/modules/cjs/loader.js:933:32)
at Function.Module._load (internal/modules/cjs/loader.js:774:14)
at Module.require (internal/modules/cjs/loader.js:957:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! rl-rewards-service@0.0.1 build:
tsup src/index.ts
npm ERR! Exit status 1
I'm running Nodejs v14 is this a problem? I couldn't find the minimum requirements to use the package
"engines": {
"node": ">=14.17.0",
"npm": "~6.14.13"
},
Upvote & Fund
The text was updated successfully, but these errors were encountered: