npm error: 404 Not found : @banno/karma-banno-preprocessor (or other scoped package)
Banno publishes some scoped packages in a private registry. Refer to these instructions to configure NPM to use Artifactory for @banno-scoped packages.
JS error occurs when running unit tests, but not when running the main app
If you are seeing JS errors only when running unit tests, especially for Function.prototype.bind:
Error: [$injector:modulerr] Failed to instantiate module ng due to:
TypeError: 'undefined' is not an object (evaluating 'Function.prototype.bind.apply')
This error occurs because PhantomJS v1 uses an old WebKit engine that makes it non-compliant with ES5. This means it is missing some important features like Function.prototype.bind. Notably, Angular 1.5+ uses Function.prototype.bind in its core code.
To fix, you can load a polyfill library when running tests, such as es5-shim, or upgrade to PhantomJS v2.
EMFILE: too many open files, scandir '/path/to/folder' with grunt/gulp watch
If you are using OSX, make sure that your machine’s ulimit is increased beyond the default. You may also need to increase the maxfiles for the kernel.
If you are still running into this error after increasing the ulimit, make sure there are no symlinks inside the bower or npm module folders – this can inadvertantly include a huge amount of files.
Unit test ERROR: 'There is no timestamp for ...'
A 404 error like this means that the missing file is either not being included in the Karma config, or is not being copied by grunt/gulp correctly. Check your configuration files.
Note however that the Karma proxies property causes false errors like this, so those (that usually have paths beginning with /lib) should be ignored.
Got message “Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.” when running tools on the command line
If you recently installed or upgraded XCode, then you need to agree to its EULA. Run sudo xcodebuild -license on the command line to open the license dialog, agree to it, then rerun your command.
How do I manually create a new user in the platform?
- Login to /a/sentry and select an institution you have “users” permissions for (e.g. Your FI).
- Go to the “Users” page and click the “Invite People” button.
- Enter an email address that you have access to. Gmail allows you to add a suffix with the
+character, so you can use your existing Banno email, e.g. youremail+test1@jackhenry.com. - Select at least one group to assign that user to, and click the “Send Invite” button.
- Copy the link in the “Welcome to Banno” email that you receive.
- Log out of Banno (or use a different browser or incognito window if you want to save your current session) and paste the link into the browser.
- Set a password for the new user (
Password1!works for a temporary user).
When I try to publish to the npm.banno-internal.com registry, I get the message npm ERR! maximum amount of users reached.
This unhelpful error means that your credentials are wrong. Double-check your LDAP credentials and retry the npm login command.