I get this while following this link. I don't understand why this is failing :(
$ npx -p github:violentmonkey/generator-userscript -p yo yo @violentmonkey/userscript
? Your project name minesweeper
? Author Abhishek
create package.json
create LICENSE
create README.md
create .browserslistrc
create .editorconfig
create .eslintignore
create .eslintrc.js
create .gitignore
create .npmrc
create babel.config.cjs
create postcss.config.cjs
create rollup.config.mjs
create tsconfig.json
create uno.config.ts
create .husky/pre-commit
create src/awesome-script/app.tsx
create src/awesome-script/index.ts
create src/awesome-script/meta.js
create src/awesome-script/style.css
create src/awesome-script/style.module.css
create src/types/css.d.ts
create src/types/vm.d.ts
git version 2.34.1
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /home/abhishek/minesweeper/.git/
✖ An error occured while running @violentmonkey/userscript:app#install
Error @violentmonkey/userscript
Command failed with ENOENT: pnpm i
spawn pnpm ENOENT
TypeError [ERR_INVALID_ARG_TYPE]: The "code" argument must be of type number. Received type string ('ENOENT')
at process.set [as exitCode] (node:internal/bootstrap/node:123:9)
at process.exit (node:internal/process/per_thread:188:24)
at onError (/home/abhishek/.npm/_npx/41df7b3fa059f6c7/node_modules/yo/lib/cli.js:117:11)
at /home/abhishek/.npm/_npx/41df7b3fa059f6c7/node_modules/yo/lib/cli.js:168:54
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async init (/home/abhishek/.npm/_npx/41df7b3fa059f6c7/node_modules/yo/lib/cli.js:168:5)
at async pre (/home/abhishek/.npm/_npx/41df7b3fa059f6c7/node_modules/yo/lib/cli.js:83:3)
at async /home/abhishek/.npm/_npx/41df7b3fa059f6c7/node_modules/yo/lib/cli.js:193:3
I get this while following this link. I don't understand why this is failing :(
Versions: