Skip to content

Instantly share code, notes, and snippets.

View developer1011's full-sized avatar

Vadiraj Purohit developer1011

  • Greater Pittsburgh Area
View GitHub Profile
MacBookPro:keycloak-9.0.0 deus$ ./bin/jboss-cli.sh
You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
[disconnected /] connect
[standalone@localhost:9990 /] module add --name=com.mysql.driver --dependencies=javax.api,javax.transaction.api --resources=/Users/deus/servers/keycloak-4.8.3.Final/modules/system/layers/keycloak/com/mysql/main/mysql-connector-java-8.0.11.jar
[standalone@localhost:9990 /] :reload
{
"outcome" => "success",
"result" => undefined
}
@developer1011
developer1011 / Angular6-MacBookPro-Install.md
Last active October 5, 2019 17:33
Angular6-MacBookPro-Install

Cleaner install of node, npm & angular-cli for MacBookPro

npm ERR! Error: EACCES: permission denied

If you have gotten this error or similar file permission issue on mac you can follow the steps listed in this gist to resolve the problem with node & npm. With this method of installing node you can eliminate using sudo for npm. Please follow along.

For mac here is how node, npm should be installed using nvm. This is the official nodejs.org recommendation for macbook pro. With this approach it eliminates the need of using sudo for npm and file permission issues are automatically addressed.