- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我正在尝试更新 meteor 项目,但遇到一些问题。
我使用的是 MacOS High Sierra v10.13.2
我尝试过的事情:
npm 重建
npm重建--update-binary
node_modules
和meteor npm install
这是我的错误:
Seans-MBP:calendar sean$ meteor update
=> Errors while initializing project:
While loading package fourseven:scss@3.13.0:
error: Command failed:
/Users/sean/.meteor/packages/meteor-tool/.1.6.0_1.1vvxo4o.3yat++os.osx.x86_64+web.browser+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.13.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/sean/.meteor/packages/meteor-tool/.1.6.0_1.1vvxo4o.3yat++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/node',
gyp verb cli
'/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/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.9.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/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:13:12)
gyp verb `which` failed at F
(/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:68:19)
gyp verb `which` failed at E
(/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:80:29)
gyp verb `which` failed at
/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:89:16
gyp verb `which` failed at
/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/isexe/index.js:44:5
gyp verb `which` failed at
/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/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/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:13:12)
gyp verb `which` failed at F
(/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:68:19)
gyp verb `which` failed at E
(/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:80:29)
gyp verb `which` failed at
/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:89:16
gyp verb `which` failed at
/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/isexe/index.js:44:5
gyp verb `which` failed at
/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/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/sean/.meteor/packages/meteor-tool/.1.6.0_1.1vvxo4o.3yat++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle
gyp verb build dir attempting to create "build" dir:
/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/.temp-1tvdw0j.iybsl/node_modules/node-sass/build
gyp verb build dir "build" dir needed to be created?
/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/.temp-1tvdw0j.iybsl/node_modules/node-sass/build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file:
/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/.temp-1tvdw0j.iybsl/node_modules/node-sass/build/config.gypi
gyp verb config.gypi checking for gypi file:
/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/.temp-1tvdw0j.iybsl/node_modules/node-sass/config.gypi
gyp verb common.gypi checking for gypi file:
/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/.temp-1tvdw0j.iybsl/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/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/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/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/.temp-1tvdw0j.iybsl/node_modules/node-sass/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args
'/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args
'/Users/sean/.meteor/packages/meteor-tool/.1.6.0_1.1vvxo4o.3yat++os.osx.x86_64+web.browser+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/sean/.meteor/packages/meteor-tool/.1.6.0_1.1vvxo4o.3yat++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle',
gyp info spawn args
'-Dnode_gyp_dir=/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=node.lib',
gyp info spawn args
'-Dmodule_root_dir=/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/.temp-1tvdw0j.iybsl/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
No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'.
gyp: No Xcode or CLT version detected!
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit
(/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/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 17.3.0
gyp ERR! command
"/Users/sean/.meteor/packages/meteor-tool/.1.6.0_1.1vvxo4o.3yat++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/node"
"/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/node-gyp/bin/node-gyp.js"
"rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd
/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/.temp-1tvdw0j.iybsl/node_modules/node-sass
gyp ERR! node -v v8.9.3
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
Build failed with error code: 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@3.13.0 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@3.13.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/sean/.npm/_logs/2018-01-10T02_03_21_566Z-debug.log
Cannot download "https://github.com/sass/node-sass/releases/download/v3.13.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/sean/.meteor/packages/meteor-tool/.1.6.0_1.1vvxo4o.3yat++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/node',
gyp verb cli
'/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/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.9.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/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:13:12)
gyp verb `which` failed at F
(/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:68:19)
gyp verb `which` failed at E
(/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:80:29)
gyp verb `which` failed at
/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:89:16
gyp verb `which` failed at
/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/isexe/index.js:44:5
gyp verb `which` failed at
/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/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/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:13:12)
gyp verb `which` failed at F
(/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:68:19)
gyp verb `which` failed at E
(/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:80:29)
gyp verb `which` failed at
/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/which/which.js:89:16
gyp verb `which` failed at
/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/isexe/index.js:44:5
gyp verb `which` failed at
/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/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/sean/.meteor/packages/meteor-tool/.1.6.0_1.1vvxo4o.3yat++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle
gyp verb build dir attempting to create "build" dir:
/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/.temp-1tvdw0j.iybsl/node_modules/node-sass/build
gyp verb build dir "build" dir needed to be created?
/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/.temp-1tvdw0j.iybsl/node_modules/node-sass/build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file:
/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/.temp-1tvdw0j.iybsl/node_modules/node-sass/build/config.gypi
gyp verb config.gypi checking for gypi file:
/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/.temp-1tvdw0j.iybsl/node_modules/node-sass/config.gypi
gyp verb common.gypi checking for gypi file:
/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/.temp-1tvdw0j.iybsl/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/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/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/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/.temp-1tvdw0j.iybsl/node_modules/node-sass/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args
'/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args
'/Users/sean/.meteor/packages/meteor-tool/.1.6.0_1.1vvxo4o.3yat++os.osx.x86_64+web.browser+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/sean/.meteor/packages/meteor-tool/.1.6.0_1.1vvxo4o.3yat++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle',
gyp info spawn args
'-Dnode_gyp_dir=/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=node.lib',
gyp info spawn args
'-Dmodule_root_dir=/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/.temp-1tvdw0j.iybsl/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
No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'.
gyp: No Xcode or CLT version detected!
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit
(/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/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 17.3.0
gyp ERR! command
"/Users/sean/.meteor/packages/meteor-tool/.1.6.0_1.1vvxo4o.3yat++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/node"
"/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/node-gyp/bin/node-gyp.js"
"rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd
/Users/sean/.meteor/packages/fourseven_scss/.3.13.0.1gz1gxy++os+web.browser+web.cordova/plugin.compileScssBatch.os/npm/node_modules/meteor/compileScssBatch/node_modules/.temp-1tvdw0j.iybsl/node_modules/node-sass
gyp ERR! node -v v8.9.3
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
Build failed with error code: 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@3.13.0 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@3.13.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/sean/.npm/_logs/2018-01-10T02_03_21_566Z-debug.log
非常感谢任何帮助!!!
最佳答案
错误日志中的关键行是这一行:
xcode-select: error: tool ‘xcodebuild’ requires Xcode, but active developer directory ‘/Library/Developer/CommandLineTools’ is a command line tools instance
正如它所说,编译node-sass需要完整的Xcode安装
是啊,太糟糕了。 node-sass 有一些像这样的奇怪的东西总是吸引人们,但是相对于 ruby 版本的改进是值得的
关于node.js - 将 Meteor 项目从 1.5.2.2 更新到 1.6 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48179292/
我在尝试在 Meteor.com 上托管的经历非常复杂。 我经常收到“此网站已关闭。稍后再试。”。一开始我不知道为什么,但后来我怀疑问题是我不小心恢复了“system.users”集合造成的。我尝试在
我有点好奇,与复制 Meteor 应用程序、启动 tmux session 并仅运行 meteor 相比,Meteor Up(或其他 Meteor 应用程序部署过程,如 Modulus)是否能做任何花
我与meteor 合作创建了一个应用程序。在 meteor Meteor.methods 和 Meteor.publish 用于执行数据库操作。 I know use of Meteor method
我有一个相当大的 meteor 项目并安装了几个 meteor 包。我这样做只是为了试用一个 meteor 包,看看它是否适用于我的项目。不幸的是,在确定我不需要在我的项目中安装这些包后,我没有卸载这
对于生产为什么我应该“捆绑” meteor 应用程序而不仅仅是复制 服务器上的源使用“ meteor ”命令? 基本上有什么区别: “meteor bundle app.tar.gz”,然后安装正确版
我是 Meteor 的新手,我想知道我们如何要求用户在创建帐户时上传他的图片?我正在使用基本的 Meteor 帐户来创建用户帐户。我希望用户能够上传他的图片,并且还能够在他登录时和在我网站的登录页面上
我正在学习 Meteor Angular 2 教程。在第 6 步,我随机尝试了“ meteor 更新”,这使我的样本崩溃了。更新有效,服务器正在启动。然而,浏览器屏幕现在保持空白,并且在控制台中出现错
在我的 meteor app我需要实现表格排序。现在我正在做的是设置一个 session variable对于每个列并根据要排序的项目切换其值。 任何人都可以提出更好的选择吗? 最佳答案 我推荐 表格
我向用户发送了注册电子邮件,当他输入密码和其他详细信息时,我试图重置密码,但它抛出错误 uncaught error extpected to find a document to change 正如
我运行排行榜示例。然后我更改了 leaderboard.js 中的 names 变量(Meteor.startup 函数参数初始化的一部分)中的科学家条目之一并保存了文件。 我应该期待 meteor
我有一个 meteor 1.0 应用程序。我添加了一堆包,例如:meteor add kevohagan:ramda .但我在任何地方都找不到它。我什至无法在我的系统上找到它。 在我的项目中: $>
我有一个 meteor 移动应用程序在结构上工作;我真的需要将 View 与一些页面转换拼接在一起。 我看了iron-transitioner项目,但看起来开发已经停止? (最后一次提交 6 个月前,
我在“发现 meteor ”一书之后构建了我的第一个 meteor 添加。 但是我现在遇到了以下错误: 错误:在ian:accounts-ui-bootstrap-3 中没有找到accounts_ui
是否可以在负载均衡器后面使用 Mongodb 运行 meteor 应用程序的多个实例? 似乎如果一个应用程序的多个实例在不同的服务器上运行,那么它们就不会知道其他实例对 Mongo DB 所做的更改
我在/client/main.coffee 中的新客户端代码 Xingyun = Meteor.connect "localhost:3000" System = new Meteor.Collect
在 Meteor.publish ,使用 this.error 有什么区别并简单地抛出 Meteor.Error ? 最佳答案 this.error仅在发布方法内可用。每 the docs : Sto
假设我想在 Meteor 的后端使用与 Mongo 不同的数据库,并且还想在前端使用像 D3.js 这样的可视化库。 目前有可能吗? 如果不是我自己添加它会有多复杂? 谢谢 最佳答案 https://
我已经在 Meteor 中制作了一个 watch-as-I-type 实时聊天服务,但是我在 Meteor 中的内置元素保存功能方面遇到了麻烦。基本上,当输入的文本具有焦点时,我需要不更新当前的聊天消
我想知道 Meteor 是否可以与我的用例一起使用。 我有一个可在 App Store 上使用的移动应用程序。这个应用程序包含一个小调查,用户将在没有互联网连接的情况下做出回应。然后用户将关闭应用程序
关闭。这个问题是off-topic .它目前不接受答案。 想改善这个问题吗? Update the question所以它是 on-topic对于堆栈溢出。 8年前关闭。 Improve this q
我是一名优秀的程序员,十分优秀!