• 请问有安装教程吗?

  • 顶礼膜拜

  • Jmeter 二次封装 at 2016年07月12日

    请问楼主,有这样的示例代码可以共享不啦?多谢啊😂

  • #3 楼 @chenhengjie123 亲,我那就是公司邮箱啊😂

  • #2 楼 @debugtalk 请问你是怎么解决的?

  • wanghaifengdeiMac:macaca-test $ macaca install ios
    macaca-ios is installing for the first time with args: ["install","macaca-ios","-—unsafe-perm=true","--registry=https://registry.npmjs.org/"]
    
    
      \     loading...macaca-cli@1.0.35 /usr/local/lib/node_modules/macaca-cli
    └── macaca-ios@1.0.30  extraneous
    npm ERR! Darwin 15.3.0
    npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "macaca-ios" "-—unsafe-perm=true" "--registry=https://registry.npmjs.org/"
    npm ERR! node v6.2.0
    npm ERR! npm  v3.8.9
    npm ERR! path /usr/local/lib/node_modules/macaca-cli/node_modules/.staging/macaca-cli-4d061662
    npm ERR! code ENOENT
    npm ERR! errno -2
    npm ERR! syscall rename
    
    npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/macaca-cli/node_modules/.staging/macaca-cli-4d061662' -> '/usr/local/lib/node_modules/macaca-cli'
    npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/macaca-cli/node_modules/.staging/macaca-cli-4d061662' -> '/usr/local/lib/node_modules/macaca-cli'
    npm ERR! enoent This is most likely not a problem with npm itself
    npm ERR! enoent and is related to npm not being able to find a file.
    npm ERR! enoent 
    npm ERR! Darwin 15.3.0
    npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "macaca-ios" "-—unsafe-perm=true" "--registry=https://registry.npmjs.org/"
    npm ERR! node v6.2.0
    npm ERR! npm  v3.8.9
    npm ERR! path npm-debug.log.147207587
    npm ERR! code ENOENT
    npm ERR! errno -2
    npm ERR! syscall open
    
    npm ERR! enoent ENOENT: no such file or directory, open 'npm-debug.log.147207587'
    npm ERR! enoent ENOENT: no such file or directory, open 'npm-debug.log.147207587'
    npm ERR! enoent This is most likely not a problem with npm itself
    npm ERR! enoent and is related to npm not being able to find a file.
    npm ERR! enoent 
    
    npm ERR! Please include the following file with any support request:
    npm ERR!     /usr/local/lib/node_modules/macaca-cli/npm-debug.log
    
    npm install exited with code 254 and signal null
    install macaca-ios failed with Error: npm ERR! Darwin 15.3.0
    npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "macaca-ios" "-—unsafe-perm=true" "--registry=https://registry.npmjs.org/"
    npm ERR! node v6.2.0
    npm ERR! npm  v3.8.9
    npm ERR! path /usr/local/lib/node_modules/macaca-cli/node_modules/.staging/macaca-cli-4d061662
    npm ERR! code ENOENT
    npm ERR! errno -2
    npm ERR! syscall rename
    
    npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/macaca-cli/node_modules/.staging/macaca-cli-4d061662' -> '/usr/local/lib/node_modules/macaca-cli'
    npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/macaca-cli/node_modules/.staging/macaca-cli-4d061662' -> '/usr/local/lib/node_modules/macaca-cli'
    npm ERR! enoent This is most likely not a problem with npm itself
    npm ERR! enoent and is related to npm not being able to find a file.
    npm ERR! enoent 
    npm ERR! Darwin 15.3.0
    npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "macaca-ios" "-—unsafe-perm=true" "--registry=https://registry.npmjs.org/"
    npm ERR! node v6.2.0
    npm ERR! npm  v3.8.9
    npm ERR! path npm-debug.log.147207587
    npm ERR! code ENOENT
    npm ERR! errno -2
    npm ERR! syscall open
    
    npm ERR! enoent ENOENT: no such file or directory, open 'npm-debug.log.147207587'
    npm ERR! enoent ENOENT: no such file or directory, open 'npm-debug.log.147207587'
    npm ERR! enoent This is most likely not a problem with npm itself
    npm ERR! enoent and is related to npm not being able to find a file.
    npm ERR! enoent 
    
    npm ERR! Please include the following file with any support request:
    npm ERR!     /usr/local/lib/node_modules/macaca-cli/npm-debug.log
    

    你好,请问这是什么原因?

  • Koa 在 Macaca 中的实践 at 2016年05月30日
    wanghaifengdeiMac:macaca-test-sample-ios-ci-master wanghf$ make test
    macaca-test-sample-ios-ci@0.1.0 /Users/wanghf/Downloads/macaca-test-sample-ios-ci-master
    └─┬ macaca-test-sample@1.0.8
      └─┬ macaca-cli@1.0.35
        └── macaca-ios@1.0.30  extraneous
    
    cd ./node_modules/macaca-test-sample && make travis-ios
    macaca-test-sample@1.0.8 /Users/wanghf/Downloads/macaca-test-sample-ios-ci-master/node_modules/macaca-test-sample
    └─┬ macaca-cli@1.0.35
      └── macaca-ios@1.0.30  extraneous
    
    $(npm bin)/macaca install ios
    macaca-ios is installing for the first time with args: ["install","macaca-ios","--registry=https://registry.npmjs.org/"]
    
    
      |     loading...macaca-cli@1.0.35 /Users/wanghf/Downloads/macaca-test-sample-ios-ci-master/node_modules/macaca-test-sample/node_modules/macaca-cli
    └── macaca-ios@1.0.30  extraneous
    
    
    
    install macaca-ios failed with Error: Cannot find module 'macaca-ios'
    $(npm bin)/macaca doctor
    
      Node.js checklist:
    
      node env: /usr/local/bin/node
      node version: v6.2.0
    
      iOS checklist:
    
      Xcode is installed at: `/Applications/Xcode.app/Contents/Developer`
      Xcode Command Line Tools is ready, version: 2343.
      ios_webkit_debug_proxy is installed at: /usr/local/bin/ios_webkit_debug_proxy
    
      Android checklist:
    
      JAVA version is `1.8.0_51`
      JAVA_HOME is set to `/Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents/Home`
      ANDROID_HOME is set to `/Users/wanghf/Tools/android-sdk-macosx`
      Platforms is set to `/Users/wanghf/Tools/android-sdk-macosx/platforms/android-23`
      Android tools is set to `/Users/wanghf/Tools/android-sdk-macosx/tools/android`
    
      Installed driver list:
    
    
    
    platform=ios $(npm bin)/macaca run --verbose -d ./macaca-test/macaca-mobile-sample.test.js
    >> index.js:79:12 [master] pid:62563 webdriver server start with config:
     { port: 3456,
      window: true,
      ip: '192.168.145.166',
      host: 'wanghaifengdeiMac.local',
      loaded_time: '2016-05-30 17:23:35' }
    >> middlewares.js:30:10 [master] pid:62563 base middlewares attached
    >> router.js:118:10 [master] pid:62563 router set
    >> webdriver sdk launched
    >> macaca-cli-run:89:10 [master] pid:62563 Error: spawn /Users/wanghf/Downloads/macaca-test-sample-ios-ci-master/node_modules/macaca-test-sample/node_modules/macaca-cli/node_modules/.bin/mocha ENOENT
        at exports._errnoException (util.js:953:11)
        at Process.ChildProcess._handle.onexit (internal/child_process.js:182:32)
        at onErrorNT (internal/child_process.js:348:16)
        at _combinedTickCallback (internal/process/next_tick.js:74:11)
        at process._tickCallback (internal/process/next_tick.js:98:9)
    >> Test completed!
    make[1]: *** [travis-ios] Error 254
    make: *** [test] Error 2
    
    

    请问这个报错是什么问题?

  • 我的 instruments 下面没有这个框架,DVTInstrumentsFoundation.framework