-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I am trying to install and add nu_plugin_termplot, following the readme file:
D:\downloads\20250812\codeload.github.com\nu_plugin_termplot> pnpm install termplot.nu
Packages: +315
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 360, reused 313, downloaded 2, added 315, done
node_modules/.pnpm/esbuild@0.25.9/node_modules/esbuild: Running postinstall script, done in 918ms
dependencies:
+ termplot.nu 0.1.21
Done in 22.4s
D:\downloads\20250812\codeload.github.com\nu_plugin_termplot> ls
╭───┬────────────────┬──────┬──────────┬──────────╮
│ # │ name │ type │ size │ modified │
├───┼────────────────┼──────┼──────────┼──────────┤
│ 0 │ node_modules │ dir │ 0 B │ now │
│ 1 │ package.json │ file │ 53 B │ now │
│ 2 │ pnpm-lock.yaml │ file │ 104.8 kB │ now │
╰───┴────────────────┴──────┴──────────┴──────────╯
D:\downloads\20250812\codeload.github.com\nu_plugin_termplot> plugin add node_modules\.bin\nu_plugin_termplot
Error: nu::shell::plugin_failed_to_load
× Plugin failed to load: Error spawning child process: %1 is not a valid Win32 application. (os error 193)
D:\downloads\20250812\codeload.github.com\nu_plugin_termplot> plugin add node_modules\.bin\nu_plugin_termplot.ps1
Error: nu::shell::plugin_failed_to_load
× Plugin failed to load: Error spawning child process: %1 is not a valid Win32 application. (os error 193)
D:\downloads\20250812\codeload.github.com\nu_plugin_termplot> plugin add node_modules\.bin\nu_plugin_termplot.CMD
node:internal/modules/esm/load:239
throw new ERR_UNSUPPORTED_ESM_URL_SCHEME(parsed, schemes);
^
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'd:'
at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:239:11)
at defaultLoad (node:internal/modules/esm/load:130:3)
at ModuleLoader.load (node:internal/modules/esm/loader:396:13)
at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:278:56)
at new ModuleJob (node:internal/modules/esm/module_job:67:26)
at #createModuleJob (node:internal/modules/esm/loader:290:17)
at ModuleLoader.getJobFromResolveResult (node:internal/modules/esm/loader:247:34)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:228:17)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ModuleLoader.import (node:internal/modules/esm/loader:315:23) {
code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'
}
Node.js v20.15.1
node:internal/modules/esm/load:239
throw new ERR_UNSUPPORTED_ESM_URL_SCHEME(parsed, schemes);
^
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'd:'
at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:239:11)
at defaultLoad (node:internal/modules/esm/load:130:3)
at ModuleLoader.load (node:internal/modules/esm/loader:396:13)
at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:278:56)
at new ModuleJob (node:internal/modules/esm/module_job:67:26)
at #createModuleJob (node:internal/modules/esm/loader:290:17)
at ModuleLoader.getJobFromResolveResult (node:internal/modules/esm/loader:247:34)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:228:17)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ModuleLoader.import (node:internal/modules/esm/loader:315:23) {
code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'
}
Node.js v20.15.1
Error: nu::shell::plugin_failed_to_load
× Plugin failed to load: unable to get encoding from plugin: failed to fill whole buffer
D:\downloads\20250812\codeload.github.com\nu_plugin_termplot> plugin list|select name version status filename|where name =~ "termplot"
╭────────────╮
│ empty list │
╰────────────╯ENV info
D:\downloads\20250812\codeload.github.com\nu_plugin_termplot> nu -v
0.106.1
:\downloads\20250812\codeload.github.com\nu_plugin_termplot> sys host
╭─────────────────┬──────────────────╮
│ name │ Windows │
│ os_version │ 11 (22631) │
│ long_os_version │ Windows 11 Pro │
│ kernel_version │ 22631 │
╰─────────────────┴──────────────────╯Metadata
Metadata
Assignees
Labels
No labels