2016-05-07 3 views
2

Lorsque je tente de construire mon projet Haxe en HTML5/JavaScript avec les lime outils, je reçois cette erreur, et ces avertissements:erreurs d'autorisation lorsque vous essayez de construire des projets Haxe

[email protected] ~/C/Similar-Game> lime test html5 
chmod: changing permissions of ‘/usr/share/haxelib/lime/2,9,1/templates/bin/webify-linux64’: Operation not permitted 
chmod: changing permissions of ‘/usr/share/haxelib/lime/2,9,1/templates/bin/webify-linux64’: Operation not permitted 
Warning: Could not find generated font file "/usr/share/haxelib/flixel/4,0,1/assets/fonts/nokiafc22.eot" 
Warning: Could not find generated font file "/usr/share/haxelib/flixel/4,0,1/assets/fonts/nokiafc22.woff" 
Warning: Could not find generated font file "/usr/share/haxelib/flixel/4,0,1/assets/fonts/nokiafc22.svg" 
Warning: Could not find generated font file "/usr/share/haxelib/flixel/4,0,1/assets/fonts/monsterrat.eot" 
Warning: Could not find generated font file "/usr/share/haxelib/flixel/4,0,1/assets/fonts/monsterrat.woff" 
Warning: Could not find generated font file "/usr/share/haxelib/flixel/4,0,1/assets/fonts/monsterrat.svg" 
chmod: changing permissions of ‘/usr/share/haxelib/lime/2,9,1/templates/bin/node/node-linux64’: Operation not permitted 
sh: 1: /usr/share/haxelib/lime/2,9,1/templates/bin/node/node-linux64: Permission denied 
[email protected] ~/C/Similar-Game> 

Comment puis-je résoudre ces avertissements et erreurs? Et ne dites pas sudo, je ne devrais pas avoir à le faire pour construire un jeu.

Répondre

2

Vous en utilisant la chaux probablement installé sudo, alors essayez ceci:

sudo chmod a+x /usr/share/haxelib/lime/2,9,1/templates/bin/webify-linux64 
sudo chmod a+x /usr/share/haxelib/lime/2,9,1/templates/bin/node/node-linux64 

Cela donnera des droits « exécution » à tous les utilisateurs.