applause-button
applause-button copied to clipboard
Build from source, how?
Can anyone help me to build this from source?
Thank you very much in advance!
Solved with npm install
Solved with
npm install
Don't know why but the .js
file that this is producing inside the dist
folder is not working, whereas the .js
file that I get using yarn add applause-button
does work.
Does anyone know why?
Doesn’t work in what way? Are you seeing errors? Have you tried doing a diff between your output and the one from npm?
Doesn’t work in what way? Are you seeing errors? Have you tried doing a diff between your output and the one from npm?
This is the output of npm install
:
npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-node-resolve.
npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-babel.
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: We recommend to use Travis Build Stages instead
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated [email protected]: use String.prototype.padStart()
npm WARN deprecated [email protected]: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated @hapi/[email protected]: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
> [email protected] install /Users/rodrigoalcarazdelaosa/Desktop/applause-button-master/node_modules/fsevents
> node install.js
SOLINK_MODULE(target) Release/.node
CXX(target) Release/obj.target/fse/fsevents.o
SOLINK_MODULE(target) Release/fse.node
> [email protected] install /Users/rodrigoalcarazdelaosa/Desktop/applause-button-master/node_modules/node-sass
> node scripts/install.js
Cached binary found at /Users/rodrigoalcarazdelaosa/.npm/node-sass/4.14.1/darwin-x64-72_binding.node
> [email protected] install /Users/rodrigoalcarazdelaosa/Desktop/applause-button-master/node_modules/puppeteer
> node install.js
Downloading Chromium r686378 - 110.2 Mb [====================] 100% 0.0s
Chromium downloaded to /Users/rodrigoalcarazdelaosa/Desktop/applause-button-master/node_modules/puppeteer/.local-chromium/mac-686378
> [email protected] postinstall /Users/rodrigoalcarazdelaosa/Desktop/applause-button-master/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
> [email protected] postinstall /Users/rodrigoalcarazdelaosa/Desktop/applause-button-master/node_modules/document-register-element
> lightercollective
:SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS:
,SSSSSSSSSSSSSSSSSiiiiiiiiiiiiiiSSS,
.iSSSSSSSSSSSSSSSSiiiiiiiiiiiiiiSSi.
sSSSSirrrrrrrrrr;;;;;;;;;;;;siiSSs
rSSSSi.......... .siiSSr
;SSSSS, ...,,,,,...........,iiiSS;
:SSSSS: . ,iiiiiisssssssssssiiiSS:
,SSSSS;....sSiiiissssssssssiiiSSS,
.iSSSSr....,,,,,,..........riiSSi.
sSSSSs.... riiSSs
rSSSSSr;;;;;;;;;;;;;;. .siiSSr
;SSSSSr;;;;S5SSSiiiii. ,iiiSS;
:SSSSS; .iSSSSiiiir :iiiSS:
.SSSSSr....,:;rrr;:,. ;iiSSS.
.iSSSSs... .. .riiSSi.
rSSSSSisr;::,.. .,,:;rriiiSSr
;SSSSSSSSSSSiisrrsiiiiiiiiiSS;
:iSSSSSSSSSSSSSiiiiiiiiSSSSSi:
.,:;;rsiSSSSSSSSSSSSisr;::,.
.,:;rsiisr;:,.
*** Thank you for using document-register-element! ***
Please consider donating to our open collective
to help us maintain this package.
https://opencollective.com/document-register-element/donate
***
> [email protected] postinstall /Users/rodrigoalcarazdelaosa/Desktop/applause-button-master/node_modules/node-sass
> node scripts/build.js
Binary found at /Users/rodrigoalcarazdelaosa/Desktop/applause-button-master/node_modules/node-sass/vendor/darwin-x64-72/binding.node
Testing binary
Binary is fine
npm WARN prepublish-on-install As of npm@5, `prepublish` scripts are deprecated.
npm WARN prepublish-on-install Use `prepare` for build steps and `prepublishOnly` for upload-only.
npm WARN prepublish-on-install See the deprecation note in `npm help scripts` for more information.
> [email protected] prepublish /Users/rodrigoalcarazdelaosa/Desktop/applause-button-master
> yarn run build
yarn run v1.22.4
$ yarn run build:scss && yarn run build:js
$ node-sass --output-style compressed -o dist src/applause-button.scss
Rendering Complete, saving .css file...
Wrote CSS to /Users/rodrigoalcarazdelaosa/Desktop/applause-button-master/dist/applause-button.css
$ rollup -c
src/applause-button.js → dist/applause-button.js...
created dist/applause-button.js in 1.6s
✨ Done in 4.32s.
npm notice created a lockfile as package-lock.json. You should commit this file.
added 1764 packages from 1299 contributors and audited 1764 packages in 63.541s
34 packages are looking for funding
run `npm fund` for details
found 5 vulnerabilities (2 low, 3 high)
run `npm audit fix` to fix them, or `npm audit` for details
Finding differences between the generated files is not trivial as they only have one line. I'm attaching here the file I get from yarn
(the one that works) and the one I'm getting (which doesn't work):
files.zip
Doesn’t work in what way? Are you seeing errors? Have you tried doing a diff between your output and the one from npm?
Doesn't work in the sense that the button does not even appear on the website, whereas with the script provided by yarn
everything works fine.
Doesn’t work in what way? Are you seeing errors? Have you tried doing a diff between your output and the one from npm?
Doesn't work in the sense that the button does not even appear on the website, whereas with the script provided by
yarn
everything works fine.
Just to add to this, the .css
file is exactly the same between the one I get from npm install
and the one I get with yarn
.
Were you able to reproduce it @ColinEberhardt? When you build it locally with npm install
you get the same files as those by yarn
?
Any news on this? Thank you very much!
Doesn’t work in what way? Are you seeing errors? Have you tried doing a diff between your output and the one from npm?
This is the output of
npm install
:npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-node-resolve. npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-babel. npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated [email protected]: We recommend to use Travis Build Stages instead npm WARN deprecated [email protected]: this library is no longer supported npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. npm WARN deprecated [email protected]: use String.prototype.padStart() npm WARN deprecated [email protected]: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 npm WARN deprecated @hapi/[email protected]: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411) npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained > [email protected] install /Users/rodrigoalcarazdelaosa/Desktop/applause-button-master/node_modules/fsevents > node install.js SOLINK_MODULE(target) Release/.node CXX(target) Release/obj.target/fse/fsevents.o SOLINK_MODULE(target) Release/fse.node > [email protected] install /Users/rodrigoalcarazdelaosa/Desktop/applause-button-master/node_modules/node-sass > node scripts/install.js Cached binary found at /Users/rodrigoalcarazdelaosa/.npm/node-sass/4.14.1/darwin-x64-72_binding.node > [email protected] install /Users/rodrigoalcarazdelaosa/Desktop/applause-button-master/node_modules/puppeteer > node install.js Downloading Chromium r686378 - 110.2 Mb [====================] 100% 0.0s Chromium downloaded to /Users/rodrigoalcarazdelaosa/Desktop/applause-button-master/node_modules/puppeteer/.local-chromium/mac-686378 > [email protected] postinstall /Users/rodrigoalcarazdelaosa/Desktop/applause-button-master/node_modules/core-js > node -e "try{require('./postinstall')}catch(e){}" Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library! The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: > https://opencollective.com/core-js > https://www.patreon.com/zloirock Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -) > [email protected] postinstall /Users/rodrigoalcarazdelaosa/Desktop/applause-button-master/node_modules/document-register-element > lightercollective :SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS: ,SSSSSSSSSSSSSSSSSiiiiiiiiiiiiiiSSS, .iSSSSSSSSSSSSSSSSiiiiiiiiiiiiiiSSi. sSSSSirrrrrrrrrr;;;;;;;;;;;;siiSSs rSSSSi.......... .siiSSr ;SSSSS, ...,,,,,...........,iiiSS; :SSSSS: . ,iiiiiisssssssssssiiiSS: ,SSSSS;....sSiiiissssssssssiiiSSS, .iSSSSr....,,,,,,..........riiSSi. sSSSSs.... riiSSs rSSSSSr;;;;;;;;;;;;;;. .siiSSr ;SSSSSr;;;;S5SSSiiiii. ,iiiSS; :SSSSS; .iSSSSiiiir :iiiSS: .SSSSSr....,:;rrr;:,. ;iiSSS. .iSSSSs... .. .riiSSi. rSSSSSisr;::,.. .,,:;rriiiSSr ;SSSSSSSSSSSiisrrsiiiiiiiiiSS; :iSSSSSSSSSSSSSiiiiiiiiSSSSSi: .,:;;rsiSSSSSSSSSSSSisr;::,. .,:;rsiisr;:,. *** Thank you for using document-register-element! *** Please consider donating to our open collective to help us maintain this package. https://opencollective.com/document-register-element/donate *** > [email protected] postinstall /Users/rodrigoalcarazdelaosa/Desktop/applause-button-master/node_modules/node-sass > node scripts/build.js Binary found at /Users/rodrigoalcarazdelaosa/Desktop/applause-button-master/node_modules/node-sass/vendor/darwin-x64-72/binding.node Testing binary Binary is fine npm WARN prepublish-on-install As of npm@5, `prepublish` scripts are deprecated. npm WARN prepublish-on-install Use `prepare` for build steps and `prepublishOnly` for upload-only. npm WARN prepublish-on-install See the deprecation note in `npm help scripts` for more information. > [email protected] prepublish /Users/rodrigoalcarazdelaosa/Desktop/applause-button-master > yarn run build yarn run v1.22.4 $ yarn run build:scss && yarn run build:js $ node-sass --output-style compressed -o dist src/applause-button.scss Rendering Complete, saving .css file... Wrote CSS to /Users/rodrigoalcarazdelaosa/Desktop/applause-button-master/dist/applause-button.css $ rollup -c src/applause-button.js → dist/applause-button.js... created dist/applause-button.js in 1.6s ✨ Done in 4.32s. npm notice created a lockfile as package-lock.json. You should commit this file. added 1764 packages from 1299 contributors and audited 1764 packages in 63.541s 34 packages are looking for funding run `npm fund` for details found 5 vulnerabilities (2 low, 3 high) run `npm audit fix` to fix them, or `npm audit` for details
Finding differences between the generated files is not trivial as they only have one line. I'm attaching here the file I get from
yarn
(the one that works) and the one I'm getting (which doesn't work): files.zip
I was able to unminify both files and find differences between them. Please find attached the unminified files and the differences between them.
I've added some additional development instructions here:
https://github.com/ColinEberhardt/applause-button#development
Is the issue because you are using npm rather than yarn?
I've added some additional development instructions here:
https://github.com/ColinEberhardt/applause-button#development
Thanks a lot for this. I'm having some trouble building with yarn
too. This is the output of yarn
:
yarn install v1.22.10
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 🔨 Building fresh packages...
[-/4] ⠄ waiting...
[2/4] ⠄ fsevents
[3/4] ⠄ puppeteer
error /Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass: Command failed.
Exit code: 1
Command: node scripts/build.js
Arguments:
Directory: /Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass
Output:
Building: /usr/local/bin/node /Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass/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 '/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass/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 "/usr/bin/python" in the PATH
gyp verb `which` succeeded /usr/bin/python /usr/bin/python
gyp verb check python version `/usr/bin/python -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.15.1
gyp verb command install [ '14.15.1' ]
gyp verb install input version string "14.15.1"
gyp verb install installing version: 14.15.1
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.15.1
gyp verb build dir attempting to create "build" dir: /Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass/build
gyp verb build dir "build" dir needed to be created? /Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass/build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: /Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass/build/config.gypi
gyp verb config.gypi checking for gypi file: /Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass/config.gypi
gyp verb common.gypi checking for gypi file: /Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /usr/bin/python
gyp info spawn args [
gyp info spawn args '/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass/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 '/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/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/rodrigoalcarazdelaosa/.node-gyp/14.15.1',
gyp info spawn args '-Dnode_gyp_dir=/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass',
gyp info spawn args '-Dnode_engine=v8',
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 "/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass/node_modules/node-gyp/gyp/gyp_main.py", line 16, in <module>
sys.exit(gyp.script_main())
File "/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 545, in script_main
return main(sys.argv[1:])
File "/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 538, in main
return gyp_main(args)
File "/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 523, in gyp_main
generator.GenerateOutput(flat_list, targets, data, params)
File "/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 2170, in GenerateOutput
part_of_all=qualified_target in needed_targets)
File "/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 795, in Write
self.Pchify))
File "/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 1190, in WriteSources
cflags = self.xcode_settings.GetCflags(configname)
File "/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 551, in GetCflags
archs = self.GetActiveArchs(self.configname)
File "/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 420, in GetActiveArchs
xcode_archs_default = GetXcodeArchsDefault()
File "/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 118, in GetXcodeArchsDefault
xcode_version, _ = XcodeVersion()
File "/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass/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 (/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass/node_modules/node-gyp/lib/configure.js:336:16)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Darwin 20.2.0
gyp ERR! command "/usr/local/bin/node" "/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass
gyp ERR! node -v v14.15.1
gyp ERR! node-gyp -v v3.6.2
warning Error running install script for optional dependency: "/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/fsevents: Command failed.
Exit code: 1
Command: node install
Arguments:
Directory: /Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/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 WARN Using request for node-pre-gyp https download
node-pre-gyp info check checked for \"/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/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.2.7/fse-v1.2.7-node-v83-darwin-x64.tar.gz
node-pre-gyp http 404 https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.7/fse-v1.2.7-node-v83-darwin-x64.tar.gz
node-pre-gyp WARN Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.7/fse-v1.2.7-node-v83-darwin-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v83 ABI, unknown) (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.2.7/fse-v1.2.7-node-v83-darwin-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not installable for [email protected] and [email protected] (node-v83 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error 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 ok
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 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 spawn /usr/bin/python
gyp info spawn args [
gyp info spawn args '/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/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 '/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/fsevents/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/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/rodrigoalcarazdelaosa/.node-gyp/14.15.1',
gyp info spawn args '-Dnode_gyp_dir=/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/fsevents',
gyp info spawn args '-Dnode_engine=v8',
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 ]
gyp info spawn /usr/bin/python
gyp info spawn args [
gyp info spawn args '/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/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 '/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/fsevents/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/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/rodrigoalcarazdelaosa/.node-gyp/14.15.1',
gyp info spawn args '-Dnode_gyp_dir=/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/fsevents',
gyp info spawn args '-Dnode_engine=v8',
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 ]
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 ok
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
SOLINK_MODULE(target) Release/.node
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
SOLINK_MODULE(target) Release/.node
CXX(target) Release/obj.target/fse/fsevents.o
CXX(target) Release/obj.target/fse/fsevents.o
In file included from ../fsevents.cc:6:
In file included from ../node_modules/nan/nan.h:222:
In file included from ../node_modules/nan/nan_converters.h:67:
../node_modules/nan/nan_converters_43_inl.h:22:1: error: no viable conversion from 'Local<v8::Context>' to 'v8::Isolate *'
X(Boolean)
^~~~~~~~~~
../node_modules/nan/nan_converters_43_inl.h:18:23: note: expanded from macro 'X'
val->To ## TYPE(isolate->GetCurrentContext()) \\\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:2848:37: note: passing argument to parameter 'isolate' here
Local<Boolean> ToBoolean(Isolate* isolate) const;
^
In file included from ../fsevents.cc:6:
In file included from ../node_modules/nan/nan.h:222:
In file included from ../node_modules/nan/nan_converters.h:67:
../node_modules/nan/nan_converters_43_inl.h:40:1: error: no viable conversion from 'Local<v8::Context>' to 'v8::Isolate *'
X(bool, Boolean)
^~~~~~~~~~~~~~~~
../node_modules/nan/nan_converters_43_inl.h:37:29: note: expanded from macro 'X'
return val->NAME ## Value(isolate->GetCurrentContext()); \\\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:2858:30: note: passing argument to parameter 'isolate' here
bool BooleanValue(Isolate* isolate) const;
^
In file included from ../fsevents.cc:6:
In file included from ../node_modules/nan/nan.h:223:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:356:37: error: too few arguments to function call, expected 2, have 1
return v8::StringObject::New(value).As<v8::StringObject>();
~~~~~~~~~~~~~~~~~~~~~ ^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:5847:3: note: 'New' declared here
static Local<Value> New(Isolate* isolate, Local<String> value);
^
In file included from ../fsevents.cc:6:
In file included from ../node_modules/nan/nan.h:222:
In file included from ../node_modules/nan/nan_converters.h:67:
../node_modules/nan/nan_converters_43_inl.h:22:1: error: no viable conversion from 'Local<v8::Context>' to 'v8::Isolate *'
X(Boolean)
^~~~~~~~~~
../node_modules/nan/nan_converters_43_inl.h:18:23: note: expanded from macro 'X'
val->To ## TYPE(isolate->GetCurrentContext()) \\\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:2848:37: note: passing argument to parameter 'isolate' here
Local<Boolean> ToBoolean(Isolate* isolate) const;
^
In file included from ../fsevents.cc:6:
In file included from ../node_modules/nan/nan.h:222:
In file included from ../node_modules/nan/nan_converters.h:67:
../node_modules/nan/nan_converters_43_inl.h:40:1: error: no viable conversion from 'Local<v8::Context>' to 'v8::Isolate *'
X(bool, Boolean)
^~~~~~~~~~~~~~~~
../node_modules/nan/nan_converters_43_inl.h:37:29: note: expanded from macro 'X'
return val->NAME ## Value(isolate->GetCurrentContext()); \\\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:2858:30: note: passing argument to parameter 'isolate' here
bool BooleanValue(Isolate* isolate) const;
^
In file included from ../fsevents.cc:6:
In file included from ../node_modules/nan/nan.h:223:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:356:37: error: too few arguments to function call, expected 2, have 1
return v8::StringObject::New(value).As<v8::StringObject>();
~~~~~~~~~~~~~~~~~~~~~ ^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:5847:3: note: 'New' declared here
static Local<Value> New(Isolate* isolate, Local<String> value);
^
In file included from ../fsevents.cc:6:
In file included from ../node_modules/nan/nan.h:2722:
../node_modules/nan/nan_object_wrap.h:24:25: error: no member named 'IsNearDeath' in 'Nan::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
assert(persistent().IsNearDeath());
~~~~~~~~~~~~ ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
^
In file included from ../fsevents.cc:6:
In file included from ../node_modules/nan/nan.h:2722:
../node_modules/nan/nan_object_wrap.h:127:26: error: no member named 'IsNearDeath' in 'Nan::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
assert(wrap->handle_.IsNearDeath());
~~~~~~~~~~~~~ ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
^
In file included from ../fsevents.cc:6:
In file included from ../node_modules/nan/nan.h:2818:
../node_modules/nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
data = static_cast<char*>(buffer->GetContents().Data()) + byte_offset;
^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:5265:3: note: 'GetContents' has been explicitly marked deprecated here
V8_DEPRECATE_SOON(\"Use GetBackingStore. See http://crbug.com/v8/9908.\")
^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
# define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
^
In file included from ../fsevents.cc:6:
In file included from ../node_modules/nan/nan.h:2722:
../node_modules/nan/nan_object_wrap.h:24:25: error: no member named 'IsNearDeath' in 'Nan::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
assert(persistent().IsNearDeath());
~~~~~~~~~~~~ ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
^
In file included from ../fsevents.cc:6:
In file included from ../node_modules/nan/nan.h:2722:
../node_modules/nan/nan_object_wrap.h:127:26: error: no member named 'IsNearDeath' in 'Nan::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
assert(wrap->handle_.IsNearDeath());
~~~~~~~~~~~~~ ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
^
In file included from ../fsevents.cc:6:
In file included from ../node_modules/nan/nan.h:2818:
../node_modules/nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See http://crbug.com/v8/9908. [-Wdeprecated-declarations]
data = static_cast<char*>(buffer->GetContents().Data()) + byte_offset;
^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:5265:3: note: 'GetContents' has been explicitly marked deprecated here
V8_DEPRECATE_SOON(\"Use GetBackingStore. See http://crbug.com/v8/9908.\")
^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
# define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
^
../fsevents.cc:43:32: error: no template named 'Handle' in namespace 'v8'
static void Initialize(v8::Handle<v8::Object> exports);
~~~~^
In file included from ../fsevents.cc:73:
../src/constants.cc:89:11: error: no matching member function for call to 'Set'
object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagNone\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagNone));
~~~~~~~~^~~
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
In file included from ../fsevents.cc:73:
../src/constants.cc:90:11: error: no matching member function for call to 'Set'
object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagMustScanSubDirs\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagMustScanSubDirs));
~~~~~~~~^~~
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
In file included from ../fsevents.cc:73:
../src/constants.cc:91:11: error: no matching member function for call to 'Set'
object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagUserDropped\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagUserDropped));
~~~~~~~~^~~
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
In file included from ../fsevents.cc:73:
../src/constants.cc:92:11: error: no matching member function for call to 'Set'
object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagKernelDropped\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagKernelDropped));
~~~~~~~~^~~
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
In file included from ../fsevents.cc:73:
../src/constants.cc:93:11: error: no matching member function for call to 'Set'
object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagEventIdsWrapped\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagEventIdsWrapped));
~~~~~~~~^~~
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
In file included from ../fsevents.cc:73:
../src/constants.cc:94:11: error: no matching member function for call to 'Set'
object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagHistoryDone\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagHistoryDone));
~~~~~~~~^~~
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
In file included from ../fsevents.cc:73:
../src/constants.cc:95:11: error: no matching member function for call to 'Set'
object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagRootChanged\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagRootChanged));
~~~~~~~~^~~
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
In file included from ../fsevents.cc:73:
../src/constants.cc:96:11: error: no matching member function for call to 'Set'
object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagMount\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagMount));
~~~~~~~~^~~
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
In file included from ../fsevents.cc:73:
../src/constants.cc:97:11: error: no matching member function for call to 'Set'
object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagUnmount\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagUnmount));
~~~~~~~~^~~
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
In file included from ../fsevents.cc:73:
../src/constants.cc:98:11: error: no matching member function for call to 'Set'
object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagItemCreated\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagItemCreated));
~~~~~~~~^~~
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
In file included from ../fsevents.cc:73:
../src/constants.cc:99:11: error: no matching member function for call to 'Set'
object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagItemRemoved\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagItemRemoved));
~~~~~~~~^~~
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
In file included from ../fsevents.cc:73:
../src/constants.cc:100:11: error: no matching member function for call to 'Set'
object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagItemInodeMetaMod\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagItemInodeMetaMod));
~~~~~~~~^~~
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
In file included from ../fsevents.cc:73:
../src/constants.cc:101:11: error: no matching member function for call to 'Set'
object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagItemRenamed\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagItemRenamed));
~~~~~~~~^~~
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
make: *** [Release/obj.target/fse/fsevents.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Darwin 20.2.0
gyp ERR! command \"/usr/local/bin/node\" \"/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-gyp/bin/node-gyp.js\" \"build\" \"--fallback-to-build\" \"--module=/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64/fse.node\" \"--module_name=fse\" \"--module_path=/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64\" \"--napi_version=7\" \"--node_abi_napi=napi\"
gyp ERR! cwd /Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/fsevents
gyp ERR! node -v v14.15.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64/fse.node --module_name=fse --module_path=/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64 --napi_version=7 --node_abi_napi=napi' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:315:20)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1048:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
node-pre-gyp ERR! System Darwin 20.2.0
node-pre-gyp ERR! command \"/usr/local/bin/node\" \"/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"
node-pre-gyp ERR! cwd /Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/fsevents
node-pre-gyp ERR! node -v v14.15.1
node-pre-gyp ERR! node-pre-gyp -v v0.10.3
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/bin/node /Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64/fse.node --module_name=fse --module_path=/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64 --napi_version=7 --node_abi_napi=napi' (1)
../fsevents.cc:43:32: error: no template named 'Handle' in namespace 'v8'
static void Initialize(v8::Handle<v8::Object> exports);
~~~~^
In file included from ../fsevents.cc:73:
../src/constants.cc:89:11: error: no matching member function for call to 'Set'
object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagNone\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagNone));
~~~~~~~~^~~
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
In file included from ../fsevents.cc:73:
../src/constants.cc:90:11: error: no matching member function for call to 'Set'
object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagMustScanSubDirs\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagMustScanSubDirs));
~~~~~~~~^~~
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
In file included from ../fsevents.cc:73:
../src/constants.cc:91:11: error: no matching member function for call to 'Set'
object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagUserDropped\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagUserDropped));
~~~~~~~~^~~
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
In file included from ../fsevents.cc:73:
../src/constants.cc:92:11: error: no matching member function for call to 'Set'
object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagKernelDropped\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagKernelDropped));
~~~~~~~~^~~
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
In file included from ../fsevents.cc:73:
../src/constants.cc:93:11: error: no matching member function for call to 'Set'
object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagEventIdsWrapped\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagEventIdsWrapped));
~~~~~~~~^~~
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
In file included from ../fsevents.cc:73:
../src/constants.cc:94:11: error: no matching member function for call to 'Set'
object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagHistoryDone\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagHistoryDone));
~~~~~~~~^~~
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
In file included from ../fsevents.cc:73:
../src/constants.cc:95:11: error: no matching member function for call to 'Set'
object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagRootChanged\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagRootChanged));
~~~~~~~~^~~
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
In file included from ../fsevents.cc:73:
../src/constants.cc:96:11: error: no matching member function for call to 'Set'
object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagMount\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagMount));
~~~~~~~~^~~
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
In file included from ../fsevents.cc:73:
../src/constants.cc:97:11: error: no matching member function for call to 'Set'
object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagUnmount\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagUnmount));
~~~~~~~~^~~
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
In file included from ../fsevents.cc:73:
../src/constants.cc:98:11: error: no matching member function for call to 'Set'
object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagItemCreated\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagItemCreated));
~~~~~~~~^~~
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
In file included from ../fsevents.cc:73:
../src/constants.cc:99:11: error: no matching member function for call to 'Set'
object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagItemRemoved\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagItemRemoved));
~~~~~~~~^~~
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
In file included from ../fsevents.cc:73:
../src/constants.cc:100:11: error: no matching member function for call to 'Set'
object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagItemInodeMetaMod\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagItemInodeMetaMod));
~~~~~~~~^~~
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
In file included from ../fsevents.cc:73:
../src/constants.cc:101:11: error: no matching member function for call to 'Set'
object->Set(Nan::New<v8::String>(\"kFSEventStreamEventFlagItemRenamed\").ToLocalChecked(), Nan::New<v8::Integer>(kFSEventStreamEventFlagItemRenamed));
~~~~~~~~^~~
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3670:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/rodrigoalcarazdelaosa/.node-gyp/14.15.1/include/node/v8.h:3673:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
make: *** [Release/obj.target/fse/fsevents.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Darwin 20.2.0
gyp ERR! command \"/usr/local/bin/node\" \"/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-gyp/bin/node-gyp.js\" \"build\" \"--fallback-to-build\" \"--module=/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64/fse.node\" \"--module_name=fse\" \"--module_path=/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64\" \"--napi_version=7\" \"--node_abi_napi=napi\"
gyp ERR! cwd /Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/fsevents
gyp ERR! node -v v14.15.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok"
info This module is OPTIONAL, you can safely ignore this error
apparently because of an incompatibility between node-sass
and my version of macOS (11.1). I also read that LibSass and Node Sass are deprecated. This is what I get running yarn run watch
:
yarn run v1.22.10
$ watch "yarn run build" src
> Watching src
$ yarn run build:scss && yarn run build:js
$ node-sass --output-style compressed -o dist src/applause-button.scss
/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass/lib/binding.js:13
throw new Error(errors.unsupportedEnvironment());
^
Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (83)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.9.0
at module.exports (/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass/lib/binding.js:13:13)
at Object.<anonymous> (/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (/Users/rodrigoalcarazdelaosa/Documents/GitHub/applause-button/node_modules/node-sass/bin/node-sass:10:10)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Is the issue because you are using npm rather than yarn?
With npm
I was getting that wrong script...
I also read that LibSass and Node Sass are deprecated.
sigh .... keeping the various tools for JavaScript projects up-to-date feels like a full time job!
I also read that LibSass and Node Sass are deprecated.
sigh .... keeping the various tools for JavaScript projects up-to-date feels like a full time job!
It may be not that hard in this case:
If you’re a user of Node Sass, migrating to Dart Sass is straightforward: just replace node-sass in your package.json file with sass. Both packages expose the same JavaScript API.
Any update on this? I'm still unable to build it using the development instructions (based on yarn
). Thanks in advance!