Tag: typedoc

npm ERR! 无效的名称:“@ types / handlebars”

我试图用npm安装typedoc,但是看到下面的错误: npm ERR! Invalid name: "@types/handlebars" 然后我试图直接安装@ types / handlebars: npm install @types/handlebars 并再次显示相同的错误消息。 当我尝试通过运行查看包信息时: npm info @types/handlebars 我可以正确地看到信息。 我还应该检查什么来解决这个问题? 我在OSX 10.10.5上使用节点v4.8.3和npm v2.15.11。 这里是npm-debug.log的堆栈跟踪: 58 verbose etag https://registry.npmjs.org/@types%2fhandlebars from cache 59 verbose get saving @types/handlebars to /Users/ycchen/.npm/registry.npmjs.org/_40types_252fhandlebars/.cache.json 60 verbose correctMkdir /Users/ycchen/.npm correctMkdir not in flight; initializing 61 silly addNameTag next cb for @types/handlebars with tag […]