Describe the bug
Can't install dependencies in a repo that contains a package that includes node-sass the install fails with the following error:
➤ YN0013: │ react-tether@https://github.com/marvelapp/react-tether.git#commit:b076c38b5c6bf752076109ab0d85876f80133f7b can't be found in the cache and will be fetched from the remote repository
➤ YN0032: │ nan@npm:2.13.2: Implicit dependencies on node-gyp are discouraged
➤ YN0058: │ react-tether@https://github.com/marvelapp/react-tether.git#commit:b076c38b5c6bf752076109ab0d85876f80133f7b: Installing the package dependencies failed (exit code 1, logs can be found here: /var/folders/ys/h7v748cd01n0_q_1_0v852g40000gn/T/logfile-26497T4RvdJK0MxFf.log)
➤ YN0000: └ Completed in 20.94m
➤ YN0000: Failed with errors in 20.94m
When I view /var/folders/ys/h7v748cd01n0_q_1_0v852g40000gn/T/logfile-26497T4RvdJK0MxFf.log I get:
➤ YN0000: ┌ Resolution step
➤ YN0013: │ tether@https://github.com/rdjpalmer/tether.git#commit:d28f5ee85 can't be found in the cache and will be fetched from the remote repository
➤ YN0058: │ tether@https://github.com/rdjpalmer/tether.git#commit:d28f5ee85: Installing the package dependencies failed (exit code 1, logs can be found here: /var/folders/ys/h7v748cd01n0_q_1_0v852g40000gn/T/logfile-31518KpPr3LQ16Nvq.log)
➤ YN0000: └ Completed in 11.48m
➤ YN0000: Failed with errors in 11.48m
When I view /var/folders/ys/h7v748cd01n0_q_1_0v852g40000gn/T/logfile-31518KpPr3LQ16Nvq.log I get:
➤ YN0000: ┌ Resolution step
➤ YN0032: │ nan@npm:2.14.0: Implicit dependencies on node-gyp are discouraged
➤ YN0000: └ Completed in 4.42m
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed in 1.04s
➤ YN0000: ┌ Link step
➤ YN0007: │ node-sass@npm:3.13.1 must be built because it never did before or the last one failed
➤ YN0009: │ node-sass@npm:3.13.1 couldn't be built successfully (exit code 1, logs can be found here: /var/folders/ys/h7v748cd01n0_q_1_0v852g40000gn/T/logfile-33861492KRMzRXRVE.log)
➤ YN0000: └ Completed in 1.32m
➤ YN0000: Failed with errors in 5.76m
When I view /var/folders/ys/h7v748cd01n0_q_1_0v852g40000gn/T/logfile-33861492KRMzRXRVE.log I get:
gyp ERR! stack at ChildProcess.onExit (/private/var/folders/ys/h7v748cd01n0_q_1_0v852g40000gn/T/tmp-31518hOrRJdtgp2w7/.yarn/unplugged/node-gyp-npm-3.8.0-34b3928909/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:200:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 18.7.0
gyp ERR! command "/Users/george/.nvm/versions/node/v12.4.0/bin/node" "/private/var/folders/ys/h7v748cd01n0_q_1_0v852g40000gn/T/tmp-31518hOrRJdtgp2w7/.yarn/unplugged/node-gyp-npm-3.8.0-34b3928909/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /private/var/folders/ys/h7v748cd01n0_q_1_0v852g40000gn/T/tmp-31518hOrRJdtgp2w7/.yarn/unplugged/node-sass-npm-3.13.1-6249db71d7/node_modules/node-sass
gyp ERR! node -v v12.4.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
To Reproduce
js repro
await expect((async () => {
await packageJsonAndInstall({
dependencies: {'react-tether': 'https://github.com/marvelapp/react-tether.git#b076c38b5c6bf752076109ab0d85876f80133f7b'},
});
})()).rejects.toThrow('Installing the package dependencies **failed**');
Screenshots

Environment if relevant (please complete the following information):
Additional context
I have attempted to yarn unplug node-sass and the module that imports it too.
This installed OK on yarn version 1.19.2
The reproduction case in your issue seems broken:
Error: Command failed: /usr/bin/node /github/workspace/scripts/actions/../../packages/yarnpkg-cli/bundles/yarn.js add react-tether@https://github.com/marvelapp/react-tether.git#commit:b076c38b5c6bf752076109ab0d85876f80133f7b
at ChildProcess.exithandler (child_process.js:294:12)
at ChildProcess.emit (events.js:198:13)
at maybeClose (internal/child_process.js:982:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
The reproduction case in your issue seems broken:
Error: Command failed: /usr/bin/node /github/workspace/scripts/actions/../../packages/yarnpkg-cli/bundles/yarn.js add react-tether@https://github.com/marvelapp/react-tether.git#commit:b076c38b5c6bf752076109ab0d85876f80133f7b
at ChildProcess.exithandler (child_process.js:294:12)
at ChildProcess.emit (events.js:198:13)
at maybeClose (internal/child_process.js:982:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
The reproduction case in your issue seems broken:
Error: Command failed: /usr/bin/node /github/workspace/scripts/actions/../../packages/yarnpkg-cli/bundles/yarn.js add react-tether@https://github.com/marvelapp/react-tether.git#commit:b076c38b5c6bf752076109ab0d85876f80133f7b
at ChildProcess.exithandler (child_process.js:294:12)
at ChildProcess.emit (events.js:198:13)
at maybeClose (internal/child_process.js:982:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
The reproduction case in your issue seems broken:
Error: Command failed: /usr/bin/node /github/workspace/scripts/actions/../../packages/yarnpkg-cli/bundles/yarn.js add react-tether@https://github.com/marvelapp/react-tether.git#b076c38b5c6bf752076109ab0d85876f80133f7b
at ChildProcess.exithandler (child_process.js:294:12)
at ChildProcess.emit (events.js:198:13)
at maybeClose (internal/child_process.js:982:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
The reproduction case in your issue seems broken:
Error: Command failed: /usr/bin/node /github/workspace/scripts/actions/../../packages/yarnpkg-cli/bundles/yarn.js add react-tether@https://github.com/marvelapp/react-tether.git#b076c38b5c6bf752076109ab0d85876f80133f7b
at ChildProcess.exithandler (child_process.js:294:12)
at ChildProcess.emit (events.js:198:13)
at maybeClose (internal/child_process.js:982:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
The reproduction case in your issue seems broken:
Error: Command failed: /usr/bin/node /github/workspace/scripts/actions/../../packages/yarnpkg-cli/bundles/yarn.js add react-tether@https://github.com/marvelapp/react-tether.git#b076c38b5c6bf752076109ab0d85876f80133f7b
at ChildProcess.exithandler (child_process.js:294:12)
at ChildProcess.emit (events.js:198:13)
at maybeClose (internal/child_process.js:982:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
The reproduction case in your issue seems broken:
Error: Command failed: /usr/bin/node /github/workspace/scripts/actions/../../packages/yarnpkg-cli/bundles/yarn.js add react-tether@https://github.com/marvelapp/react-tether.git#b076c38b5c6bf752076109ab0d85876f80133f7b
at ChildProcess.exithandler (child_process.js:294:12)
at ChildProcess.emit (events.js:198:13)
at maybeClose (internal/child_process.js:982:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
This issue reproduces on master:
Error: expect(received).rejects.toThrow()
Matcher error: received value must be a promise
Received has type: function
Received has value: [Function anonymous]
at Object.args [as toThrow] (/github/workspace/.yarn/cache/expect-npm-24.8.0-8c7640c562-1.zip/node_modules/expect/build/index.js:229:11)
at module.exports (evalmachine.<anonymous>:4:12)
at executeInTempDirectory (/github/workspace/.yarn/cache/@arcanis-sherlock-npm-1.0.20-06a8fabaa4-1.zip/node_modules/@arcanis/sherlock/lib/executeRepro.js:56:19)
at executeInTempDirectory (/github/workspace/.yarn/cache/@arcanis-sherlock-npm-1.0.20-06a8fabaa4-1.zip/node_modules/@arcanis/sherlock/lib/executeRepro.js:17:22)
at Object.executeRepro (/github/workspace/.yarn/cache/@arcanis-sherlock-npm-1.0.20-06a8fabaa4-1.zip/node_modules/@arcanis/sherlock/lib/executeRepro.js:24:18)
at ExecCommand.execute (/github/workspace/.yarn/cache/@arcanis-sherlock-npm-1.0.20-06a8fabaa4-1.zip/node_modules/@arcanis/sherlock/lib/commands/exec.js:25:59)
This issue reproduces on master:
Error: expect(received).rejects.toThrow()
Matcher error: received value must be a promise
Received has type: function
Received has value: [Function anonymous]
at Object.args [as toThrow] (/github/workspace/.yarn/cache/expect-npm-24.8.0-8c7640c562-1.zip/node_modules/expect/build/index.js:229:11)
at module.exports (evalmachine.<anonymous>:4:12)
at executeInTempDirectory (/github/workspace/.yarn/cache/@arcanis-sherlock-npm-1.0.20-06a8fabaa4-1.zip/node_modules/@arcanis/sherlock/lib/executeRepro.js:56:19)
at executeInTempDirectory (/github/workspace/.yarn/cache/@arcanis-sherlock-npm-1.0.20-06a8fabaa4-1.zip/node_modules/@arcanis/sherlock/lib/executeRepro.js:17:22)
at Object.executeRepro (/github/workspace/.yarn/cache/@arcanis-sherlock-npm-1.0.20-06a8fabaa4-1.zip/node_modules/@arcanis/sherlock/lib/executeRepro.js:24:18)
at ExecCommand.execute (/github/workspace/.yarn/cache/@arcanis-sherlock-npm-1.0.20-06a8fabaa4-1.zip/node_modules/@arcanis/sherlock/lib/commands/exec.js:25:59)
I'm not 100% sure, but tether depends on node-sass@^3. I believe this version cannot be compiled successfully with recent Node releases (at the very least, running yarn add node-sass works for me, which suggests that node-sass isn't the problem).
@arcanis nope it might not be directly related and the build failure might not be a direct issue of yarn's but I should be able to finish installing dependencies and manually rebuild which isn't possible now because it stops caching dependencies as soon as it hits a build error in one.
As stated though this install works correctly in yarn 1.19.2 with the same node version.
I have also attempted to add:
"dependenciesMeta": {
"node-sass": {
"built": false
}
}
To my package.json and it still attempts to build node-sass here.
The dependenciesMeta settings have no effect in your context because your application doesn't depend on node-sass - tether does. It's a bit contrived but basically when you have a git dependency we need to clone it inside a temporary directory, install its dependencies, and run yarn pack (in case it has a prepack script which would generate build artifacts etc). Only then is the resulting tarball imported into your app.
This is what happens: tether is cloned, so we install its dependencies (including dev dependencies), independently from the ones in your own app. And since the crash happens while the git tarball is being generated, Yarn didn't get the chance to know what are the package' dependencies - preventing the resolution to be complete, and thus the lockfile to be written.
I think it might not have been the case in the v1 because we didn't run prepack (or prepare) on git dependencies ... https://github.com/yarnpkg/yarn/issues/5235
@arcanis ah interesting! Thank you for the detailed breakdown, I had assumed dependenciesMeta would work because this repo uses it for fsevents and svg2png and webpack-cli which are not direct dependencies as far as I could see (and I can see them being applied when installing dependencies for this repo).
➤ YN0000: ┌ Link step
➤ YN0005: │ fsevents@npm:1.2.7 lists build scripts, but its build has been explicitly disabled through configuration.
➤ YN0005: │ fsevents@npm:1.2.6 lists build scripts, but its build has been explicitly disabled through configuration.
➤ YN0005: │ webpack-cli@npm:3.3.2 [16110] lists build scripts, but its build has been explicitly disabled through configuration.
➤ YN0007: │ phantomjs-prebuilt@npm:2.1.16 must be built because it never did before or the last one failed
➤ YN0000: └ Completed in 11.75s
Do you know why this seems to work in the case of this repo but not mine? Is it just because in my case the dependency is deeper still?
Do you know why this seems to work in the case of this repo but not mine? Is it just because in my case the dependency is deeper still?
It's because dependenciesMeta does affect transitive dependencies ... but not if they are dev dependencies of a git dependency. Because those are installed as part of an entirely different dependency tree. It's a bit of a special case.
This issue reproduces on master
Damn, Sherlock is a bit spammy, we need to fix that 🤨
This issue reproduces on master:
Error: expect(received).rejects.toThrow(expected)
Expected substring: "Installing the package dependencies **failed**"
Received message: "Command failed: /usr/bin/node /github/workspace/scripts/actions/../../packages/yarnpkg-cli/bundles/yarn.js install
events.js:174
throw er; // Unhandled 'error' event
^
Error: spawn git ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
Emitted 'error' event at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
"
Emitted 'error' event at:
at Object.args [as toThrow] (/github/workspace/.yarn/cache/expect-npm-24.8.0-8c7640c562-1.zip/node_modules/expect/build/index.js:242:20)
at module.exports (evalmachine.<anonymous>:6:15)
at executeInTempDirectory (/github/workspace/.yarn/cache/@arcanis-sherlock-npm-1.0.20-06a8fabaa4-1.zip/node_modules/@arcanis/sherlock/lib/executeRepro.js:56:19)
at executeInTempDirectory (/github/workspace/.yarn/cache/@arcanis-sherlock-npm-1.0.20-06a8fabaa4-1.zip/node_modules/@arcanis/sherlock/lib/executeRepro.js:17:22)
at Object.executeRepro (/github/workspace/.yarn/cache/@arcanis-sherlock-npm-1.0.20-06a8fabaa4-1.zip/node_modules/@arcanis/sherlock/lib/executeRepro.js:24:18)
at ExecCommand.execute (/github/workspace/.yarn/cache/@arcanis-sherlock-npm-1.0.20-06a8fabaa4-1.zip/node_modules/@arcanis/sherlock/lib/commands/exec.js:25:59)
It's because dependenciesMeta does affect transitive dependencies ... but not if they are dev dependencies of a git dependency. Because those are installed as part of an entirely different dependency tree. It's a bit of a special case.
Interesting, I missed that distinction in your original reply but I see you made it. So my understanding is that registry packages are pre-packed but git dependencies aren't, so you need to pack them and this isn't getting past the pack stage.
Damn, Sherlock is a bit spammy, we need to fix that 🤨
Yeah sorry I was just trying to get it to run the test case, wanted to see if it would get any further as I couldn't get it to run properly at all locally.
I'll close this issue since the problem is that tether devDependencies cannot be built on the Node version used by the project (node-sass actually builds fine).
Hi @arcanis, it seems that this bug is blocking my project from upgrading to yarn v2. It looks exactly like the case you described here:
The
dependenciesMetasettings have no effect in your context because your application doesn't depend onnode-sass-tetherdoes. It's a bit contrived but basically when you have a git dependency we need to clone it inside a temporary directory, install its dependencies, and runyarn pack(in case it has aprepackscript which would generate build artifacts etc). Only then is the resulting tarball imported into your app.This is what happens:
tetheris cloned, so we install its dependencies (including dev dependencies), independently from the ones in your own app. And since the crash happens while the git tarball is being generated, Yarn didn't get the chance to know what are the package' dependencies - preventing the resolution to be complete, and thus the lockfile to be written.I think it might not have been the case in the v1 because we didn't run
prepack(orprepare) on git dependencies ... yarnpkg/yarn#5235
The project's minimum node version is 12, and unfortunately, outdated node-sass versions are still used by a couple of git repositories that the project depends on transitively, so there's no way to update node-sass in those dependencies. Unless I fork and update everything myself, which I don't really consider an acceptable workaround.
I assume this line is the "problem" compared to yarn v1: https://github.com/yarnpkg/berry/blob/ce573661b620daf387108786801c1b5bd833a4a9/packages/plugin-git/package.json#L25
Any idea what could be done to move forward?
still used by a couple of git repositories that the project depends on transitively
If they have lockfiles we'll use whatever package manager they're configured to use
If they have lockfiles we'll use whatever package manager they're configured to use
One of the repositories has both a package-lock.json and a yarn.lock, so yarn (v1) is used. I didn't think it was related to the packing issue though.
➤ YN0000: ┌ Resolution step
➤ YN0013: │ react-tether@https://github.com/marvelapp/react-tether.git#commit=b076c38b5c6bf752076109ab0d85876f80133f7b can't be found in the cache and will be fetched from GitHub
➤ YN0013: │ perfect-scrollbar@https://github.com/marvelapp/perfect-scrollbar.git#commit=4d626d00e88355974c18ab3976ef1ae4b8caa252 can't be found in the cache and will be fetched from GitHub
➤ YN0013: │ react-hammerjs@https://github.com/marvelapp/react-hammerjs.git#commit=f30168d17b997b9b789130011f30ab0664fac2b7 can't be found in the cache and will be fetched from GitHub
➤ YN0032: │ nan@npm:2.14.1: Implicit dependencies on node-gyp are discouraged
➤ YN0061: │ request@npm:2.88.2 is deprecated: request has been deprecated, see https://github.com/request/request/issues/3142
➤ YN0013: │ react-tether@https://github.com/marvelapp/react-tether.git#commit=b076c38b5c6bf752076109ab0d85876f80133f7b can't be found in the cache and will be fetched from the remote repository
➤ YN0058: │ react-tether@https://github.com/marvelapp/react-tether.git#commit=b076c38b5c6bf752076109ab0d85876f80133f7b: Packing the package failed (exit code 1, logs can be found here: /private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-8dcaef90/pack.log)
➤ YN0000: └ Completed in 46.98s
➤ YN0000: Failed with errors in 46.98s
> cat /private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-8dcaef90/pack.log
Installing the project using Yarn Classic
➤ YN0000: Downloading https://nightly.yarnpkg.com/latest.js
➤ YN0000: Saving the new release in .yarn/releases/yarn-1.23.0-20200827.1658.cjs
➤ YN0000: Done in 2.85s
yarn install v1.23.0-20200827.1658
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
(truncated)
You truncated the actual error from the logs so... yeah.
I ran it myself to check and the error I get is this:
MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere.
This is not related to Yarn so not much we can do about that one, though newer versions of node-sass does not have this issue.
You truncated the actual error from the logs so... yeah.
Nice 😅 I did mention earlier it was node-sass that failed though. But just in case, I added the full error log to the bottom of this comment.
I'm aware building node-sass won't work at its current locked version, and I don't have control over upgrading it. I also don't expect yarn to somehow support being able to build it.
The point is that the (pre)packing behavior of yarn v2 when installing dependencies from git repos is different than yarn v1, because I didn't have any problems with installing these git repo dependencies using the latter. Just to note again that I'm trying to upgrade an existing project from yarn v1 to v2.
Actually, maybe it's related to the last line of the log:
info This module is OPTIONAL, you can safely ignore this error`
Not 100% sure what's going on, but it looks to me like the node-gyp build for node-sass is optional? If it is, then yarn v2 would be mistaking the warning for an error, breaking the entire yarn install flow...
Edit: Actually, I think that's fsevents, never mind.
Full error log
> cat /private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-8dcaef90/pack.log
Installing the project using Yarn Classic
➤ YN0000: Downloading https://nightly.yarnpkg.com/latest.js
➤ YN0000: Saving the new release in .yarn/releases/yarn-1.23.0-20200827.1658.cjs
➤ YN0000: Done in 2.85s
yarn install v1.23.0-20200827.1658
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning " > [email protected]" has incorrect peer dependency "[email protected] || ^15.0.0".
warning " > [email protected]" has incorrect peer dependency "[email protected] || ^15.0.0".
[4/4] Building fresh packages...
error /private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-sass: Command failed.
Exit code: 1
Command: node scripts/build.js
Arguments:
Directory: /private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-sass
Output:
Building: /usr/local/bin/node /private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli '/usr/local/bin/node',
gyp verb cli '/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli 'rebuild',
gyp verb cli '--verbose',
gyp verb cli '--libsass_ext=',
gyp verb cli '--libsass_cflags=',
gyp verb cli '--libsass_ldflags=',
gyp verb cli '--libsass_library='
gyp verb cli ]
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` succeeded python2 /usr/bin/python2
gyp verb check python version `/usr/bin/python2 -c "import platform; print(platform.python_version());"` returned: "2.7.16\n"
gyp verb get node dir no --target version specified, falling back to host node version: 14.12.0
gyp verb command install [ '14.12.0' ]
gyp verb install input version string "14.12.0"
gyp verb install installing version: 14.12.0
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 14.12.0
gyp verb build dir attempting to create "build" dir: /private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-sass/build
gyp verb build dir "build" dir needed to be created? /private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-sass/build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: /private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-sass/build/config.gypi
gyp verb config.gypi checking for gypi file: /private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-sass/config.gypi
gyp verb common.gypi checking for gypi file: /private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-sass/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /usr/bin/python2
gyp info spawn args [
gyp info spawn args '/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-sass/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/batman/.node-gyp/14.12.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/batman/.node-gyp/14.12.0',
gyp info spawn args '-Dnode_gyp_dir=/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=node.lib',
gyp info spawn args '-Dmodule_root_dir=/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-sass',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
Traceback (most recent call last):
File "/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/gyp_main.py", line 16, in <module>
sys.exit(gyp.script_main())
File "/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 545, in script_main
return main(sys.argv[1:])
File "/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 538, in main
return gyp_main(args)
File "/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 523, in gyp_main
generator.GenerateOutput(flat_list, targets, data, params)
File "/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 2170, in GenerateOutput
part_of_all=qualified_target in needed_targets)
File "/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 795, in Write
self.Pchify))
File "/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 1190, in WriteSources
cflags = self.xcode_settings.GetCflags(configname)
File "/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 551, in GetCflags
archs = self.GetActiveArchs(self.configname)
File "/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 420, in GetActiveArchs
xcode_archs_default = GetXcodeArchsDefault()
File "/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 118, in GetXcodeArchsDefault
xcode_version, _ = XcodeVersion()
File "/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 1265, in XcodeVersion
version = re.match(r'(\d\.\d\.?\d*)', version).groups()[0]
AttributeError: 'NoneType' object has no attribute 'groups'
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/lib/configure.js:305:16)
gyp ERR! stack at ChildProcess.emit (events.js:314:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Darwin 19.6.0
gyp ERR! command "/usr/local/bin/node" "/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-sass
gyp ERR! node -v v14.12.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
Build failed with error code: 1
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
warning Error running install script for optional dependency: "/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/fsevents: Command failed.
Exit code: 1
Command: node-pre-gyp install --fallback-to-build
Arguments:
Directory: /private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/fsevents
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using [email protected]
node-pre-gyp info using [email protected] | darwin | x64
node-pre-gyp info check checked for \"/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64/fse.node\" (not found)
node-pre-gyp http GET https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.17/fse-v1.0.17-node-v83-darwin-x64.tar.gz
node-pre-gyp http 404 https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.17/fse-v1.0.17-node-v83-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.17/fse-v1.0.17-node-v83-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v83 ABI) (falling back to source compile with node-gyp)
node-pre-gyp http 404 status code downloading tarball https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.17/fse-v1.0.17-node-v83-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download(undefined): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.17/fse-v1.0.17-node-v83-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v83 ABI) (falling back to source compile with node-gyp)
node-pre-gyp http Connection closed while downloading tarball file
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info ok
gyp info ok
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gypgyp info spawn /usr/bin/python2
info spawn /usr/bin/python2
gyp info spawn argsgyp [
gyp infoinfo spawn args '/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/gyp_main.py',
spawn argsgyp info [
spawn args 'binding.gyp',
gypgyp infoinfo spawn args '/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/gyp_main.py',
spawn argsgyp '-f',
gyp info spawn args 'binding.gyp',
infogyp infospawn args 'make',
spawn argsgyp '-f',
gypinfo infospawn args '-I',
spawn argsgyp 'make',
gypinfo spawn argsinfo '/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/fsevents/build/config.gypi',
gypspawn args '-I',
infogyp spawn args '-I',
infogyp spawn argsinfo '/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/fsevents/build/config.gypi',
gyp spawn argsinfo '/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/addon.gypi',
spawn argsgyp '-I',
gypinfo spawn argsinfo '-I',
gypspawn args '/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/addon.gypi',
infogyp spawn argsinfo '/Users/batman/.node-gyp/14.12.0/include/node/common.gypi',
gypspawn args '-I',
infogyp spawn argsinfo '-Dlibrary=shared_library',
gypspawn args '/Users/batman/.node-gyp/14.12.0/include/node/common.gypi',
infogyp spawn argsinfo '-Dvisibility=default',
gypspawn args '-Dlibrary=shared_library',
gypinfo info spawn args '-Dvisibility=default',
spawn argsgyp '-Dnode_root_dir=/Users/batman/.node-gyp/14.12.0',
gypinfo info spawn args '-Dnode_gyp_dir=/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp',
spawn argsgyp '-Dnode_root_dir=/Users/batman/.node-gyp/14.12.0',
infogyp spawn args '-Dnode_lib_file=node.lib',
gypinfo infospawn args '-Dnode_gyp_dir=/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp',
spawn argsgyp '-Dmodule_root_dir=/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/fsevents',
infogyp spawn args '-Dnode_lib_file=node.lib',
gypinfo info spawn args '-Dmodule_root_dir=/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/fsevents',
spawn argsgyp '--depth=.',
info spawn args '--depth=.',
gypgyp info spawn args '--no-parallel',
gypinfo info spawn argsspawn args '--no-parallel',
'--generator-output',
gypgyp infoinfo spawn argsspawn args '--generator-output',
'build',
gypgyp infoinfo spawn args '-Goutput_dir=.'
gypspawn args 'build',
gyp infoinfo spawn args '-Goutput_dir=.'
spawn argsgyp ]
info spawn args ]
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
Traceback (most recent call last):
File \"/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/gyp_main.py\", line 16, in <module>
Traceback (most recent call last):
File \"/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/gyp_main.py\", line 16, in <module>
sys.exit(gyp.script_main())
sys.exit(gyp.script_main())
File \"/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/pylib/gyp/__init__.py\", line 545, in script_main
File \"/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/pylib/gyp/__init__.py\", line 545, in script_main
return main(sys.argv[1:])
File \"/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/pylib/gyp/__init__.py\", line 538, in main
return main(sys.argv[1:])
File \"/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/pylib/gyp/__init__.py\", line 538, in main
return gyp_main(args)
File \"/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/pylib/gyp/__init__.py\", line 523, in gyp_main
return gyp_main(args)
File \"/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/pylib/gyp/__init__.py\", line 523, in gyp_main
generator.GenerateOutput(flat_list, targets, data, params)
File \"/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py\", line 2170, in GenerateOutput
generator.GenerateOutput(flat_list, targets, data, params)
File \"/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py\", line 2170, in GenerateOutput
part_of_all=qualified_target in needed_targets)
File \"/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py\", line 795, in Write
part_of_all=qualified_target in needed_targets)
File \"/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py\", line 795, in Write
self.Pchify))
File \"/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py\", line 1190, in WriteSources
self.Pchify))
File \"/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py\", line 1190, in WriteSources
cflags = self.xcode_settings.GetCflags(configname)
File \"/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 551, in GetCflags
cflags = self.xcode_settings.GetCflags(configname)
File \"/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 551, in GetCflags
archs = self.GetActiveArchs(self.configname)
File \"/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 420, in GetActiveArchs
archs = self.GetActiveArchs(self.configname)
File \"/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 420, in GetActiveArchs
xcode_archs_default = GetXcodeArchsDefault()
File \"/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 118, in GetXcodeArchsDefault
xcode_archs_default = GetXcodeArchsDefault()
File \"/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 118, in GetXcodeArchsDefault
xcode_version, _ = XcodeVersion()
File \"/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 1265, in XcodeVersion
xcode_version, _ = XcodeVersion()
File \"/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 1265, in XcodeVersion
version = re.match(r'(\\d\\.\\d\\.?\\d*)', version).groups()[0]
AttributeError: 'NoneType' object has no attribute 'groups'
version = re.match(r'(\\d\\.\\d\\.?\\d*)', version).groups()[0]
AttributeError: 'NoneType' object has no attribute 'groups'
gyp ERR! configure error
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stackgyp at ChildProcess.onCpExit (/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/lib/configure.js:305:16)
ERR!gyp stack Error: `gyp` failed with exit code: 1
gyp ERR!ERR! stackstack at ChildProcess.onCpExit (/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/lib/configure.js:305:16)
at ChildProcess.emit (events.js:314:20)
gyp gyp ERR!ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
stack at ChildProcess.emit (events.js:314:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Darwin 19.6.0
gyp ERR!gyp command \"/usr/local/bin/node\" \"/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/bin/node-gyp.js\" \"configure\" \"--fallback-to-build\" \"--module=/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64/fse.node\" \"--module_name=fse\" \"--module_path=/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64\"
ERR!gyp ERR!System cwd Darwin 19.6.0
/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/fsevents
gyp ERR! gypnode -v v14.12.0
ERR! gypcommand ERR! \"/usr/local/bin/node\" \"/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/bin/node-gyp.js\" \"configure\" \"--fallback-to-build\" \"--module=/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64/fse.node\" \"--module_name=fse\" \"--module_path=/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64\"
node-gyp -v v3.4.0
gyp ERR!gyp cwd /private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/fsevents
gypERR! ERR!not ok
node -v v14.12.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64/fse.node --module_name=fse --module_path=/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:314:20)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1047:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
node-pre-gyp ERR! System Darwin 19.6.0
node-pre-gyp ERR! command \"/usr/local/bin/node\" \"/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/fsevents/node_modules/.bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"
node-pre-gyp ERR! cwd /private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/fsevents
node-pre-gyp ERR! node -v v14.12.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.32
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/bin/node /private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64/fse.node --module_name=fse --module_path=/private/var/folders/d_/j4z429zn06g6fnvmxrh3xhy00000gn/T/xfs-f80293ae/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64' (1)"
info This module is OPTIONAL, you can safely ignore this error
Most helpful comment
The
dependenciesMetasettings have no effect in your context because your application doesn't depend onnode-sass-tetherdoes. It's a bit contrived but basically when you have a git dependency we need to clone it inside a temporary directory, install its dependencies, and runyarn pack(in case it has aprepackscript which would generate build artifacts etc). Only then is the resulting tarball imported into your app.This is what happens:
tetheris cloned, so we install its dependencies (including dev dependencies), independently from the ones in your own app. And since the crash happens while the git tarball is being generated, Yarn didn't get the chance to know what are the package' dependencies - preventing the resolution to be complete, and thus the lockfile to be written.I think it might not have been the case in the v1 because we didn't run
prepack(orprepare) on git dependencies ... https://github.com/yarnpkg/yarn/issues/5235