You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also get failures for 0.11.0, but reported over to netlify-cli:
$ npm install --save-dev --global google/docsy#semver:0.11.0 2>&1| head -50npm warn tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/Users/chalin/.nvm/versions/node/v22.11.0/lib/node_modules/docsy/node_modules/netlify-cli/node_modules/css-select/package.json'npm warn tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/Users/chalin/.nvm/versions/node/v22.11.0/lib/node_modules/docsy/node_modules/netlify-cli/node_modules/crossws/dist/adapters/cloudflare.mjs'npm warn tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/Users/chalin/.nvm/versions/node/v22.11.0/lib/node_modules/docsy/node_modules/netlify-cli/node_modules/css-tree/cjs/syntax/node/index-generate.cjs'...
Moving netlify-cli into dev dependencies might help, as is suggested in:
Another idea is to package into a bash script (say, docsy/tools/install-npm-helper.sh) what is currently run via NPM script _mkdir:hugo-mod. That way we can run this helper script for projects using global installs as well. For example:
$ (cd /Users/chalin/.nvm/versions/node/v22.11.0/lib/node_modules && docsy/tools/install-npm-helper.sh)PWD: /Users/chalin/.nvm/versions/node/v22.11.0/lib/node_modulesdrwxr-xr-x 4 chalin staff 128 Nov 12 12:49 github.com
$ npx hugo Start building sites …
chalin
changed the title
[CI] Docsy 0.8.0 NPM-package: global install fails
[CI] Docsy NPM-package: global install fails as of 0.8.0
Nov 12, 2024
This was uncovered by @sftim through his work on
To reproduce the problem, run the following.
Finally:
Tasks
The text was updated successfully, but these errors were encountered: