简体   繁体   English

Meteor JS - 无法下载程序包 - 找不到HTTP错误404

[英]Meteor JS - Package cannot be downloaded - HTTP error 404 Not Found

I am stuck now for weeks with the following compiling issue. 由于以下编译问题,我现在被困了几个星期。 Once I start to run it on local the following error occurs. 一旦我开始在本地运行它,就会发生以下错误。

The package cannot be downloaded since dependencies on github are down. 由于github上的依赖关闭,因此无法下载该程序包。

" https://github.com/sass/node-sass/releases/download/v3.8.0/darwin-x64-57_binding.node " https://github.com/sass/node-sass/releases/download/v3.8.0/darwin-x64-57_binding.node

But it is not really needed and I am not sure how to skip it. 但它并不是真的需要,我不知道如何跳过它。 The script stops here. 脚本在这里停止。

Please someone help. 请有人帮忙。 I am a junior developer. 我是初级开发人员。

Adams-MacBook-Pro:xxx adam$ npm run start

> xxx-1.7@ start /Users/adam/Desktop/xxx
> meteor run --settings settings.json

[[[[[ ~/Desktop/xxx ]]]]]                 

=> Started proxy.                             
=> Errors prevented startup:                  

   While loading package lookback:emails@0.7.7:
   error: Command failed:
   /Users/adam/.meteor/packages/meteor-tool/.1.7.0_5.19pr45f.7esr++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/npm
   rebuild --update-binary
   Cannot download
   "https://github.com/sass/node-sass/releases/download/v3.8.0/darwin-x64-57_binding.node": 

   HTTP error 404 Not Found

   Hint: If github.com is not accessible in your location
   try setting a proxy via HTTP_PROXY, e.g. 

   export HTTP_PROXY=http://example.com:1234

   or configure npm proxy via

   npm config set proxy http://example.com:8080
   gyp info it worked if it ends with ok
   gyp verb cli [
   '/Users/adam/.meteor/packages/meteor-tool/.1.7.0_5.19pr45f.7esr++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/node',
   gyp verb cli
   '/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/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.4.0
   gyp info using node@8.11.4 | 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/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/which/which.js:14:12)
   gyp verb `which` failed     at F
   (/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/which/which.js:69:19)
   gyp verb `which` failed     at E
   (/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/which/which.js:81:29)
   gyp verb `which` failed     at
   /Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/which/which.js:90:16
   gyp verb `which` failed     at
   /Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/isexe/index.js:44:5
   gyp verb `which` failed     at
   /Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/isexe/access.js:8:5
   gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:135:15)
   gyp verb `which` failed  python2 { Error: not found: python2
   gyp verb `which` failed     at getNotFoundError
   (/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/which/which.js:14:12)
   gyp verb `which` failed     at F
   (/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/which/which.js:69:19)
   gyp verb `which` failed     at E
   (/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/which/which.js:81:29)
   gyp verb `which` failed     at
   /Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/which/which.js:90:16
   gyp verb `which` failed     at
   /Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/isexe/index.js:44:5
   gyp verb `which` failed     at
   /Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/isexe/access.js:8:5
   gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:135:15) 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 compiling against specified --nodedir dev files:
   /Users/adam/.meteor/packages/meteor-tool/.1.7.0_5.19pr45f.7esr++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle
   gyp verb build dir attempting to create "build" dir:
   /Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/.temp-10vub78.i363/node_modules/node-sass/build
   gyp verb build dir "build" dir needed to be created?
   /Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/.temp-10vub78.i363/node_modules/node-sass/build
   gyp verb build/config.gypi creating config file
   gyp verb build/config.gypi writing out config file:
   /Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/.temp-10vub78.i363/node_modules/node-sass/build/config.gypi
   gyp verb config.gypi checking for gypi file:
   /Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/.temp-10vub78.i363/node_modules/node-sass/config.gypi
   gyp verb common.gypi checking for gypi file:
   /Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/.temp-10vub78.i363/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/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/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/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/.temp-10vub78.i363/node_modules/node-sass/build/config.gypi',
   gyp info spawn args   '-I',
   gyp info spawn args
   '/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/node-gyp/addon.gypi',
   gyp info spawn args   '-I',
   gyp info spawn args
   '/Users/adam/.meteor/packages/meteor-tool/.1.7.0_5.19pr45f.7esr++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/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/adam/.meteor/packages/meteor-tool/.1.7.0_5.19pr45f.7esr++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle',
   gyp info spawn args
   '-Dnode_gyp_dir=/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/node-gyp',
   gyp info spawn args   '-Dnode_lib_file=node.lib',
   gyp info spawn args
   '-Dmodule_root_dir=/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/.temp-10vub78.i363/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/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/node-gyp/gyp/gyp_main.py",
   line 16, in <module>
   sys.exit(gyp.script_main())
   File
   "/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/node-gyp/gyp/pylib/gyp/__init__.py",
   line 545, in script_main
   return main(sys.argv[1:])
   File
   "/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/node-gyp/gyp/pylib/gyp/__init__.py",
   line 538, in main
   return gyp_main(args)
   File
   "/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/node-gyp/gyp/pylib/gyp/__init__.py",
   line 523, in gyp_main
   generator.GenerateOutput(flat_list, targets, data, params)
   File
   "/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py",
   line 2170, in GenerateOutput
   part_of_all=qualified_target in needed_targets)
   File
   "/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py",
   line 795, in Write
   self.Pchify))
   File
   "/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py",
   line 1190, in WriteSources
   cflags = self.xcode_settings.GetCflags(configname)
   File
   "/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py",
   line 551, in GetCflags
   archs = self.GetActiveArchs(self.configname)
   File
   "/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py",
   line 420, in GetActiveArchs
   xcode_archs_default = GetXcodeArchsDefault()
   File
   "/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py",
   line 118, in GetXcodeArchsDefault
   xcode_version, _ = XcodeVersion()
   File
   "/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/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/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/node-gyp/lib/configure.js:305:16)
   gyp ERR! stack     at emitTwo (events.js:126:13)
   gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
   gyp ERR! stack     at Process.ChildProcess._handle.onexit
   (internal/child_process.js:198:12)
   gyp ERR! System Darwin 18.0.0
   gyp ERR! command
   "/Users/adam/.meteor/packages/meteor-tool/.1.7.0_5.19pr45f.7esr++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/node"
   "/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/node-gyp/bin/node-gyp.js"
   "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags="
   "--libsass_ldflags=" "--libsass_library="
   gyp ERR! cwd
   /Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/.temp-10vub78.i363/node_modules/node-sass
   gyp ERR! node -v v8.11.4
   gyp ERR! node-gyp -v v3.4.0
   gyp ERR! not ok 
   Build failed
   npm ERR! code ELIFECYCLE
   npm ERR! errno 1
   npm ERR! node-sass@3.8.0 postinstall: `node scripts/build.js`
   npm ERR! Exit status 1
   npm ERR! 
   npm ERR! Failed at the node-sass@3.8.0 postinstall 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/adam/.npm/_logs/2018-10-19T19_12_17_338Z-debug.log
   Cannot download
   "https://github.com/sass/node-sass/releases/download/v3.8.0/darwin-x64-57_binding.node": 

   HTTP error 404 Not Found

   Hint: If github.com is not accessible in your location
   try setting a proxy via HTTP_PROXY, e.g. 

   export HTTP_PROXY=http://example.com:1234

   or configure npm proxy via

   npm config set proxy http://example.com:8080
   gyp info it worked if it ends with ok
   gyp verb cli [
   '/Users/adam/.meteor/packages/meteor-tool/.1.7.0_5.19pr45f.7esr++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/node',
   gyp verb cli
   '/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/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.4.0
   gyp info using node@8.11.4 | 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/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/which/which.js:14:12)
   gyp verb `which` failed     at F
   (/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/which/which.js:69:19)
   gyp verb `which` failed     at E
   (/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/which/which.js:81:29)
   gyp verb `which` failed     at
   /Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/which/which.js:90:16
   gyp verb `which` failed     at
   /Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/isexe/index.js:44:5
   gyp verb `which` failed     at
   /Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/isexe/access.js:8:5
   gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:135:15)
   gyp verb `which` failed  python2 { Error: not found: python2
   gyp verb `which` failed     at getNotFoundError
   (/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/which/which.js:14:12)
   gyp verb `which` failed     at F
   (/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/which/which.js:69:19)
   gyp verb `which` failed     at E
   (/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/which/which.js:81:29)
   gyp verb `which` failed     at
   /Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/which/which.js:90:16
   gyp verb `which` failed     at
   /Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/isexe/index.js:44:5
   gyp verb `which` failed     at
   /Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/isexe/access.js:8:5
   gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:135:15) 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 compiling against specified --nodedir dev files:
   /Users/adam/.meteor/packages/meteor-tool/.1.7.0_5.19pr45f.7esr++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle
   gyp verb build dir attempting to create "build" dir:
   /Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/.temp-10vub78.i363/node_modules/node-sass/build
   gyp verb build dir "build" dir needed to be created?
   /Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/.temp-10vub78.i363/node_modules/node-sass/build
   gyp verb build/config.gypi creating config file
   gyp verb build/config.gypi writing out config file:
   /Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/.temp-10vub78.i363/node_modules/node-sass/build/config.gypi
   gyp verb config.gypi checking for gypi file:
   /Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/.temp-10vub78.i363/node_modules/node-sass/config.gypi
   gyp verb common.gypi checking for gypi file:
   /Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/.temp-10vub78.i363/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/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/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/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/.temp-10vub78.i363/node_modules/node-sass/build/config.gypi',
   gyp info spawn args   '-I',
   gyp info spawn args
   '/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/node-gyp/addon.gypi',
   gyp info spawn args   '-I',
   gyp info spawn args
   '/Users/adam/.meteor/packages/meteor-tool/.1.7.0_5.19pr45f.7esr++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/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/adam/.meteor/packages/meteor-tool/.1.7.0_5.19pr45f.7esr++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle',
   gyp info spawn args
   '-Dnode_gyp_dir=/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/node-gyp',
   gyp info spawn args   '-Dnode_lib_file=node.lib',
   gyp info spawn args
   '-Dmodule_root_dir=/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/.temp-10vub78.i363/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/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/node-gyp/gyp/gyp_main.py",
   line 16, in <module>
   sys.exit(gyp.script_main())
   File
   "/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/node-gyp/gyp/pylib/gyp/__init__.py",
   line 545, in script_main
   return main(sys.argv[1:])
   File
   "/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/node-gyp/gyp/pylib/gyp/__init__.py",
   line 538, in main
   return gyp_main(args)
   File
   "/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/node-gyp/gyp/pylib/gyp/__init__.py",
   line 523, in gyp_main
   generator.GenerateOutput(flat_list, targets, data, params)
   File
   "/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py",
   line 2170, in GenerateOutput
   part_of_all=qualified_target in needed_targets)
   File
   "/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py",
   line 795, in Write
   self.Pchify))
   File
   "/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py",
   line 1190, in WriteSources
   cflags = self.xcode_settings.GetCflags(configname)
   File
   "/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py",
   line 551, in GetCflags
   archs = self.GetActiveArchs(self.configname)
   File
   "/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py",
   line 420, in GetActiveArchs
   xcode_archs_default = GetXcodeArchsDefault()
   File
   "/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py",
   line 118, in GetXcodeArchsDefault
   xcode_version, _ = XcodeVersion()
   File
   "/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/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/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/node-gyp/lib/configure.js:305:16)
   gyp ERR! stack     at emitTwo (events.js:126:13)
   gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
   gyp ERR! stack     at Process.ChildProcess._handle.onexit
   (internal/child_process.js:198:12)
   gyp ERR! System Darwin 18.0.0
   gyp ERR! command
   "/Users/adam/.meteor/packages/meteor-tool/.1.7.0_5.19pr45f.7esr++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/node"
   "/Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/node-gyp/bin/node-gyp.js"
   "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags="
   "--libsass_ldflags=" "--libsass_library="
   gyp ERR! cwd
   /Users/adam/.meteor/packages/lookback_emails/.0.7.7.4eyw98.la2kl++os+web.browser+web.cordova/npm/example/node_modules/.temp-10vub78.i363/node_modules/node-sass
   gyp ERR! node -v v8.11.4
   gyp ERR! node-gyp -v v3.4.0
   gyp ERR! not ok 
   Build failed
   npm ERR! code ELIFECYCLE
   npm ERR! errno 1
   npm ERR! node-sass@3.8.0 postinstall: `node scripts/build.js`
   npm ERR! Exit status 1
   npm ERR! 
   npm ERR! Failed at the node-sass@3.8.0 postinstall 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/adam/.npm/_logs/2018-10-19T19_12_17_338Z-debug.log


=> Your application has errors. Waiting for file change.
=> Started MongoDB.                           

From your error message: 从您的错误消息:

npm ERR! 错误的ERR! node-sass@3.8.0 node-sass@3.8.0

You are using version 3.8.0 of node-sass. 您正在使用node-sass的3.8.0版。 This outdated version is incompatible with Node v8, the version of Node that you have installed. 此过时版本与您安装的Node版本Node v8不兼容。

You can either: 1. Upgrade node-sass 2. Downgrade node to v6 您可以:1。升级node-sass 2.将节点降级到v6

I do not recommend option 2. 我不建议选项2。

So, to fix this error I would recommend upgrading node-sass to at least 4.5.3 , the minimum version for Node v8. 因此,要修复此错误,我建议将node-sass升级到至少4.5.3 ,这是Node v8的最低版本。 If you're using npm that would look something like npm install node-sass@latest . 如果你使用npm看起来像npm install node-sass@latest

At the time of writing, the @latest tag will bring you to 4.9.4 and would fix this problem for you. 在撰写本文时, @latest标记将带您到4.9.4并将为您解决此问题。

This problem was caused by the node-sass release 3.8 being removed from github, and lookback:emails package had an example app within it, that depended on this version. 这个问题是由节点sass版本3.8从github中删除引起的,并且回顾:电子邮件包中有一个示例应用程序,这取决于这个版本。 We solved the problem by changing the dependency to 4.11 and also hidden the example app under .example directory, so the package itself doesn't depend on any version of node-sass any more. 我们通过将依赖项更改为4.11并且还隐藏了.example目录下的示例应用程序来解决了这个问题,因此程序包本身不再依赖于任何版本的node-sass。 (Only the example app, but that is not necessary for the package to work - that is just a demo) We pushed the fixed version to atmosphere. (只有示例应用程序,但这不是程序包工作所必需的 - 这只是一个演示)我们将固定版本推向大气层。 So you will not get the error any more once you do a meteor update lookback:emails to update to the latest version of the package. 因此,一旦您进行meteor update lookback:emails您将不再得到错误meteor update lookback:emails更新到最新版本的软件包。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法创建 Vue 应用程序 http-server - 错误:css 和 js 文件 404 Not found - Cannot create Vue application http-server - Error: css and js files 404 Not found 流星的package.js中的HTTP请求 - HTTP request in Meteor's package.js React.js / Firebase 应用程序中的 Axios 错误(404):POST http://localhost:3000/login 404(未找到) - Axios error (404) in React.js / Firebase app: POST http://localhost:3000/login 404 (Not Found) 流星:如果找不到404随附的资产,如何实施后备广告? HTTP获取? - METEOR: How to implement fallback if asset come with 404 not found? HTTP get? 找不到错误404 js文件 - ERROR 404 js file not found 流星和Hammer JS软件包的Tracker afterFlush错误 - Tracker afterFlush error with Meteor and Hammer JS package d3:未找到HTTP404错误 - d3: HTTP404 NOT FOUND error 如何修复错误 GET http:... 404(未找到) - How to fix error GET http:… 404(not found) Meteor 404 错误“找不到方法‘messages.insert’” - Meteor 404 Error "Method 'messages.insert' not found" 如何解决“NetworkError:404 Not Found - http:// localhost:50765 / Scripts / jquery-1.5.1.min.js”错误 - how to solve “NetworkError: 404 Not Found - http://localhost:50765/Scripts/jquery-1.5.1.min.js” error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM