regiMario commented on issue #461: fix issue #458
URL: https://github.com/apache/cordova-ios/pull/461#issuecomment-438160911
 
 
   I tried running the tests before i uploaded and got this far.
   `[mario@mac13dev ~/github/cordova-ios]$ npm test
   
   > cordova-ios@5.0.0-dev test /Users/mario/github/cordova-ios
   > npm run unit-tests && npm run test:component && npm run objc-tests && npm 
run e2e-tests
   
   
   > cordova-ios@5.0.0-dev unit-tests /Users/mario/github/cordova-ios
   > jasmine --config=tests/spec/unit.json
   
   DEPRECATION: Setting throwOnExpectationFailure directly on Env is 
deprecated, please use the oneFailurePerSpec option in `configure`
   DEPRECATION: Setting randomizeTests directly is deprecated, please use the 
random option in `configure`
   internal/modules/cjs/loader.js:582
       throw err;
       ^
   
   Error: Cannot find module 'cordova-common'
       at Function.Module._resolveFilename 
(internal/modules/cjs/loader.js:580:15)
       at Function.Module._load (internal/modules/cjs/loader.js:506:25)
       at Module.require (internal/modules/cjs/loader.js:636:17)
       at require (internal/modules/cjs/helpers.js:20:18)
       at Object.<anonymous> 
(/Users/mario/github/cordova-ios/tests/spec/unit/Api.spec.js:22:21)
       at Module._compile (internal/modules/cjs/loader.js:688:30)
       at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
       at Module.load (internal/modules/cjs/loader.js:598:32)
       at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
       at Function.Module._load (internal/modules/cjs/loader.js:529:3)
   npm ERR! code ELIFECYCLE
   npm ERR! errno 4
   npm ERR! cordova-ios@5.0.0-dev unit-tests: `jasmine 
--config=tests/spec/unit.json`
   npm ERR! Exit status 4
   npm ERR! 
   npm ERR! Failed at the cordova-ios@5.0.0-dev unit-tests script.
   npm ERR! This is probably not a problem with npm. There is likely additional 
logging output above.
   npm WARN Local package.json exists, but node_modules missing, did you mean 
to install?
   npm ERR! Test failed.  See above for more details.
   [mario@mac13dev ~/github/cordova-ios]$ npm -g list --depth=0
   /usr/local/lib
   ├── cordova@8.1.2
   ├── cordova-common@3.0.0
   ├── ios-deploy@1.9.4
   ├── jasmine@3.3.0
   └── npm@6.4.1`
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org

Reply via email to