Skip to content
This repository was archived by the owner on Jul 21, 2022. It is now read-only.
This repository was archived by the owner on Jul 21, 2022. It is now read-only.

NPM install error on Windows 10 #7

@linqFR

Description

@linqFR

Error while npm install @json-schema-org/tests

apparently it requires git to be installed, which i cannot do !

0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli   'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Users\\USER\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'install',
1 verbose cli   '@json-schema-org/tests'
1 verbose cli ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session ecd139d102172c0d
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 304 https://registry.npmjs.org/@json-schema-org%2ftests 1525ms (from cache)
8 silly pacote tag manifest for @json-schema-org/tests@latest fetched in 1535ms
9 timing stage:loadCurrentTree Completed in 1554ms
10 silly install loadIdealTree
11 silly install cloneCurrentTreeToIdealTree
12 timing stage:loadIdealTree:cloneCurrentTree Completed in 0ms
13 silly install loadShrinkwrap
14 timing stage:loadIdealTree:loadShrinkwrap Completed in 0ms
15 silly install loadAllDepsIntoIdealTree
16 silly resolveWithNewModule @json-schema-org/[email protected] checking installable status
17 silly fetchPackageMetaData error for json-schema-test-suite@github:json-schema-org/JSON-Schema-Test-Suite#8982b0b Error while executing:
17 silly fetchPackageMetaData undefined ls-remote -h -t ssh://[email protected]/json-schema-org/JSON-Schema-Test-Suite.git
17 silly fetchPackageMetaData
17 silly fetchPackageMetaData
17 silly fetchPackageMetaData spawn git ENOENT
18 timing stage:rollbackFailedOptional Completed in 0ms
19 timing stage:runTopLevelLifecycles Completed in 1585ms
20 silly saveTree [email protected]
20 silly saveTree `-- @json-schema-org/[email protected]
21 verbose stack Error: spawn git ENOENT
21 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
21 verbose stack     at onErrorNT (internal/child_process.js:469:16)
21 verbose stack     at processTicksAndRejections (internal/process/task_queues.js:84:21)
22 verbose cwd O:\Dev\nodejs\reactWeb\services\lib\fastBufDebuf
23 verbose Windows_NT 10.0.18363
24 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\USER\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "@json-schema-org/tests"
25 verbose node v12.16.1
26 verbose npm  v6.14.3
27 error code ENOENT
28 error syscall spawn git
29 error path git
30 error errno ENOENT
31 error enoent Error while executing:
31 error enoent undefined ls-remote -h -t ssh://[email protected]/json-schema-org/JSON-Schema-Test-Suite.git
31 error enoent
31 error enoent
31 error enoent spawn git ENOENT
32 error enoent This is related to npm not being able to find a file.
33 verbose exit [ 1, true ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions