Closed ralva-inhome closed 2 years ago
エラーについてきていたログの一部はこちらです。
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/usr/local/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'install',
1 verbose cli 'vue-drumroll-datetime-picker'
1 verbose cli ]
2 info using npm@6.14.17
3 info using node@v14.19.2
4 verbose npm-session 14528616062e9b68
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 200 https://registry.npmjs.org/vue-drumroll-datetime-picker 468ms
8 http fetch GET 200 https://registry.npmjs.org/vue-drumroll-datetime-picker/-/vue-drumroll-datetime-picker-1.0.5.tgz 109ms (from cache)
9 silly pacote tag manifest for vue-drumroll-datetime-picker@latest fetched in 600ms
10 timing stage:loadCurrentTree Completed in 5094ms
11 silly install loadIdealTree
12 silly install cloneCurrentTreeToIdealTree
13 timing stage:loadIdealTree:cloneCurrentTree Completed in 12ms
14 silly install loadShrinkwrap
15 timing stage:loadIdealTree:loadShrinkwrap Completed in 914ms
16 silly install loadAllDepsIntoIdealTree
17 silly resolveWithNewModule vue-drumroll-datetime-picker@1.0.5 checking installable status
18 silly fetchPackageMetaData error for dayjs-jp-format@git+https://github.com/plusone-masaki/dayjs-jp-format.git#dist Error while executing:
18 silly fetchPackageMetaData undefined ls-remote -h -t https://github.com/plusone-masaki/dayjs-jp-format.git
18 silly fetchPackageMetaData
18 silly fetchPackageMetaData
18 silly fetchPackageMetaData spawn git ENOENT
19 http fetch GET 200 https://registry.npmjs.org/dayjs 143ms
20 http fetch GET 200 https://registry.npmjs.org/dayjs/-/dayjs-1.11.3.tgz 64ms (from cache)
21 silly pacote range manifest for dayjs@^1.10.4 fetched in 217ms
22 silly resolveWithNewModule dayjs@1.11.3 checking installable status
23 http fetch GET 200 https://registry.npmjs.org/vue-scroll-picker 604ms
24 http fetch GET 200 https://registry.npmjs.org/vue-scroll-picker/-/vue-scroll-picker-0.8.0.tgz 27ms (from cache)
25 silly pacote version manifest for vue-scroll-picker@0.8.0 fetched in 648ms
26 silly resolveWithNewModule vue-scroll-picker@0.8.0 checking installable status
27 http fetch GET 200 https://registry.npmjs.org/@mdi%2fjs 722ms
28 http fetch GET 200 https://registry.npmjs.org/@mdi/js/-/js-5.9.55.tgz 105ms (from cache)
29 silly pacote range manifest for @mdi/js@^5.9.55 fetched in 839ms
30 silly resolveWithNewModule @mdi/js@5.9.55 checking installable status
31 timing stage:rollbackFailedOptional Completed in 0ms
32 timing stage:runTopLevelLifecycles Completed in 6871ms
Git がインストールされていないために起きるエラーのようです。 Windowsであれば Git for Windows をインストールして再度お試しください
了解しました!ありがとうございます!
どうしてもドラムロール型で実装したい部分があってインストールを試みたところうまくいきませんでした。
$ npm install vue-drumroll-datetime-picker
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -2
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t https://github.com/plusone-masaki/dayjs-jp-format.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
となっているのでdayjs-jp-format.gitなるもので引っ掛かっているようですが、 こちらを指定でインストールしようとしても同じくエラーとなります。