mmdevries / eiows

Other
78 stars 4 forks source link

error occurred when run `yarn install` script in windows #16

Closed ChoSeoHwan closed 11 months ago

ChoSeoHwan commented 1 year ago

Environment

Error

Terminal

PS C:\Projects\ext-service> yarn install
➤ YN0000: ┌ Resolution step
➤ YN0060: │ @asyncapi/generator-react-sdk@npm:0.2.25 provides @babel/core (p4b94e) with version 7.12.9, which doesn't satisfy what @babel/preset-env and some of its descendants request
➤ YN0060: │ ext-service@workspace:. provides lerna (p72898) with version 7.0.2, which doesn't satisfy what @commitlint/config-lerna-scopes requests
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
➤ YN0000: └ Completed in 0s 565ms
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed in 0s 501ms
➤ YN0000: ┌ Link step
➤ YN0000: │ ESM support for PnP uses the experimental loader API and is therefore experimental
➤ YN0007: │ eiows@npm:6.6.1 must be built because it never has been before or the last one failed
➤ YN0009: │ eiows@npm:6.6.1 couldn't be built successfully (exit code 2, logs can be found here: C:\Users\wtae1216\AppData\Local\Temp\xfs-76debecc\build.log)
➤ YN0000: └ Completed in 1s 347ms
➤ YN0000: Failed with errors in 2s 525ms

Error Log

# This file contains the result of Yarn building a package (eiows@npm:6.6.1)
# Script name: preinstall

git clone -c advice.detachedHead=false --depth 1 https://github.com/nodejs/node -b (node --version)` nodejs/src/node
error: unknown option `version)`'
usage: git clone [<options>] [--] <repo> [<dir>]

    -v, --verbose         be more verbose
    -q, --quiet           be more quiet
    --progress            force progress reporting
    -n, --no-checkout     don't create a checkout
    --bare                create a bare repository
    --mirror              create a mirror repository (implies bare)
    -l, --local           to clone from a local repository
    --no-hardlinks        don't use local hardlinks, always copy
    -s, --shared          setup as shared repository
    --recursive[=<pathspec>]
                          initialize submodules in the clone
    --recurse-submodules[=<pathspec>]
                          initialize submodules in the clone
    -j, --jobs <n>        number of submodules cloned in parallel
    --template <template-directory>
                          directory from which templates will be used
    --reference <repo>    reference repository
    --reference-if-able <repo>
                          reference repository
    --dissociate          use --reference only while cloning
    -o, --origin <name>   use <name> instead of 'origin' to track upstream
    -b, --branch <branch>
                          checkout <branch> instead of the remote's HEAD
    -u, --upload-pack <path>
                          path to git-upload-pack on the remote
    --depth <depth>       create a shallow clone of that depth
    --shallow-since <time>
                          create a shallow clone since a specific time
    --shallow-exclude <revision>
                          deepen history of shallow clone, excluding rev
    --single-branch       clone only one branch, HEAD or --branch
    --no-tags             don't clone any tags, and make later fetches not to follow them
    --shallow-submodules  any cloned submodules will be shallow
    --separate-git-dir <gitdir>
                          separate git dir from working tree
    -c, --config <key=value>
                          set config inside the new repository
    --server-option <server-specific>
                          option to transmit
    -4, --ipv4            use IPv4 addresses only
    -6, --ipv6            use IPv6 addresses only
    --filter <args>       object filtering
    --remote-submodules   any cloned submodules will use their remote-tracking branch
    --sparse              initialize sparse-checkout file to include only files at root

make: *** [default] Error 129

Expect

Successfully installed eiows on windows.

mmdevries commented 1 year ago

This module only runs on Linux/FreeBSD/MacOS.