Skip to content

Instantly share code, notes, and snippets.

@ashleydavis
Created April 15, 2021 10:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ashleydavis/a3c5a7d56b595cb33ccc41e5104c70c6 to your computer and use it in GitHub Desktop.
Save ashleydavis/a3c5a7d56b595cb33ccc41e5104c70c6 to your computer and use it in GitHub Desktop.
Issue running "yarn install" when setting up Parcel for development
yarn install v1.22.10
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
info fsevents@1.2.13: The platform "win32" is incompatible with this module.
info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@2.3.2: The platform "win32" is incompatible with this module.
info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
warning " > @parcel/babel-register@1.11.1" has unmet peer dependency "@babel/core@^7.0.0".
warning "workspace-aggregator-9caafabe-9e49-4f0d-8cec-f7ea4d35d2d2 > @parcel/babel-register > @babel/register@7.13.8" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "workspace-aggregator-9caafabe-9e49-4f0d-8cec-f7ea4d35d2d2 > @parcel/integration-tests > graphql-tag@2.10.1" has unmet peer dependency "graphql@^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0".
[5/5] Building fresh packages...
[1/4] ⠂ deasync
[2/4] ⠂ elm
[-/4] ⠂ waiting...
error C:\projects\market-wizard-2\parcel\node_modules\deasync: Command failed.
Exit code: 1
Command: node ./build.js
Arguments:
Directory: C:\projects\market-wizard-2\parcel\node_modules\deasync
Output:
gyp info it worked if it ends with ok
gyp info using node-gyp@3.8.0
gyp info using node@14.16.0 | win32 | x64
gyp info spawn C:\Python27\python.EXE
gyp info spawn args [
gyp info spawn args 'C:\\projects\\market-wizard-2\\parcel\\node_modules\\node-gyp\\gyp\\gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'msvs',
gyp info spawn args '-G',
gyp info spawn args 'msvs_version=2017',
gyp info spawn args '-I',
gyp info spawn args 'C:\\projects\\market-wizard-2\\parcel\\node_modules\\deasync\\build\\config.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\\projects\\market-wizard-2\\parcel\\node_modules\\node-gyp\\addon.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\\Users\\Ash\\.node-gyp\\14.16.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=C:\\Users\\Ash\\.node-gyp\\14.16.0',
gyp info spawn args '-Dnode_gyp_dir=C:\\projects\\market-wizard-2\\parcel\\node_modules\\node-gyp',
gyp info spawn args '-Dnode_lib_file=C:\\Users\\Ash\\.node-gyp\\14.16.0\\<(target_arch)\\node.lib',
gyp info spawn args '-Dmodule_root_dir=C:\\projects\\market-wizard-2\\parcel\\node_modules\\deasync',
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 'C:\\projects\\market-wizard-2\\parcel\\node_modules\\deasync\\build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
Traceback (most recent call last):
File "C:\projects\market-wizard-2\parcel\node_modules\node-gyp\gyp\gyp_main.py", line 16, in <module>
sys.exit(gyp.script_main())
File "C:\projects\market-wizard-2\parcel\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 545, in script_main
return main(sys.argv[1:])
File "C:\projects\market-wizard-2\parcel\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 538, in main
return gyp_main(args)
File "C:\projects\market-wizard-2\parcel\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 514, in gyp_main
options.duplicate_basename_check)
File "C:\projects\market-wizard-2\parcel\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 98, in Load
generator.CalculateVariables(default_variables, params)
File "C:\projects\market-wizard-2\parcel\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py", line 1916, in CalculateVariables
generator_flags.get('msvs_version', 'auto'))
File "C:\projects\market-wizard-2\parcel\node_modules\node-gyp\gyp\pylib\gyp\MSVSVersion.py", line 434, in SelectVisualStudioVersion
versions = _DetectVisualStudioVersions(version_map[version], 'e' in version)
KeyError: '2017'
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (C:\projects\market-wizard-2\parcel\node_modules\node-gyp\lib\configure.js:345: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 Windows_NT 10.0.19042
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\projects\\market-wizard-2\\parcel\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\projects\market-wizard-2\parcel\node_modules\deasync
gyp ERR! node -v v14.16.0
gyp ERR! node-gyp -v v3.8.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment