Arquivo da tag: Dicas

An easy way to install java on ubuntu

To install Java on Ubuntu just follow these five steps:

1. If you already have OpenJDK installed, you need to remove it running the following command:

sudo apt-get purge openjdk*

2. Add Oracle repository

sudo add-apt-repository ppa:webupd8team/java

3. Update the ATP with

sudo apt-get update

Continuar lendo


A commum Angular error: “Module X is not available!”

This error often occurs when you declare a dependency on a module that Angular can’t locate it, whether by wrong module name or the module (JS file) not loaded.

Modulo “X” is not available!

These are the steps you must check if you got the error:

  1. Check if the file in which this module is define has been loaded (via <script src=”…”> for exemple);
  2. Check if the name of the module is declared correctly in: creation and dependencies files;

See also:$injector/nomod