[resolvido][i-Diario App] - Erro ao tentar instalar e executar

Resolvido, realizei algumas operações que a instalação finalizou, porém o servidor ainda não executa, seguem alguns passos que me recordo:

sudo apt install gradle
sudo npm install -g rxjs@5.5.10
sudo npm install -g typescript@2.4.2

sudo npm cache clean -f
sudo npm install -g n
sudo n stable

A instalação do ‘n’ deve ser antes da instalação do projeto
O sistema deu outro erro ao tentar executar o ionic que resolvi com os comandos abaixo:

sudo chmod 777 -R /< pasta do projeto >/
sudo npm install --unsafe-perm -g node-sass

O ionic executa, mas no navegador exibe o seguinte erro:

Runtime Error
Unexpected token < in JSON at position 0
Stack
SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse ()
at Response.Body.json (http://localhost:8100/build/vendor.js:59327:25)
at MapSubscriber.project (http://localhost:8100/build/main.js:3911:29)
at MapSubscriber._next (http://localhost:8100/build/vendor.js:51495:35)
at MapSubscriber.Subscriber.next (http://localhost:8100/build/vendor.js:20750:18)
at XMLHttpRequest.onLoad (http://localhost:8100/build/vendor.js:59827:38)
at t.invokeTask (http://localhost:8100/build/polyfills.js:3:15660)
at Object.onInvokeTask (http://localhost:8100/build/vendor.js:5125:33)
at t.invokeTask (http://localhost:8100/build/polyfills.js:3:15581)
at r.runTask (http://localhost:8100/build/polyfills.js:3:10834)

Basta clicar em close