2017-01-25 8 views
2

Ich versuche, Beispiel zu starten, die in docs/getting gestartet wird, aber konsequent den folgenden Fehler (mit verschiedenen Windows-Box versucht) werfen. ember generate cordova-init com.poeticsystems.hello --platform=androidember erzeugen cordova-init werfen EPERM-Fehler

Path: platforms\android 
Package: com.poeticsystems.hello 
Name: Hello 
Activity: MainActivity 
Android target: android-25 
Subproject Path: CordovaLib 
Android project created with [email protected] 
Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the 
project 
Fetching plugin "[email protected]" via npm 
Installing "cordova-plugin-whitelist" for android 

    This plugin is only applicable for versions of cordova-android greater 
    than 4.0. If you have a previous platform version, you do *not* need 
    this plugin since the whitelist will be built in. 

Adding android platform to cordova... 
Update config.xml with your project settings...EPERM: operation not 
permitted, symlink '..\dist' -> 'N:\DEV\ember-cordova\hello\cordova\www' 
Error: EPERM: operation not permitted, symlink '..\dist' -> 'N:\DEV\ember 
cordova\hello\cordova\www' 
at Error (native) 

OS: Win32 x64 node - 4.4.2 NPM - 2.15.0 ember-cli: 2.4.3 Cordova - 6.5.0 ember-cli-Cordova: 0.1.0- beta-2

Ich habe den Wert von locationType auf 'hash' geändert. Könnte jemand bitte helfen, dies zu lösen.

+0

versuchen, Eingabeaufforderung als Administrator ausführen .. es sieht aus wie Berechtigungsproblem für Symlink – kumkanillam

+0

Vielen Dank @kumkanillam. Es funktionierte. –

Antwort

0

Error: EPERM: operation not permitted

Dies bedeutet irgendeine Sache mit Erlaubnisausgabe. Meistens in Windows, wenn wir cmd als Run as Administrator laufen lösen diese Art von Problemen.

Verwandte Themen