gpt4 book ai didi

node.js - 无法安装 Topojson

转载 作者:搜寻专家 更新时间:2023-10-31 23:07:58 27 4
gpt4 key购买 nike

从 npm(我通过 Homebrew 软件安装)安装 topojson 时,我得到以下信息:

npm WARN enoent ENOENT: no such file or directory, open '/Users/MuhammadShaaban/package.json'
npm WARN MuhammadShaaban No description
npm WARN MuhammadShaaban No repository field.
npm WARN MuhammadShaaban No README data
npm WARN MuhammadShaaban No license field.
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/Cellar/node/7.3.0/bin/node" "/usr/local/bin/npm" "install" "topojson"
npm ERR! node v7.3.0
npm ERR! npm v3.10.10
npm ERR! path /Users/MuhammadShaaban/node_modules/topojson/node_modules/topojson-server/bin/geo2topo
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod

npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/MuhammadShaaban/node_modules/topojson/node_modules/topojson-server/bin/geo2topo'
npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/MuhammadShaaban/node_modules/topojson/node_modules/topojson-server/bin/geo2topo'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:
npm ERR! /Users/MuhammadShaaban/npm-debug.log

我已经查看了其他类似类型的问题,但找不到解决方法。关于如何纠正此问题的任何想法?

最佳答案

试试 npm install topojson --no-bin-links

关于node.js - 无法安装 Topojson,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41411720/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com