Open mapconcierge opened 3 years ago
$ charites help
Usage: charites [options] [command]
Options:
--provider [provider] your map service. e.g. `mapbox`, `geolonia`
--mapbox-access-token [mapboxAccessToken] Access Token for the Mapbox
-h, --help display help for command
Commands:
init <file> initialize a style JSON
convert <source> [destination] convert the style JSON to YAML
build [options] <source> [destination] build a style JSON from the YAML
serve <source> serve your map locally
help [command] display help for command
unvt/charites を M1pro mac にインストール
事前に NodeJS をインストール
https://nodejs.org/ja/
最初に sudo コマンドなしで実行したところ、怒涛のpermission エラー...orz
taichi@taichinombp ~ % which npm /usr/local/bin/npm taichi@taichinombp ~ % npm install -g @unvt/charites npm notice npm notice New patch version of npm available! 8.1.0 -> 8.1.4 npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.1.4 npm notice Run npm install -g npm@8.1.4 to update! npm notice npm ERR! code EACCES npm ERR! syscall mkdir npm ERR! path /usr/local/lib/node_modules/@unvt npm ERR! errno -13 npm ERR! Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/@unvt' npm ERR! [Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/@unvt'] { npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'mkdir', npm ERR! path: '/usr/local/lib/node_modules/@unvt' npm ERR! } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It is likely you do not have the permissions to access this file as the current user npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator.
npm ERR! A complete log of this run can be found in: npm ERR! /Users/taichi/.npm/_logs/2021-11-21T10_16_09_109Z-debug.log
taichi@taichinombp ~ % sudo npm install -g @unvt/charites Password:
added 33 packages, and audited 34 packages in 3s
2 packages are looking for funding run
npm fund
for detailsfound 0 vulnerabilities taichi@taichinombp ~ %