Closed
Description
What are you trying to do?
I'm trying to clone my fork of the repository and run yarn test
. After a while I get the error the command "patch" is either misspelled or could not be found
.
What troubleshooting steps have you tried?
Verified installations, removed files and cloned again
Reproduction
> ver
Microsoft Windows [Version 10.0.17134.1069]
> node --version
v10.16.3
> yarn --version
1.19.1
> gulp --version
CLI version: 2.2.0
Local version: Unknown
> git clone https://github.com/JanMalch/components.git
Cloning into 'components'...
remote: Enumerating objects: 81681, done.
remote: Total 81681 (delta 0), reused 0 (delta 0), pack-reused 81681
Receiving objects: 100% (81681/81681), 27.41 MiB | 58.00 KiB/s, done.
Resolving deltas: 100% (62795/62795), done.
Checking out files: 100% (3340/3340), done.
> cd components && yarn install
...
Done in 133.94s
> gulp material:build
...
Finished 'material:build' after 2.33 min
> yarn test
yarn run v1.19.1
$ bazel test //src/... --test_tag_filters=-e2e,-browser:firefox-local --build_tag_filters=-browser:firefox-local --build_tests_only
Starting local Bazel server and connecting to it...
...
ERROR: An error occurred during the fetch of repository 'npm':
yarn_install failed: $ node ./tools/npm/check-npm.js
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
...
[4/5] Linking dependencies...
[5/5] Building fresh packages...
$ node --preserve-symlinks --preserve-symlinks-main tools/bazel/postinstall-patches.js
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
(warning @angular-devkit/[email protected]: The engine "pnpm" appears to be invalid.
warning @angular-devkit/[email protected]: The engine "pnpm" appears to be invalid.
warning @schematics/[email protected]: The engine "pnpm" appears to be invalid.
warning " > [email protected]" has incorrect peer dependency "typescript@~3.4.1".
warning " > [email protected]" has incorrect peer dependency "@angular/compiler@>=2.3.1 <9.0.0 || >8.0.0-beta <9.0.0 || >8.1.0-beta <9.0.0 || >8.2.0-beta <9.0.0".
warning " > [email protected]" has incorrect peer dependency "@angular/core@>=2.3.1 <9.0.0 || >8.0.0-beta <9.0.0 || >8.1.0-beta <9.0.0 || >8.2.0-beta <9.0.0".
warning " > [email protected]" has incorrect peer dependency "typescript@~3.4.0".
the command "patch" is either misspelled or could not be found
...
Environment
- Operating System (e.g. Windows, macOS, Ubuntu):
Microsoft Windows [Version 10.0.17134.1069]