Closed roblevintennis closed 4 years ago
Fwiw, I just pulled the lastest and it does not compile for me...I did yarn install
which failed, so probably ignore the yarn start
downwards as that obviously couldn't work if the install is failing...
~/toys/react-flexbox-grid (master) $ yarn
yarn install v1.19.1
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 🔨 Building fresh packages...
[1/3] ⠠ fsevents
[2/3] ⠠ phantomjs-prebuilt
warning Error running install script for optional dependency: "/Users/roblevin/toys/react-flexbox-grid/node_modules/fsevents: Command failed.
Exit code: 1
Command: node-pre-gyp install --fallback-to-build
Arguments:
Directory: /Users/roblevin/toys/react-flexbox-grid/node_modules/fsevents
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using node-pre-gyp@0.6.33
node-pre-gyp info using node@10.16.3 | darwin | x64
node-pre-gyp info check checked for \"/Users/roblevin/toys/react-flexbox-grid/node_modules/fsevents/lib/binding/Release/node-v64-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-v64-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-v64-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-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.0.17 and node@10.16.3 (node-v64 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-v64-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-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.0.17 and node@10.16.3 (node-v64 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 node-gyp@3.5.0
gyp info using node@10.16.3 | darwin | x64
gyp info it worked if it ends with ok
gyp info using node-gyp@3.5.0
gyp info using node@10.16.3 | darwin | x64
gyp info ok
gyp info ok
gyp info it worked if it ends with ok
gyp info it worked if it ends with ok
gyp info using node-gyp@3.5.0
gyp info using node@10.16.3 | darwin | x64
gyp info using node-gyp@3.5.0
gyp info using node@10.16.3 | darwin | x64
gypgyp info spawninfo /usr/bin/python
spawn /usr/bin/python
gyp info spawn args [ '/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/gyp_main.py',
gypgyp info infospawn args 'binding.gyp',
spawn argsgyp [ '/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/gyp_main.py',
gyp infoinfo spawn args 'binding.gyp',
gypspawn args info '-f',
gypspawn args '-f',
gypinfo infospawn args 'make',
spawn argsgyp 'make',
infogyp spawn args '-I',
infogyp infospawn args spawn args '-I',
'/Users/roblevin/toys/react-flexbox-grid/node_modules/fsevents/build/config.gypi',
gypgyp infoinfo spawn args '-I',
spawn argsgyp '/Users/roblevin/toys/react-flexbox-grid/node_modules/fsevents/build/config.gypi',
info gypspawn args info '/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/addon.gypi',
gypspawn args '-I',
gypinfo info spawn argsspawn args '/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/addon.gypi',
'-I',
gyp gypinfo spawn argsinfo '-I',
gyp spawn argsinfo '/Users/roblevin/.node-gyp/10.16.3/include/node/common.gypi',
spawn argsgyp '/Users/roblevin/.node-gyp/10.16.3/include/node/common.gypi',
gyp infoinfo spawn argsspawn args '-Dlibrary=shared_library',
'-Dlibrary=shared_library',
gyp gypinfo info spawn argsspawn args '-Dvisibility=default',
'-Dvisibility=default',
gypgyp infoinfo spawn argsspawn args '-Dnode_root_dir=/Users/roblevin/.node-gyp/10.16.3',
'-Dnode_root_dir=/Users/roblevin/.node-gyp/10.16.3',
gypgyp infoinfo spawn argsspawn args '-Dnode_gyp_dir=/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp',
'-Dnode_gyp_dir=/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp',
gypgyp infoinfo spawn argsspawn args '-Dnode_lib_file=node.lib',
gyp '-Dnode_lib_file=node.lib',
gypinfo spawn argsinfo '-Dmodule_root_dir=/Users/roblevin/toys/react-flexbox-grid/node_modules/fsevents',
gyp spawn argsinfo '-Dmodule_root_dir=/Users/roblevin/toys/react-flexbox-grid/node_modules/fsevents',
spawn args '--depth=.',
gypgyp infoinfo spawn argsspawn args '--no-parallel',
gyp '--depth=.',
infogyp spawn argsinfo '--generator-output',
gyp spawn argsinfo '--no-parallel',
spawn argsgyp 'build',
gypinfo infospawn args '--generator-output',
spawn args '-Goutput_dir=.' ]
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
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 \"/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/gyp_main.py\", line 16, in <module>
Traceback (most recent call last):
File \"/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/gyp_main.py\", line 16, in <module>
sys.exit(gyp.script_main())
File \"/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/pylib/gyp/__init__.py\", line 545, in script_main
sys.exit(gyp.script_main())
File \"/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/pylib/gyp/__init__.py\", line 545, in script_main
return main(sys.argv[1:])
File \"/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/pylib/gyp/__init__.py\", line 538, in main
return main(sys.argv[1:])
File \"/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/pylib/gyp/__init__.py\", line 538, in main
return gyp_main(args)
File \"/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/pylib/gyp/__init__.py\", line 523, in gyp_main
return gyp_main(args)
File \"/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/pylib/gyp/__init__.py\", line 523, in gyp_main
generator.GenerateOutput(flat_list, targets, data, params)
File \"/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py\", line 2170, in GenerateOutput
generator.GenerateOutput(flat_list, targets, data, params)
File \"/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py\", line 2170, in GenerateOutput
part_of_all=qualified_target in needed_targets)
File \"/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py\", line 795, in Write
part_of_all=qualified_target in needed_targets)
File \"/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py\", line 795, in Write
self.Pchify))
File \"/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py\", line 1190, in WriteSources
self.Pchify))
File \"/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py\", line 1190, in WriteSources
cflags = self.xcode_settings.GetCflags(configname)
File \"/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 551, in GetCflags
cflags = self.xcode_settings.GetCflags(configname)
File \"/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 551, in GetCflags
archs = self.GetActiveArchs(self.configname)
File \"/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 420, in GetActiveArchs
archs = self.GetActiveArchs(self.configname)
File \"/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 420, in GetActiveArchs
xcode_archs_default = GetXcodeArchsDefault()
File \"/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 118, in GetXcodeArchsDefault
xcode_archs_default = GetXcodeArchsDefault()
File \"/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 118, in GetXcodeArchsDefault
xcode_version, _ = XcodeVersion()
File \"/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 1265, in XcodeVersion
xcode_version, _ = XcodeVersion()
File \"/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 1265, in XcodeVersion
version = re.match(r'(\\d\\.\\d\\.?\\d*)', version).groups()[0]
version = re.match(r'(\\d\\.\\d\\.?\\d*)', version).groups()[0]
AttributeError: 'NoneType' object has no attribute 'groups'
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/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/lib/configure.js:308:16)
gyp ERR! stack at ChildProcess.emit (events.js:198:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! configure error
gyp ERR! System Darwin 18.7.0
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/lib/configure.js:308:16)
gyp ERR! stackgyp at ChildProcess.emit (events.js:198:13)
ERR!gyp command ERR! stack \"/Users/roblevin/.nvm/versions/node/v10.16.3/bin/node\" \"/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/bin/node-gyp.js\" \"configure\" \"--fallback-to-build\" \"--module=/Users/roblevin/toys/react-flexbox-grid/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node\" \"--module_name=fse\" \"--module_path=/Users/roblevin/toys/react-flexbox-grid/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64\"
at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! cwd /Users/roblevin/toys/react-flexbox-grid/node_modules/fsevents
gyp ERR! node -v v10.16.3
gyp ERR! gypnode-gyp -v v3.5.0
ERR!gyp SystemERR! Darwin 18.7.0
not ok
gyp ERR! command \"/Users/roblevin/.nvm/versions/node/v10.16.3/bin/node\" \"/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/bin/node-gyp.js\" \"configure\" \"--fallback-to-build\" \"--module=/Users/roblevin/toys/react-flexbox-grid/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node\" \"--module_name=fse\" \"--module_path=/Users/roblevin/toys/react-flexbox-grid/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64\"
gyp ERR! cwd /Users/roblevin/toys/react-flexbox-grid/node_modules/fsevents
gyp ERR! node -v v10.16.3
gyp ERR! node-gyp -v v3.5.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/Users/roblevin/.nvm/versions/node/v10.16.3/bin/node /Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/roblevin/toys/react-flexbox-grid/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node --module_name=fse --module_path=/Users/roblevin/toys/react-flexbox-grid/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/Users/roblevin/toys/react-flexbox-grid/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:198:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:982:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
node-pre-gyp ERR! System Darwin 18.7.0
node-pre-gyp ERR! command \"/Users/roblevin/.nvm/versions/node/v10.16.3/bin/node\" \"/Users/roblevin/toys/react-flexbox-grid/node_modules/fsevents/node_modules/.bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"
node-pre-gyp ERR! cwd /Users/roblevin/toys/react-flexbox-grid/node_modules/fsevents
node-pre-gyp ERR! node -v v10.16.3
node-pre-gyp ERR! node-pre-gyp -v v0.6.33
node-pre-gyp ERR! not ok
Failed to execute '/Users/roblevin/.nvm/versions/node/v10.16.3/bin/node /Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/roblevin/toys/react-flexbox-grid/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node --module_name=fse [-/3] ⠂ waiting...
[2/3] ⠂ phantomjs-prebuilt
error /Users/roblevin/toys/react-flexbox-grid/node_modules/node-sass: Command failed.
Exit code: 1
Command: node scripts/build.js
Arguments:
Directory: /Users/roblevin/toys/react-flexbox-grid/node_modules/node-sass
Output:
Building: /Users/roblevin/.nvm/versions/node/v10.16.3/bin/node /Users/roblevin/toys/react-flexbox-grid/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 [ '/Users/roblevin/.nvm/versions/node/v10.16.3/bin/node',
gyp verb cli '/Users/roblevin/toys/react-flexbox-grid/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 info using node-gyp@3.5.0
gyp info using node@10.16.3 | 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` failed Error: not found: python2
gyp verb `which` failed at getNotFoundError (/Users/roblevin/toys/react-flexbox-grid/node_modules/which/which.js:13:12)
gyp verb `which` failed at F (/Users/roblevin/toys/react-flexbox-grid/node_modules/which/which.js:68:19)
gyp verb `which` failed at E (/Users/roblevin/toys/react-flexbox-grid/node_modules/which/which.js:80:29)
gyp verb `which` failed at /Users/roblevin/toys/react-flexbox-grid/node_modules/which/which.js:89:16
gyp verb `which` failed at /Users/roblevin/toys/react-flexbox-grid/node_modules/isexe/index.js:44:5
gyp verb `which` failed at /Users/roblevin/toys/react-flexbox-grid/node_modules/isexe/access.js:8:5
gyp verb `which` failed at FSReqWrap.args [as oncomplete] (fs.js:140:20)
gyp verb `which` failed python2 { Error: not found: python2
gyp verb `which` failed at getNotFoundError (/Users/roblevin/toys/react-flexbox-grid/node_modules/which/which.js:13:12)
gyp verb `which` failed at F (/Users/roblevin/toys/react-flexbox-grid/node_modules/which/which.js:68:19)
gyp verb `which` failed at E (/Users/roblevin/toys/react-flexbox-grid/node_modules/which/which.js:80:29)
gyp verb `which` failed at /Users/roblevin/toys/react-flexbox-grid/node_modules/which/which.js:89:16
gyp verb `which` failed at /Users/roblevin/toys/react-flexbox-grid/node_modules/isexe/index.js:44:5
gyp verb `which` failed at /Users/roblevin/toys/react-flexbox-grid/node_modules/isexe/access.js:8:5
gyp verb `which` failed at FSReqWrap.args [as oncomplete] (fs.js:140:20) code: 'ENOENT' }
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` succeeded python /usr/bin/python
gyp verb check python version `/usr/bin/python -c "import platform; print(platform.python_version());"` returned: "2.7.10\n"
gyp verb get node dir no --target version specified, falling back to host node version: 10.16.3
gyp verb command install [ '10.16.3' ]
gyp verb install input version string "10.16.3"
gyp verb install installing version: 10.16.3
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: 10.16.3
gyp verb build dir attempting to create "build" dir: /Users/roblevin/toys/react-flexbox-grid/node_modules/node-sass/build
gyp verb build dir "build" dir needed to be created? /Users/roblevin/toys/react-flexbox-grid/node_modules/node-sass/build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: /Users/roblevin/toys/react-flexbox-grid/node_modules/node-sass/build/config.gypi
gyp verb config.gypi checking for gypi file: /Users/roblevin/toys/react-flexbox-grid/node_modules/node-sass/config.gypi
gyp verb common.gypi checking for gypi file: /Users/roblevin/toys/react-flexbox-grid/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 [ '/Users/roblevin/toys/react-flexbox-grid/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/roblevin/toys/react-flexbox-grid/node_modules/node-sass/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/roblevin/.node-gyp/10.16.3/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/roblevin/.node-gyp/10.16.3',
gyp info spawn args '-Dnode_gyp_dir=/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/roblevin/toys/react-flexbox-grid/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=.' ]
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/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/gyp_main.py", line 16, in <module>
sys.exit(gyp.script_main())
File "/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 545, in script_main
return main(sys.argv[1:])
File "/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 538, in main
return gyp_main(args)
File "/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 523, in gyp_main
generator.GenerateOutput(flat_list, targets, data, params)
File "/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 2170, in GenerateOutput
part_of_all=qualified_target in needed_targets)
File "/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 795, in Write
self.Pchify))
File "/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 1190, in WriteSources
cflags = self.xcode_settings.GetCflags(configname)
File "/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 551, in GetCflags
archs = self.GetActiveArchs(self.configname)
File "/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 420, in GetActiveArchs
xcode_archs_default = GetXcodeArchsDefault()
File "/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 118, in GetXcodeArchsDefault
xcode_version, _ = XcodeVersion()
File "/Users/roblevin/toys/react-flexbox-grid/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/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/lib/configure.js:308:16)
gyp ERR! stack at ChildProcess.emit (events.js:198:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Darwin 18.7.0
gyp ERR! command "/Users/roblevin/.nvm/versions/node/v10.16.3/bin/node" "/Users/roblevin/toys/react-flexbox-grid/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /Users/roblevin/toys/react-flexbox-grid/node_modules/node-sass
gyp ERR! node -v v10.16.3
gyp ERR! node-gyp -v v3.5.0
gyp ERR! not ok
~/toys/react-flexbox-grid (master) $ yarn start
yarn run v1.19.1
$ cross-env NODE_ENV=development UV_THREADPOOL_SIZE=100 node ./server
/Users/roblevin/toys/react-flexbox-grid/spec/index.html
Listening at http://0.0.0.0:8080
webpack built ce2bb130499c93f0f5e2 in 1673ms
Hash: ce2bb130499c93f0f5e2
Version: webpack 1.15.0
Time: 1673ms
Asset Size Chunks Chunk Names
spec.js 2.18 MB 0 main
chunk {0} spec.js (main) 802 kB [rendered]
[0] multi main 40 bytes {0} [built]
[1] (webpack)-hot-middleware/client.js 6.68 kB {0} [built]
[2] (webpack)/buildin/module.js 251 bytes {0} [built]
[3] ./~/strip-ansi/index.js 161 bytes {0} [built]
[4] ./~/ansi-regex/index.js 135 bytes {0} [built]
[5] (webpack)-hot-middleware/client-overlay.js 1.82 kB {0} [built]
[6] ./~/ansi-html/index.js 4.26 kB {0} [built]
[7] ./~/html-entities/index.js 231 bytes {0} [built]
[8] ./~/html-entities/lib/xml-entities.js 2.98 kB {0} [built]
[9] ./~/html-entities/lib/html4-entities.js 6.57 kB {0} [built]
[10] ./~/html-entities/lib/html5-entities.js 49 kB {0} [built]
[11] (webpack)-hot-middleware/process-update.js 3.88 kB {0} [built]
[12] ./spec/index.js 484 bytes {0} [built]
[13] ./~/react/react.js 56 bytes {0} [built]
[14] ./~/react/lib/React.js 3.32 kB {0} [built]
[15] ./~/object-assign/index.js 2.11 kB {0} [built]
[16] ./~/react/lib/ReactChildren.js 6.19 kB {0} [built]
[17] ./~/react/lib/PooledClass.js 3.36 kB {0} [built]
[18] ./~/react/lib/reactProdInvariant.js 1.24 kB {0} [built]
[19] ./~/fbjs/lib/invariant.js 1.63 kB {0} [built]
[20] ./~/react/lib/ReactElement.js 11.2 kB {0} [built]
[21] ./~/react/lib/ReactCurrentOwner.js 623 bytes {0} [built]
[22] ./~/fbjs/lib/warning.js 2.1 kB {0} [built]
[23] ./~/fbjs/lib/emptyFunction.js 1.08 kB {0} [built]
[24] ./~/react/lib/canDefineProperty.js 661 bytes {0} [built]
[25] ./~/react/lib/ReactElementSymbol.js 622 bytes {0} [built]
[26] ./~/react/lib/traverseAllChildren.js 7.03 kB {0} [built]
[27] ./~/react/lib/getIteratorFn.js 1.12 kB {0} [built]
[28] ./~/react/lib/KeyEscapeUtils.js 1.29 kB {0} [built]
[29] ./~/react/lib/ReactComponent.js 4.61 kB {0} [built]
[30] ./~/react/lib/ReactNoopUpdateQueue.js 3.36 kB {0} [built]
[31] ./~/fbjs/lib/emptyObject.js 458 bytes {0} [built]
[32] ./~/react/lib/ReactPureComponent.js 1.32 kB {0} [built]
[33] ./~/react/lib/ReactClass.js 26.9 kB {0} [built]
[34] ./~/react/lib/ReactPropTypeLocationNames.js 572 bytes {0} [built]
[35] ./~/react/lib/ReactDOMFactories.js 5.53 kB {0} [built]
[36] ./~/react/lib/ReactElementValidator.js 8.92 kB {0} [built]
[37] ./~/react/lib/ReactComponentTreeHook.js 10.4 kB {0} [built]
[38] ./~/react/lib/checkReactTypeSpec.js 4.19 kB {0} [built]
[39] ./~/process/browser.js 5.3 kB {0} [built]
[40] ./~/react/lib/ReactPropTypesSecret.js 442 bytes {0} [built]
[41] ./~/react/lib/ReactPropTypes.js 500 bytes {0} [built]
[42] ./~/prop-types/factory.js 890 bytes {0} [built]
[43] ./~/prop-types/factoryWithTypeCheckers.js 17.6 kB {0} [built]
[44] ./~/prop-types/lib/ReactPropTypesSecret.js 436 bytes {0} [built]
[45] ./~/prop-types/checkPropTypes.js 2.94 kB {0} [built]
[46] ./~/react/lib/ReactVersion.js 350 bytes {0} [built]
[47] ./~/react/lib/onlyChild.js 1.34 kB {0} [built]
[48] ./~/react-dom/index.js 59 bytes {0} [built]
[49] ./~/react-dom/lib/ReactDOM.js 5.14 kB {0} [built]
[50] ./~/react-dom/lib/ReactDOMComponentTree.js 6.27 kB {0} [built]
[51] ./~/react-dom/lib/reactProdInvariant.js 1.24 kB {0} [built]
[52] ./~/react-dom/lib/DOMProperty.js 8.24 kB {0} [built]
[53] ./~/react-dom/lib/ReactDOMComponentFlags.js 429 bytes {0} [built]
[54] ./~/react-dom/lib/ReactDefaultInjection.js 3.5 kB {0} [built]
[55] ./~/react-dom/lib/ARIADOMPropertyConfig.js 1.82 kB {0} [built]
[56] ./~/react-dom/lib/BeforeInputEventPlugin.js 13.3 kB {0} [built]
[57] ./~/react-dom/lib/EventPropagators.js 5.09 kB {0} [built]
[58] ./~/react-dom/lib/EventPluginHub.js 9.11 kB {0} [built]
[59] ./~/react-dom/lib/EventPluginRegistry.js 9.75 kB {0} [built]
[60] ./~/react-dom/lib/EventPluginUtils.js 7.95 kB {0} [built]
[61] ./~/react-dom/lib/ReactErrorUtils.js 2.19 kB {0} [built]
[62] ./~/react-dom/lib/accumulateInto.js 1.69 kB {0} [built]
[63] ./~/react-dom/lib/forEachAccumulated.js 855 bytes {0} [built]
[64] ./~/fbjs/lib/ExecutionEnvironment.js 1.06 kB {0} [built]
[65] ./~/react-dom/lib/FallbackCompositionState.js 2.43 kB {0} [built]
[66] ./~/react-dom/lib/PooledClass.js 3.36 kB {0} [built]
[67] ./~/react-dom/lib/getTextContentAccessor.js 955 bytes {0} [built]
[68] ./~/react-dom/lib/SyntheticCompositionEvent.js 1.1 kB {0} [built]
[69] ./~/react-dom/lib/SyntheticEvent.js 9.18 kB {0} [built]
[70] ./~/react-dom/lib/SyntheticInputEvent.js 1.09 kB {0} [built]
[71] ./~/react-dom/lib/ChangeEventPlugin.js 11.8 kB {0} [built]
[72] ./~/react-dom/lib/ReactUpdates.js 9.53 kB {0} [built]
[73] ./~/react-dom/lib/CallbackQueue.js 3.16 kB {0} [built]
[74] ./~/react-dom/lib/ReactFeatureFlags.js 628 bytes {0} [built]
[75] ./~/react-dom/lib/ReactReconciler.js 6.21 kB {0} [built]
[76] ./~/react-dom/lib/ReactRef.js 2.56 kB {0} [built]
[77] ./~/react-dom/lib/ReactOwner.js 3.53 kB {0} [built]
[78] ./~/react-dom/lib/ReactInstrumentation.js 601 bytes {0} [built]
[79] ./~/react-dom/lib/ReactDebugTool.js 11.6 kB {0} [built]
[80] ./~/react-dom/lib/ReactInvalidSetStateWarningHook.js 984 bytes {0} [built]
[81] ./~/react-dom/lib/ReactHostOperationHistoryHook.js 736 bytes {0} [built]
[82] ./~/fbjs/lib/performanceNow.js 845 bytes {0} [built]
[83] ./~/fbjs/lib/performance.js 588 bytes {0} [built]
[84] ./~/react-dom/lib/Transaction.js 9.45 kB {0} [built]
[85] ./~/react-dom/lib/getEventTarget.js 1.01 kB {0} [built]
[86] ./~/react-dom/lib/isEventSupported.js 1.94 kB {0} [built]
[87] ./~/react-dom/lib/isTextInputElement.js 1.04 kB {0} [built]
[88] ./~/react-dom/lib/DefaultEventPluginOrder.js 1.08 kB {0} [built]
[89] ./~/react-dom/lib/EnterLeaveEventPlugin.js 3.16 kB {0} [built]
[90] ./~/react-dom/lib/SyntheticMouseEvent.js 2.14 kB {0} [built]
[91] ./~/react-dom/lib/SyntheticUIEvent.js 1.57 kB {0} [built]
[92] ./~/react-dom/lib/ViewportMetrics.js 606 bytes {0} [built]
[93] ./~/react-dom/lib/getEventModifierState.js 1.23 kB {0} [built]
[94] ./~/react-dom/lib/HTMLDOMPropertyConfig.js 6.57 kB {0} [built]
[95] ./~/react-dom/lib/ReactComponentBrowserEnvironment.js 906 bytes {0} [built]
[96] ./~/react-dom/lib/DOMChildrenOperations.js 7.67 kB {0} [built]
[97] ./~/react-dom/lib/DOMLazyTree.js 3.71 kB {0} [built]
[98] ./~/react-dom/lib/DOMNamespaces.js 505 bytes {0} [built]
[99] ./~/react-dom/lib/setInnerHTML.js 3.86 kB {0} [built]
[100] ./~/react-dom/lib/createMicrosoftUnsafeLocalFunction.js 810 bytes {0} [built]
[101] ./~/react-dom/lib/setTextContent.js 1.45 kB {0} [built]
[102] ./~/react-dom/lib/escapeTextContentForBrowser.js 3.43 kB {0} [built]
[103] ./~/react-dom/lib/Danger.js 2.24 kB {0} [built]
[104] ./~/fbjs/lib/createNodesFromMarkup.js 2.66 kB {0} [built]
[105] ./~/fbjs/lib/createArrayFromMixed.js 4.11 kB {0} [built]
[106] ./~/fbjs/lib/getMarkupWrap.js 3.04 kB {0} [built]
[107] ./~/react-dom/lib/ReactDOMIDOperations.js 956 bytes {0} [built]
[108] ./~/react-dom/lib/ReactDOMComponent.js 38.5 kB {0} [built]
[109] ./~/react-dom/lib/AutoFocusUtils.js 599 bytes {0} [built]
[110] ./~/fbjs/lib/focusNode.js 704 bytes {0} [built]
[111] ./~/react-dom/lib/CSSPropertyOperations.js 6.87 kB {0} [built]
[112] ./~/react-dom/lib/CSSProperty.js 3.66 kB {0} [built]
[113] ./~/fbjs/lib/camelizeStyleName.js 1 kB {0} [built]
[114] ./~/fbjs/lib/camelize.js 708 bytes {0} [built]
[115] ./~/react-dom/lib/dangerousStyleValue.js 3.02 kB {0} [built]
[116] ./~/fbjs/lib/hyphenateStyleName.js 974 bytes {0} [built]
[117] ./~/fbjs/lib/hyphenate.js 800 bytes {0} [built]
[118] ./~/fbjs/lib/memoizeStringOnly.js 698 bytes {0} [built]
[119] ./~/react-dom/lib/DOMPropertyOperations.js 7.61 kB {0} [built]
[120] ./~/react-dom/lib/quoteAttributeValueForBrowser.js 700 bytes {0} [built]
[121] ./~/react-dom/lib/ReactBrowserEventEmitter.js 12.6 kB {0} [built]
[122] ./~/react-dom/lib/ReactEventEmitterMixin.js 959 bytes {0} [built]
[123] ./~/react-dom/lib/getVendorPrefixedEventName.js 2.87 kB {0} [built]
[124] ./~/react-dom/lib/ReactDOMInput.js 13 kB {0} [built]
[125] ./~/react-dom/lib/LinkedValueUtils.js 5.25 kB {0} [built]
[126] ./~/react-dom/lib/ReactPropTypesSecret.js 442 bytes {0} [built]
[127] ./~/react-dom/lib/ReactDOMOption.js 3.69 kB {0} [built]
[128] ./~/react-dom/lib/ReactDOMSelect.js 6.81 kB {0} [built]
[129] ./~/react-dom/lib/ReactDOMTextarea.js 6.46 kB {0} [built]
[130] ./~/react-dom/lib/ReactMultiChild.js 14.6 kB {0} [built]
[131] ./~/react-dom/lib/ReactComponentEnvironment.js 1.3 kB {0} [built]
[132] ./~/react-dom/lib/ReactInstanceMap.js 1.22 kB {0} [built]
[133] ./~/react-dom/lib/ReactChildReconciler.js 6.11 kB {0} [built]
[134] ./~/react-dom/lib/instantiateReactComponent.js 5.06 kB {0} [built]
[135] ./~/react-dom/lib/ReactCompositeComponent.js 35.2 kB {0} [built]
[136] ./~/react-dom/lib/ReactNodeTypes.js 1.02 kB {0} [built]
[137] ./~/react-dom/lib/checkReactTypeSpec.js 4.21 kB {0} [built]
[138] ./~/react-dom/lib/ReactPropTypeLocationNames.js 572 bytes {0} [built]
[139] ./~/fbjs/lib/shallowEqual.js 1.74 kB {0} [built]
[140] ./~/react-dom/lib/shouldUpdateReactComponent.js 1.4 kB {0} [built]
[141] ./~/react-dom/lib/ReactEmptyComponent.js 704 bytes {0} [built]
[142] ./~/react-dom/lib/ReactHostComponent.js 1.98 kB {0} [built]
[143] ./~/react/lib/getNextDebugID.js 437 bytes {0} [built]
[144] ./~/react-dom/lib/KeyEscapeUtils.js 1.29 kB {0} [built]
[145] ./~/react-dom/lib/traverseAllChildren.js 7.04 kB {0} [built]
[146] ./~/react-dom/lib/ReactElementSymbol.js 622 bytes {0} [built]
[147] ./~/react-dom/lib/getIteratorFn.js 1.12 kB {0} [built]
[148] ./~/react-dom/lib/flattenChildren.js 2.77 kB {0} [built]
[149] ./~/react-dom/lib/ReactServerRenderingTransaction.js 2.29 kB {0} [built]
[150] ./~/react-dom/lib/ReactServerUpdateQueue.js 4.83 kB {0} [built]
[151] ./~/react-dom/lib/ReactUpdateQueue.js 9.36 kB {0} [built]
[152] ./~/react-dom/lib/validateDOMNesting.js 13.7 kB {0} [built]
[153] ./~/react-dom/lib/ReactDOMEmptyComponent.js 1.9 kB {0} [built]
[154] ./~/react-dom/lib/ReactDOMTreeTraversal.js 3.72 kB {0} [built]
[155] ./~/react-dom/lib/ReactDOMTextComponent.js 5.82 kB {0} [built]
[156] ./~/react-dom/lib/ReactDefaultBatchingStrategy.js 1.88 kB {0} [built]
[157] ./~/react-dom/lib/ReactEventListener.js 5.3 kB {0} [built]
[158] ./~/fbjs/lib/EventListener.js 2.67 kB {0} [built]
[159] ./~/fbjs/lib/getUnboundedScrollPosition.js 1.12 kB {0} [built]
[160] ./~/react-dom/lib/ReactInjection.js 1.2 kB {0} [built]
[161] ./~/react-dom/lib/ReactReconcileTransaction.js 5.26 kB {0} [built]
[162] ./~/react-dom/lib/ReactInputSelection.js 4.27 kB {0} [built]
[163] ./~/react-dom/lib/ReactDOMSelection.js 6.78 kB {0} [built]
[164] ./~/react-dom/lib/getNodeForCharacterOffset.js 1.62 kB {0} [built]
[165] ./~/fbjs/lib/containsNode.js 1.05 kB {0} [built]
[166] ./~/fbjs/lib/isTextNode.js 605 bytes {0} [built]
[167] ./~/fbjs/lib/isNode.js 828 bytes {0} [built]
[168] ./~/fbjs/lib/getActiveElement.js 1.04 kB {0} [built]
[169] ./~/react-dom/lib/SVGDOMPropertyConfig.js 7.32 kB {0} [built]
[170] ./~/react-dom/lib/SelectEventPlugin.js 6.06 kB {0} [built]
[171] ./~/react-dom/lib/SimpleEventPlugin.js 7.97 kB {0} [built]
[172] ./~/react-dom/lib/SyntheticAnimationEvent.js 1.21 kB {0} [built]
[173] ./~/react-dom/lib/SyntheticClipboardEvent.js 1.17 kB {0} [built]
[174] ./~/react-dom/lib/SyntheticFocusEvent.js 1.07 kB {0} [built]
[175] ./~/react-dom/lib/SyntheticKeyboardEvent.js 2.71 kB {0} [built]
[176] ./~/react-dom/lib/getEventCharCode.js 1.5 kB {0} [built]
[177] ./~/react-dom/lib/getEventKey.js 2.87 kB {0} [built]
[178] ./~/react-dom/lib/SyntheticDragEvent.js 1.07 kB {0} [built]
[179] ./~/react-dom/lib/SyntheticTouchEvent.js 1.28 kB {0} [built]
[180] ./~/react-dom/lib/SyntheticTransitionEvent.js 1.23 kB {0} [built]
[181] ./~/react-dom/lib/SyntheticWheelEvent.js 1.94 kB {0} [built]
[182] ./~/react-dom/lib/ReactMount.js 25.5 kB {0} [built]
[183] ./~/react-dom/lib/ReactDOMContainerInfo.js 967 bytes {0} [built]
[184] ./~/react-dom/lib/ReactDOMFeatureFlags.js 439 bytes {0} [built]
[185] ./~/react-dom/lib/ReactMarkupChecksum.js 1.47 kB {0} [built]
[186] ./~/react-dom/lib/adler32.js 1.19 kB {0} [built]
[187] ./~/react-dom/lib/ReactVersion.js 350 bytes {0} [built]
[188] ./~/react-dom/lib/findDOMNode.js 2.46 kB {0} [built]
[189] ./~/react-dom/lib/getHostComponentFromComposite.js 740 bytes {0} [built]
[190] ./~/react-dom/lib/renderSubtreeIntoContainer.js 422 bytes {0} [built]
[191] ./~/react-dom/lib/ReactDOMUnknownPropertyHook.js 4.32 kB {0} [built]
[192] ./~/react-dom/lib/ReactDOMNullInputValuePropHook.js 1.37 kB {0} [built]
[193] ./~/react-dom/lib/ReactDOMInvalidARIAHook.js 3.14 kB {0} [built]
[194] ./spec/root.js 1.51 kB {0} [built] [2 errors]
[196] ./src/index.js 897 bytes {0} [built]
[197] ./src/components/Row.js 1.87 kB {0} [built]
[198] ./src/classNames.js 474 bytes {0} [built] [1 error]
[200] ./~/prop-types/index.js 1.08 kB {0} [built]
[201] ./src/createProps.js 505 bytes {0} [built]
[202] ./src/types.js 578 bytes {0} [built]
[203] ./src/components/Col.js 2.72 kB {0} [built]
[204] ./src/components/Grid.js 1.09 kB {0} [built]
ERROR in ./spec/stylesheets/modules/box.scss
Module build failed: Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (64)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v3.13.1
at module.exports (/Users/roblevin/toys/react-flexbox-grid/node_modules/node-sass/lib/binding.js:13:13)
at Object.<anonymous> (/Users/roblevin/toys/react-flexbox-grid/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/Users/roblevin/toys/react-flexbox-grid/node_modules/sass-loader/index.js:4:12)
@ ./spec/root.js 7:11-47
ERROR in ./spec/stylesheets/base.scss
Module build failed: Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (64)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v3.13.1
at module.exports (/Users/roblevin/toys/react-flexbox-grid/node_modules/node-sass/lib/binding.js:13:13)
at Object.<anonymous> (/Users/roblevin/toys/react-flexbox-grid/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/Users/roblevin/toys/react-flexbox-grid/node_modules/sass-loader/index.js:4:12)
@ ./spec/root.js 20:0-29
ERROR in ./~/flexboxgrid2/flexboxgrid2.css
Module build failed: Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (64)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v3.13.1
at module.exports (/Users/roblevin/toys/react-flexbox-grid/node_modules/node-sass/lib/binding.js:13:13)
at Object.<anonymous> (/Users/roblevin/toys/react-flexbox-grid/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/Users/roblevin/toys/react-flexbox-grid/node_modules/sass-loader/index.js:4:12)
@ ./src/classNames.js 8:19-59
Child extract-text-webpack-plugin:
ERROR in Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (64)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v3.13.1
Child extract-text-webpack-plugin:
ERROR in Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (64)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v3.13.1
Child extract-text-webpack-plugin:
ERROR in Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (64)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v3.13.1
webpack: Failed to compile.
^C
~/toys/react-flexbox-grid (master) $
Pretty typical Macbook running Mojave 10.14.6 (18G95). I'll add my system info but my sense is the package.json deps just need to be brought up to latest versions and idioms. The raw source code still looks pretty solid to me 🤔
Model Name: MacBook Pro
Model Identifier: MacBookPro15,1
Processor Name: Intel Core i7
Processor Speed: 2.6 GHz
Number of Processors: 1
Total Number of Cores: 6
L2 Cache (per Core): 256 KB
L3 Cache: 12 MB
Hyper-Threading Technology: Enabled
Memory: 16 GB
Boot ROM Version: 220.270.99.0.0 (iBridge: 16.16.6571.0.0,0)
Tried yarn upgrade --latest
which suceeded, but running yarn
after still encounters errors:
~/toys/react-flexbox-grid (master) $ yarn
yarn install v1.19.1
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
warning " > babel-loader@8.0.6" has unmet peer dependency "@babel/core@^7.0.0".
warning " > eslint-config-airbnb@18.0.1" has unmet peer dependency "eslint-plugin-import@^2.18.2".
warning " > eslint-config-airbnb@18.0.1" has unmet peer dependency "eslint-plugin-jsx-a11y@^6.2.3".
warning " > eslint-config-airbnb@18.0.1" has unmet peer dependency "eslint-plugin-react-hooks@^1.7.0".
warning "eslint-config-airbnb > eslint-config-airbnb-base@14.0.0" has unmet peer dependency "eslint-plugin-import@^2.18.2".
warning " > extract-text-webpack-plugin@3.0.2" has incorrect peer dependency "webpack@^3.1.0".
warning " > react-addons-test-utils@15.6.2" has incorrect peer dependency "react-dom@^15.4.2".
[4/4] 🔨 Building fresh packages...
$ npm run build
npm WARN lifecycle The node binary used for scripts is /var/folders/d6/lsl4dszs27n7t4jcs744f6sr0000gn/T/yarn--1580072685721-0.17219405297200452/node but npm is using /Users/roblevin/.nvm/versions/node/v10.16.3/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.
> react-flexbox-grid@2.1.2 prebuild /Users/roblevin/toys/react-flexbox-grid
> npm run clean
npm WARN lifecycle The node binary used for scripts is /var/folders/d6/lsl4dszs27n7t4jcs744f6sr0000gn/T/yarn--1580072685721-0.17219405297200452/node but npm is using /Users/roblevin/.nvm/versions/node/v10.16.3/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.
> react-flexbox-grid@2.1.2 clean /Users/roblevin/toys/react-flexbox-grid
> rimraf ./lib
> react-flexbox-grid@2.1.2 build /Users/roblevin/toys/react-flexbox-grid
> cross-env NODE_ENV=production npm run compile
npm WARN lifecycle The node binary used for scripts is /var/folders/d6/lsl4dszs27n7t4jcs744f6sr0000gn/T/yarn--1580072685721-0.17219405297200452/node but npm is using /Users/roblevin/.nvm/versions/node/v10.16.3/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.
> react-flexbox-grid@2.1.2 compile /Users/roblevin/toys/react-flexbox-grid
> npm run compile:lib && npm run compile:dist
npm WARN lifecycle The node binary used for scripts is /var/folders/d6/lsl4dszs27n7t4jcs744f6sr0000gn/T/yarn--1580072685721-0.17219405297200452/node but npm is using /Users/roblevin/.nvm/versions/node/v10.16.3/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.
> react-flexbox-grid@2.1.2 compile:lib /Users/roblevin/toys/react-flexbox-grid
> rm -rf lib && ./node_modules/.bin/babel -d ./lib ./src
src/classNames.js -> lib/classNames.js
src/components/Col.js -> lib/components/Col.js
src/components/Grid.js -> lib/components/Grid.js
src/components/Row.js -> lib/components/Row.js
src/createProps.js -> lib/createProps.js
src/index.js -> lib/index.js
src/types.js -> lib/types.js
npm WARN lifecycle The node binary used for scripts is /var/folders/d6/lsl4dszs27n7t4jcs744f6sr0000gn/T/yarn--1580072685721-0.17219405297200452/node but npm is using /Users/roblevin/.nvm/versions/node/v10.16.3/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.
> react-flexbox-grid@2.1.2 compile:dist /Users/roblevin/toys/react-flexbox-grid
> rm -rf dist && cross-env ./node_modules/.bin/webpack
/Users/roblevin/toys/react-flexbox-grid/node_modules/webpack-cli/bin/cli.js:93
throw err;
^
TypeError: webpack.NoErrorsPlugin is not a constructor
at Object.<anonymous> (/Users/roblevin/toys/react-flexbox-grid/webpack.config.development.js:27:5)
at Module._compile (/Users/roblevin/toys/react-flexbox-grid/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (/Users/roblevin/toys/react-flexbox-grid/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
at Object.<anonymous> (/Users/roblevin/toys/react-flexbox-grid/webpack.config.js:3:27)
at Module._compile (/Users/roblevin/toys/react-flexbox-grid/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (/Users/roblevin/toys/react-flexbox-grid/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
at WEBPACK_OPTIONS (/Users/roblevin/toys/react-flexbox-grid/node_modules/webpack-cli/bin/utils/convert-argv.js:114:13)
at requireConfig (/Users/roblevin/toys/react-flexbox-grid/node_modules/webpack-cli/bin/utils/convert-argv.js:116:6)
at /Users/roblevin/toys/react-flexbox-grid/node_modules/webpack-cli/bin/utils/convert-argv.js:123:17
at Array.forEach (<anonymous>)
at module.exports (/Users/roblevin/toys/react-flexbox-grid/node_modules/webpack-cli/bin/utils/convert-argv.js:121:15)
at yargs.parse (/Users/roblevin/toys/react-flexbox-grid/node_modules/webpack-cli/bin/cli.js:71:45)
at Object.parse (/Users/roblevin/toys/react-flexbox-grid/node_modules/webpack-cli/node_modules/yargs/yargs.js:567:18)
at /Users/roblevin/toys/react-flexbox-grid/node_modules/webpack-cli/bin/cli.js:49:8
at Object.<anonymous> (/Users/roblevin/toys/react-flexbox-grid/node_modules/webpack-cli/bin/cli.js:366:3)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-flexbox-grid@2.1.2 compile:dist: `rm -rf dist && cross-env ./node_modules/.bin/webpack`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-flexbox-grid@2.1.2 compile:dist script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/roblevin/.npm/_logs/2020-01-26T21_05_31_956Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-flexbox-grid@2.1.2 compile: `npm run compile:lib && npm run compile:dist`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-flexbox-grid@2.1.2 compile script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/roblevin/.npm/_logs/2020-01-26T21_05_31_977Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-flexbox-grid@2.1.2 build: `cross-env NODE_ENV=production npm run compile`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-flexbox-grid@2.1.2 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/roblevin/.npm/_logs/2020-01-26T21_05_31_998Z-debug.log
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
~/toys/react-flexbox-grid (master) $
Like I mentioned, src/*
still looks pretty solid to me and I don't want to write this from scratch honestly haha. But, realistically, I'm just going to have to probably just pull this in to my own styleguide instance and hack on it directly 🤷♂
Yeah, it totally works great with a bit of reorg. I took src
and put it all in my react-styleguidist flattened with imports corrected and added flexgrid2 as a dep and setup the CSS Modules in webpack and it's working within like 20 minutes.
It's a bit sad that this isn't still under active development but I can empathize having done OS myself. It's only been a few days, so I'll wait to see if y'all are still active in here :)
We had a look at react-flexbox-grid today and my team quite likes the API it offers and especially that it uses CSS Modules. Are y'all still accepting PRs and/or maintaining this actively? Trying to elect between pulling down and repurposing (and of course leaving the MIT license and author info), or, ideally just forking and contributing back to you.
Please advise -- thanks.