Comments (5)
Tried with @antfu/[email protected]
(currently latest) in [email protected], it works fine. Any more information or an online reproduction?
from ni.
@kricsleo the version of ni is 0.21.9
from ni.
@kricsleo the version of ni is 0.21.9
Sorry, I also tried with 0.21.9
, but it didn't show up. Could you please provide an online reproduction? That would help to resolve your issue.
# Here is my env
ni -v
# @antfu/ni v0.21.9
# node v16.20.2
# npm v8.19.4
# npm -g v8.19.4
from ni.
We temporarily closed this due to the lack of enough information. We could not identify whether it was a bug or a userland misconfiguration with the given info.
Please provide a minimal reproduction to reopen the issue.
Thanks.
from ni.
the node version is 14.17.6
`
ni typescript
internal/process/esm_loader.js:74
internalBinding('errors').triggerUncaughtException(
^
Error [ERR_UNKNOWN_BUILTIN_MODULE]: No such built-in module: node:timers/promises
at Loader.builtinStrategy (internal/modules/esm/translators.js:285:11)
at new ModuleJob (internal/modules/esm/module_job.js:60:26)
at Loader.getModuleJob (internal/modules/esm/loader.js:258:11)
at async ModuleWrap. (internal/modules/esm/module_job.js:75:21)
at async Promise.all (index 11)
at async link (internal/modules/esm/module_job.js:80:9) {
code: 'ERR_UNKNOWN_BUILTIN_MODULE'
}`
`
ni -v
internal/process/esm_loader.js:74
internalBinding('errors').triggerUncaughtException(
^
Error [ERR_UNKNOWN_BUILTIN_MODULE]: No such built-in module: node:timers/promises
at Loader.builtinStrategy (internal/modules/esm/translators.js:285:11)
at new ModuleJob (internal/modules/esm/module_job.js:60:26)
at Loader.getModuleJob (internal/modules/esm/loader.js:258:11)
at async ModuleWrap. (internal/modules/esm/module_job.js:75:21)
at async Promise.all (index 11)
at async link (internal/modules/esm/module_job.js:80:9) {
code: 'ERR_UNKNOWN_BUILTIN_MODULE'
}`
from ni.
Related Issues (20)
- Release a docker image especially for the CI situation HOT 2
- Enhancement for non-interactive use cases HOT 4
- Introduce `-w` global flag for running commands in workspaces HOT 1
- New installation method that does not rely on NPM, can be installed and upgraded independently. HOT 2
- Crash on first install
- Is globalAgent always use npm when run 'ni -g xxx' in project workspace? HOT 1
- Error when I use ni HOT 3
- If configured a global agent in `~/.nirc` and run `ni -g` inside a workspace, the global agent became `npm`. HOT 1
- Global installation of detected `yarn@>1` and `pnpm@<7` is broken HOT 1
- the node version is 14.17.6 HOT 2
- EPERM: operation not permitted HOT 1
- Should probably run `corepack` to avoid installing package manager globally HOT 1
- Support load config in ~/.config/.nirc HOT 2
- don't working in node 14 HOT 2
- asdf plugin HOT 3
- using nr in vscode integrated terminal on Windows, only 1 out of 2 keystrokes works after exiting.
- Support JSR HOT 1
- Feature Request: work better with nvm lazy load script
- Support `node --run` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ni.