Github user shazron commented on the issue:
https://github.com/apache/cordova-ios/pull/319
I cloned your fork and checked out the feature branch with all your commits.
Then:
```
$ npm install --dev
$ npm test
...
> [email protected] unit-tests /Users/shazron/Desktop/cordova-ios
> jasmine --config=tests/spec/jasmine.json
module.js:457
throw err;
^
Error: Cannot find module './lib/check_reqs'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object.<anonymous>
(/Users/shazron/Desktop/cordova-ios/bin/templates/scripts/cordova/Api.js:26:18)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
npm ERR! Darwin 16.7.0
npm ERR! argv "/Users/shazron/.nvm/versions/node/v6.7.0/bin/node"
"/Users/shazron/.nvm/versions/node/v6.7.0/bin/npm" "run" "unit-tests"
npm ERR! node v6.7.0
npm ERR! npm v3.10.9
npm ERR! code ELIFECYCLE
npm ERR! [email protected] unit-tests: `jasmine
--config=tests/spec/jasmine.json`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] unit-tests script 'jasmine
--config=tests/spec/jasmine.json'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the cordova-ios
package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! jasmine --config=tests/spec/jasmine.json
npm ERR! You can get information on how to open an issue for this project
with:
npm ERR! npm bugs cordova-ios
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls cordova-ios
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/shazron/Desktop/cordova-ios/npm-debug.log
npm ERR! Test failed. See above for more details.
```
if I do a `git status` I see:
```
$ git status
On branch platform-api-unit-tests
Your branch is up-to-date with 'origin/platform-api-unit-tests'.
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
deleted: bin/templates/scripts/cordova/lib/check_reqs.js
deleted: bin/templates/scripts/cordova/lib/versions.js
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]