mac@MACs-MacBook-Air my-project % vue add router
WARN There are uncommitted changes in the current repository, it’s recommended to commit or stash them first.
? Still proceed? Yes
???? Installing @vue/cli-plugin-router…
(node:10337) [DEP0040] DeprecationWarning: The punycode
module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ...
to show where the warning was created)
ERROR Error: command failed: pnpm install –reporter silent –shamefully-hoist @vue/cli-plugin-router@~5.0.0 -D
Error: command failed: pnpm install –reporter silent –shamefully-hoist @vue/cli-plugin-router@~5.0.0 -D
at ChildProcess. (/Users/mac/Library/pnpm/global/5/.pnpm/@[email protected]/node_modules/@vue/cli/lib/util/executeCommand.js:138:16)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5)
trying to add vue router to my project
Adams Ruth is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.