【问题标题】:npm ERR! npm owner add <user>npm 错误! npm 所有者添加 <用户>
【发布时间】:2018-04-06 17:01:24
【问题描述】:

有人能告诉我为什么会出现这些错误吗?

npm au build --env prod
npm ERR! Usage: 
npm ERR! npm owner add <user> [<@scope>/]<pkg>
npm ERR! npm owner rm <user> [<@scope>/]<pkg>
npm ERR! npm owner ls [<@scope>/]<pkg>
npm ERR! 
npm ERR! alias: author

谢谢,知识库

【问题讨论】:

  • 你想做什么?

标签: npm-install


【解决方案1】:

因为您使用了npm au,它是npm author 的缩写。

$ npm author --help
npm owner add <user> [<@scope>/]<pkg>
npm owner rm <user> [<@scope>/]<pkg>
npm owner ls [<@scope>/]<pkg>

您可能建议使用npm run build --env prod

【讨论】:

    猜你喜欢
    • 2017-07-03
    • 2021-02-27
    • 1970-01-01
    • 1970-01-01
    • 2022-10-08
    • 2023-03-30
    • 1970-01-01
    • 2019-04-14
    • 2021-12-02
    相关资源
    最近更新 更多