2016-03-29 7 views
2

Ich benutze Ubuntu 14.04 64 Bit und ich versuche Sass auf Ionic mit diesem Befehl zu installieren:IonicFramework Fehler bei der Installation Sass auf Ubuntu

ionic setup sass 

Aber das Ergebnis ist folgendes:

npm WARN deprecated [email protected]: Please use gulp-clean-css 
npm ERR! Linux 3.19.0-56-generic 
npm ERR! argv "node" "/usr/bin/npm" "install" 
npm ERR! node v0.12.12 
npm ERR! npm v3.8.3 
npm ERR! path /home/thales/.npm/chalk/1.1.3 
npm ERR! code EACCES 
npm ERR! errno -13 

npm ERR! Error: EACCES, mkdir '/home/thales/.npm/chalk/1.1.3' 
npm ERR!  at Error (native) 
npm ERR! { [Error: EACCES, mkdir '/home/thales/.npm/chalk/1.1.3'] 
npm ERR! errno: -13, 
npm ERR! code: 'EACCES', 
npm ERR! path: '/home/thales/.npm/chalk/1.1.3', 
npm ERR! parent: 'gulp' } 
npm ERR! 
npm ERR! Please try running this command again as root/Administrator. 

npm ERR! Please include the following file with any support request: 
npm ERR!  /home/thales/Desktop/mectria/npm-debug.log 

Error running npm install 



Exception with (CLI v1.7.14) 

Your system information: 

Cordova CLI: 6.1.0 
Gulp version: CLI version 3.9.1 
Gulp local: Local version 3.9.1 
Ionic Version: 1.2.4 
Ionic CLI Version: 1.7.14 
Ionic App Lib Version: 0.7.0 
OS: Distributor ID: Ubuntu Description: Ubuntu 14.04.4 LTS 
Node Version: v0.12.12 

Ich suchte die Lösung, aber ich habe nichts gefunden! Was soll ich tun? Danke!

Antwort

0

Nach Fehlerprotokoll, Es scheint, Sie haben keinen Schreibzugriff auf Verzeichnis /home/thales/.npm/ in Ihrem Haus, so vielleicht können Sie versuchen, es als root starten oder ändern Sie Zugriff direkt in diesem Ordner.
Oder Sie können versuchen, Sass ohne die Ionic CLI-Helfer manuell einzurichten.

+0

Vielen Dank! Es ist Arbeit –

+0

Freut mich zu hören. – TGrif

Verwandte Themen