2
나는 여기 미쳤어. PhoneGap 3.0을 사용 중이며 일부 플러그인으로 앱을 만들었습니다. 처음 설치 한 플러그인만으로는 충분하지 않으므로 다른 플러그인을 설치하려고했습니다. 질문에서 하나는 캡처 플러그인과 파일 전송 플러그인입니다. 터미널에 플러그인을 추가하려고하면 다음 오류가 발생합니다.PhoneGap 3.0 플러그인 설치 오류
path.js:360
throw new TypeError('Arguments to path.join must be strings');
^
TypeError: Arguments to path.join must be strings
at path.js:360:15
at Array.filter (native)
at Object.exports.join (path.js:358:36)
at possiblyFetch (/usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/plugman/src/install.js:49:27)
at /usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/plugman/src/install.js:298:17
at Array.forEach (native)
at runInstall (/usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/plugman/src/install.js:229:22)
at possiblyFetch (/usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/plugman/src/install.js:64:9)
at Object.installPlugin [as install] (/usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/plugman/src/install.js:44:5)
at doInstall (/usr/local/lib/node_modules/phonegap/node_modules/cordova/src/plugin.js:153:45)
완전히 새로운 앱을 만드는 등 모든 것을 시도했습니다. 그러나 운이 없다.
내가해야하는 매우 시간이 중요한 응용 프로그램입니다. 따라서 도움을 주시면 대단히 감사하겠습니다.
감사합니다.
나는'codeova plugin add org.apache.cordova.file-transfer'와'cordova plugin add org.apache.cordova .media-capture'와 아무런 문제가 없었습니다. 이것은 코르도바 3.0.10에서였습니다. 빈 프로젝트에서 다시 시도해 볼 수 있습니까? 또한 Windows에 있습니까? Windows에서 전에 공백, 하이픈 등과 같은 이상한 문자가있는 파일 이름을 처리 할 때 유사한 오류가 발생했습니다. 프로젝트에서 이름에 이러한 문자를 사용합니까? – MBillau
동일한 문제가 있습니다. 나는 Mac에있어, 그리고 내 파일/폴더 이름은 표준 문자 만 가지고있다. –
@AlexBet이 오류를 해결했습니다. 나는 또한 같은 오류를 직면하지만 해결할 수 없습니다. 알려주세요. – ChenSmile