Skip to content

Doc-Build System Help Needed #128

@vwheeler63

Description

@vwheeler63

Hi, Fichte!

I will prefix this by saying that I know nothing about Node.js. I got it on my system via another doc-build set-up, and I remembered I used npm to install it and npx to run it. And I'm on a Windows 10 x64 system. So I tried doing the build steps advised in the README by doing this:

E:\Dev\Clients\WGA\sublime\vwheeler63\docs.sublimetext.io>npm install pnpm

added 244 packages, and audited 245 packages in 31s

76 packages are looking for funding
  run `npm fund` for details

3 moderate severity vulnerabilities

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.

Then I tried to run it like this:

E:\Dev\Clients\WGA\sublime\vwheeler63\docs.sublimetext.io>pnpm i
'pnpm' is not recognized as an internal or external command,
operable program or batch file.

E:\Dev\Clients\WGA\sublime\vwheeler63\docs.sublimetext.io>npx pnpm i
 WARN  Moving @types/node that was installed by a different package manager to "node_modules/.ignored"
 WARN  Moving vite-plugin-vue-devtools that was installed by a different package manager to "node_modules/.ignored"
 WARN  Moving markdown-it-attrs that was installed by a different package manager to "node_modules/.ignored"
 WARN  Moving markdown-it-deflist that was installed by a different package manager to "node_modules/.ignored"
 WARN  Moving markdown-it-footnote that was installed by a different package manager to "node_modules/.ignored"
 WARN  3 other warnings
 MODULE_NOT_FOUND  Cannot find module 'E:\Dev\Clients\WGA\sublime\vwheeler63\docs.sublimetext.io\node_modules\pnpm\dist\worker.js'

This error happened while installing a direct dependency of E:\Dev\Clients\WGA\sublime\vwheeler63\docs.sublimetext.io

Error: Cannot find module 'E:\Dev\Clients\WGA\sublime\vwheeler63\docs.sublimetext.io\node_modules\pnpm\dist\worker.js'
    at Function._resolveFilename (node:internal/modules/cjs/loader:1225:15)
    at Function._load (node:internal/modules/cjs/loader:1055:27)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:220:24)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:170:5)
    at MessagePort.<anonymous> (node:internal/main/worker_thread:212:26)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)
    at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)
Progress: resolved 1, reused 0, downloaded 0, added 0

E:\Dev\Clients\WGA\sublime\vwheeler63\docs.sublimetext.io>pnpm i
'pnpm' is not recognized as an internal or external command,
operable program or batch file.

E:\Dev\Clients\WGA\sublime\vwheeler63\docs.sublimetext.io>npx pnpm run dev
node:internal/modules/cjs/loader:1228
  throw err;
  ^

Error: Cannot find module 'E:\Dev\Clients\WGA\sublime\vwheeler63\docs.sublimetext.io\node_modules\pnpm\bin\pnpm.cjs'
    at Function._resolveFilename (node:internal/modules/cjs/loader:1225:15)
    at Function._load (node:internal/modules/cjs/loader:1055:27)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:220:24)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:170:5)
    at node:internal/main/run_main_module:36:49 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v22.14.0

I thought I would pass it by you since if you're as familiar with that doc-build system as I am with Sphinx, you can probably quickly diagnose what my problem is.

Kind regards,
Vic

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions