iobis / smalldata

1 stars 0 forks source link

node-pre-gyp build error #403

Closed pieterprovoost closed 4 years ago

pieterprovoost commented 4 years ago

On yarn install:

% yarn install                     
yarn install v1.22.5
[1/5] ๐Ÿ”  Validating package.json...
[2/5] ๐Ÿ”  Resolving packages...
[3/5] ๐Ÿšš  Fetching packages...
[4/5] ๐Ÿ”—  Linking dependencies...
warning "workspace-aggregator-9d771375-0589-4aa5-88c9-8f0b2c1d08a4 > @smalldata/admin-app > eslint-plugin-react-hooks@2.0.1" has unmet peer dependency "eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0".
warning "workspace-aggregator-9d771375-0589-4aa5-88c9-8f0b2c1d08a4 > @smalldata/admin-app > jest-enzyme@7.1.0" has unmet peer dependency "jest@>=22.0.0".
warning "workspace-aggregator-9d771375-0589-4aa5-88c9-8f0b2c1d08a4 > @smalldata/admin-app > react-cosmos-stateful-proxy@2.0.0" has incorrect peer dependency "react@^15".
warning "workspace-aggregator-9d771375-0589-4aa5-88c9-8f0b2c1d08a4 > @smalldata/occurrences-app > react-table@6.10.2" has unmet peer dependency "prop-types@^15.5.0".
warning "workspace-aggregator-9d771375-0589-4aa5-88c9-8f0b2c1d08a4 > @smalldata/admin-app > react-scripts > @typescript-eslint/eslint-plugin@1.13.0" has incorrect peer dependency "eslint@^5.0.0".
warning "workspace-aggregator-9d771375-0589-4aa5-88c9-8f0b2c1d08a4 > @smalldata/admin-app > react-scripts > @typescript-eslint/parser@1.13.0" has incorrect peer dependency "eslint@^5.0.0".
warning "workspace-aggregator-9d771375-0589-4aa5-88c9-8f0b2c1d08a4 > @smalldata/admin-app > jest-enzyme > jest-environment-enzyme@7.1.0" has unmet peer dependency "jest@>=22.0.0".
warning "workspace-aggregator-9d771375-0589-4aa5-88c9-8f0b2c1d08a4 > @smalldata/admin-app > react-cosmos > webpack-dev-middleware@2.0.6" has unmet peer dependency "webpack@^2.2.0 || ^3.0.0 || ^4.0.0-alpha || ^4.0.0-beta || ^4.0.0".
warning "workspace-aggregator-9d771375-0589-4aa5-88c9-8f0b2c1d08a4 > @smalldata/admin-app > react-scripts > @typescript-eslint/eslint-plugin > tsutils@3.12.0" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev".
warning "workspace-aggregator-9d771375-0589-4aa5-88c9-8f0b2c1d08a4 > @smalldata/admin-app > react-scripts > eslint > espree > acorn-jsx@5.0.1" has incorrect peer dependency "acorn@^6.0.0".
[5/5] ๐Ÿ”จ  Building fresh packages...
[-/5] โ  waiting...
[-/5] โ  waiting...
[3/5] โ ‚ fsevents
[-/5] โ ‚ waiting...
warning Error running install script for optional dependency: "/Users/pieter/Dropbox (IPOfI)/werk/projects/smalldata/smalldata/node_modules/fsevents: Command failed.
Exit code: 1
Command: node install
Arguments: 
Directory: /Users/pieter/Dropbox (IPOfI)/werk/projects/smalldata/smalldata/node_modules/fsevents
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using node-pre-gyp@0.12.0
node-pre-gyp info using node@14.12.0 | darwin | x64
node-pre-gyp WARN Using request for node-pre-gyp https download 
node-pre-gyp info check checked for \"/Users/pieter/Dropbox (IPOfI)/werk/projects/smalldata/smalldata/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.9/fse-v1.2.9-node-v83-darwin-x64.tar.gz
node-pre-gyp http 404 https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.9/fse-v1.2.9-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.9/fse-v1.2.9-node-v83-darwin-x64.tar.gz 
node-pre-gyp WARN Pre-built binaries not found for fsevents@1.2.9 and node@14.12.0 (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.9/fse-v1.2.9-node-v83-darwin-x64.tar.gz 
gyp info it worked if it ends with ok
gyp info using node-gyp@3.8.0
gyp info using node@14.12.0 | darwin | x64
gyp info ok 
gyp info it worked if it ends with ok
gyp info using node-gyp@3.8.0
gyp info using node@14.12.0 | darwin | x64
gyp info spawn /usr/bin/python
gyp info spawn args [
gyp info spawn args   '/Users/pieter/Dropbox (IPOfI)/werk/projects/smalldata/smalldata/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/pieter/Dropbox (IPOfI)/werk/projects/smalldata/smalldata/node_modules/fsevents/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/pieter/Dropbox (IPOfI)/werk/projects/smalldata/smalldata/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/pieter/.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/pieter/.node-gyp/14.12.0',
gyp info spawn args   '-Dnode_gyp_dir=/Users/pieter/Dropbox (IPOfI)/werk/projects/smalldata/smalldata/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/Users/pieter/.node-gyp/14.12.0/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/Users/pieter/Dropbox (IPOfI)/werk/projects/smalldata/smalldata/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 node-gyp@3.8.0
gyp info using node@14.12.0 | darwin | x64
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
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:2884:
../../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/pieter/.node-gyp/14.12.0/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/pieter/.node-gyp/14.12.0/include/node/v8config.h:402:39: note: expanded from macro 'V8_DEPRECATE_SOON'
# define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
                                      ^
1 warning generated.
  SOLINK_MODULE(target) Release/fse.node
  COPY /Users/pieter/Dropbox (IPOfI)/werk/projects/smalldata/smalldata/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64/fse.node
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `printf '%s\\n' 'cmd_/Users/pieter/Dropbox?(IPOfI)/werk/projects/smalldata/smalldata/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64/fse.node := rm -rf \"/Users/pieter/Dropbox (IPOfI)/werk/projects/smalldata/smalldata/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64/fse.node\" && cp -af \"Release/fse.node\" \"/Users/pieter/Dropbox (IPOfI)/werk/projects/smalldata/smalldata/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64/fse.node\"' > ./Release/.deps//Users/pieter/Dropbox?(IPOfI)/werk/projects/smalldata/smalldata/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64/fse.node.d'
make: *** [/Users/pieter/Dropbox (IPOfI)/werk/projects/smalldata/smalldata/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64/fse.node] Error 2
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/pieter/Dropbox (IPOfI)/werk/projects/smalldata/smalldata/node_modules/node-gyp/lib/build.js:262:23)
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/Cellar/node/14.12.0/bin/node\" \"/Users/pieter/Dropbox (IPOfI)/werk/projects/smalldata/smalldata/node_modules/node-gyp/bin/node-gyp.js\" \"build\" \"--fallback-to-build\" \"--module=/Users/pieter/Dropbox (IPOfI)/werk/projects/smalldata/smalldata/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64/fse.node\" \"--module_name=fse\" \"--module_path=/Users/pieter/Dropbox (IPOfI)/werk/projects/smalldata/smalldata/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64\" \"--napi_version=7\" \"--node_abi_napi=napi\" \"--napi_build_version=0\" \"--node_napi_label=node-v83\"
gyp ERR! cwd /Users/pieter/Dropbox (IPOfI)/werk/projects/smalldata/smalldata/node_modules/fsevents
gyp ERR! node -v v14.12.0
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/Cellar/node/14.12.0/bin/node /Users/pieter/Dropbox (IPOfI)/werk/projects/smalldata/smalldata/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/pieter/Dropbox (IPOfI)/werk/projects/smalldata/smalldata/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64/fse.node --module_name=fse --module_path=/Users/pieter/Dropbox (IPOfI)/werk/projects/smalldata/smalldata/node_modules/fsevents/lib/binding/Release/node-v83-darwin-x64 --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/pieter/Dropbox (IPOfI)/werk/projects/smalldata/smalldata/node_modules/fsevents/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/Cellar/node/14.12.0/bin/node\" \"/Users/pieter/Dropbox (IPOfI)/werk/projects/smalldata/smalldata/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"
node-pre-gyp ERR! cwd /Users/pieter/Dropbox (IPOfI)/werk/projects/smalldata/smalldata/node_modules/fsevents
node-pre-gyp ERR! node -v v14.12.0
node-pre-gyp ERR! node-pre-gyp -v v0.12.0
node-pre-gyp ERR! not ok 
Failed to execute '/usr/local/Cellar/node/14.12.0/bin/node /Users/pieter/Dropbox (IPOfI)/werk/projects/smalldata/smalldata/node_modules/node-gyp/bin/node-gyp.js build --fallbackโœจ  Done in 217.87s.
pieterprovoost commented 4 years ago

Removed yarn.lock.