- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
这是我尝试修复 this issue 后的后续问题.
我现在拥有 Visual Studio 2015 和 Apache Cordova 的相关工具,但我仍然无法在 ios 模拟器中运行多设备混合应用程序。
我创建了一个新的空白 Cordova 项目,我能够在 Ripple 浏览器模拟器上运行它。但是,当我尝试在已配置的 Mac 上运行该应用程序以在 ios 上对其进行测试时,出现以下错误:
Done building 1630 : error CordovaModuleLoadError [ '4.3.0' ]
这是完整的终端输出:
IBRAHIM-ALHUSSAINs-Mac-mini:bin IBRAHIMALHUSSAIN$ vs-mda-remote --secure false
vs-mda-remote
Copyright (C) 2014 Microsoft Corporation. All rights reserved.
0.2.11
Loading resources for language en from /usr/local/lib/node_modules/vs-mda-remote/resources/en/resources.json
Build Retention initialized with baseBuildDir /Users/IBRAHIMALHUSSAIN/remote-builds/builds, maxBuildsToKeep 20
Initialized BuildManager with baseBuildDir /Users/IBRAHIMALHUSSAIN/remote-builds/builds; maxBuildsInQueue 10; deleteBuildsOnShutdown true; allowsEmulate true; nextBuildNumber 1629
Remote build server listening on [http] port 3000
ios-sim is installed on path at: /usr/local/lib/node_modules/vs-mda-remote/node_modules/ios-sim/build/release/ios-sim
New build request submitted:
/build/tasks?command=build&vcordova=4.3.0&cfg=debug
{ 'accept-language': 'en-US',
host: '192.168.1.11:3000',
connection: 'keep-alive',
'transfer-encoding': 'chunked' }
New build request submitted for cordovaVersion: 4.3.0; buildCommand: build; configuration: debug
Build will be executed under: /Users/IBRAHIMALHUSSAIN/remote-builds/builds/1630
Saving build request payload to : /Users/IBRAHIMALHUSSAIN/remote-builds/builds/1630
Saved upload to /Users/IBRAHIMALHUSSAIN/remote-builds/builds/1630/upload_1630.tgz
Extracting /Users/IBRAHIMALHUSSAIN/remote-builds/builds/1630/upload_1630.tgz to /Users/IBRAHIMALHUSSAIN/remote-builds/builds/1630/cordovaApp...
POST /build/tasks?command=build&vcordova=4.3.0&cfg=debug 202 427ms - 521b
GET /build/tasks/1630 200 4ms - 521b
Extracted app contents from uploaded build request to /Users/IBRAHIMALHUSSAIN/remote-builds/builds/1630/cordovaApp. Requesting build.
Taking 1630 as current build
Building cordova app BlankCordovaApp2015Test at appDir /Users/IBRAHIMALHUSSAIN/remote-builds/builds/1630/cordovaApp
Opened build log file /Users/IBRAHIMALHUSSAIN/remote-builds/builds/1630/build.log
GET /build/tasks/1630 200 22ms - 4.09kb
GET /build/tasks/1630 200 2ms - 4.09kb
GET /build/tasks/1630 200 2ms - 4.09kb
GET /build/tasks/1630 200 2ms - 4.09kb
GET /build/tasks/1630 200 2ms - 4.09kb
GET /build/tasks/1630 200 1ms - 4.09kb
GET /build/tasks/1630 200 1ms - 4.09kb
GET /build/tasks/1630 200 0ms - 4.09kb
GET /build/tasks/1630 200 1ms - 4.09kb
GET /build/tasks/1630 200 1ms - 4.09kb
GET /build/tasks/1630 200 1ms - 4.09kb
GET /build/tasks/1630 200 1ms - 4.09kb
GET /build/tasks/1630 200 1ms - 4.09kb
GET /build/tasks/1630 200 1ms - 4.09kb
GET /build/tasks/1630 200 1ms - 4.09kb
GET /build/tasks/1630 200 9ms - 4.09kb
GET /build/tasks/1630 200 0ms - 4.09kb
GET /build/tasks/1630 200 2ms - 4.09kb
GET /build/tasks/1630 200 1ms - 4.09kb
GET /build/tasks/1630 200 1ms - 4.09kb
GET /build/tasks/1630 200 2ms - 4.09kb
GET /build/tasks/1630 200 0ms - 4.09kb
GET /build/tasks/1630 200 2ms - 4.09kb
GET /build/tasks/1630 200 1ms - 4.09kb
GET /build/tasks/1630 200 1ms - 4.09kb
GET /build/tasks/1630 200 1ms - 4.09kb
GET /build/tasks/1630 200 1ms - 4.09kb
GET /build/tasks/1630 200 1ms - 4.09kb
GET /build/tasks/1630 200 1ms - 4.09kb
GET /build/tasks/1630 200 1ms - 4.09kb
GET /build/tasks/1630 200 1ms - 4.09kb
GET /build/tasks/1630 200 1ms - 4.09kb
GET /build/tasks/1630 200 1ms - 4.09kb
Done building 1630 : error CordovaModuleLoadError [ '4.3.0' ]
Done with currentBuild. Checking for next build in queue.
GET /build/tasks/1630 200 1ms - 4.12kb
GET /build/tasks/1630/log 200 3ms
我也尝试过更改 npm 目录所有权的解决方案 found here这对我不起作用。这是我尝试按照上一个链接中的解决方案解决问题时终端中的输出:
IBRAHIM-ALHUSSAINs-Mac-mini:bin IBRAHIMALHUSSAIN$ ls
HideMeService idevicecrashreport ideviceinstaller iproxy
asn1Coding idevicedate idevicename node
asn1Decoding idevicedebug idevicenotificationproxy npm
asn1Parser idevicedebugserverproxy idevicepair plistutil
brew idevicediagnostics ideviceprovision vs-mda-remote
idevice_id ideviceenterrecovery idevicescreenshot zipcmp
idevicebackup ideviceimagemounter idevicesyslog zipmerge
idevicebackup2 ideviceinfo ios_webkit_debug_proxy ziptorrent
IBRAHIM-ALHUSSAINs-Mac-mini:bin IBRAHIMALHUSSAIN$ ls -l
total 70672
-rwxr-xr-x 1 root wheel 24308 Sep 1 2014 HideMeService
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 37 May 26 19:30 asn1Coding -> ../Cellar/libtasn1/4.5/bin/asn1Coding
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 39 May 26 19:30 asn1Decoding -> ../Cellar/libtasn1/4.5/bin/asn1Decoding
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 37 May 26 19:30 asn1Parser -> ../Cellar/libtasn1/4.5/bin/asn1Parser
-rwxr-xr-x 1 IBRAHIMALHUSSAIN admin 791 May 26 19:30 brew
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 47 May 26 19:30 idevice_id -> ../Cellar/libimobiledevice/1.2.0/bin/idevice_id
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 50 May 26 19:30 idevicebackup -> ../Cellar/libimobiledevice/1.2.0/bin/idevicebackup
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 51 May 26 19:30 idevicebackup2 -> ../Cellar/libimobiledevice/1.2.0/bin/idevicebackup2
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 55 May 26 19:30 idevicecrashreport -> ../Cellar/libimobiledevice/1.2.0/bin/idevicecrashreport
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 48 May 26 19:30 idevicedate -> ../Cellar/libimobiledevice/1.2.0/bin/idevicedate
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 49 May 26 19:30 idevicedebug -> ../Cellar/libimobiledevice/1.2.0/bin/idevicedebug
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 60 May 26 19:30 idevicedebugserverproxy -> ../Cellar/libimobiledevice/1.2.0/bin/idevicedebugserverproxy
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 55 May 26 19:30 idevicediagnostics -> ../Cellar/libimobiledevice/1.2.0/bin/idevicediagnostics
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 57 May 26 19:30 ideviceenterrecovery -> ../Cellar/libimobiledevice/1.2.0/bin/ideviceenterrecovery
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 56 May 26 19:30 ideviceimagemounter -> ../Cellar/libimobiledevice/1.2.0/bin/ideviceimagemounter
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 48 May 26 19:30 ideviceinfo -> ../Cellar/libimobiledevice/1.2.0/bin/ideviceinfo
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 55 May 26 19:30 ideviceinstaller -> ../Cellar/ideviceinstaller/1.1.0_1/bin/ideviceinstaller
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 48 May 26 19:30 idevicename -> ../Cellar/libimobiledevice/1.2.0/bin/idevicename
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 61 May 26 19:30 idevicenotificationproxy -> ../Cellar/libimobiledevice/1.2.0/bin/idevicenotificationproxy
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 48 May 26 19:30 idevicepair -> ../Cellar/libimobiledevice/1.2.0/bin/idevicepair
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 53 May 26 19:30 ideviceprovision -> ../Cellar/libimobiledevice/1.2.0/bin/ideviceprovision
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 54 May 26 19:30 idevicescreenshot -> ../Cellar/libimobiledevice/1.2.0/bin/idevicescreenshot
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 50 May 26 19:30 idevicesyslog -> ../Cellar/libimobiledevice/1.2.0/bin/idevicesyslog
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 65 May 26 19:30 ios_webkit_debug_proxy -> ../Cellar/ios-webkit-debug-proxy/1.4_2/bin/ios_webkit_debug_proxy
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 35 May 26 19:30 iproxy -> ../Cellar/usbmuxd/1.0.10/bin/iproxy
-rwxr-xr-x 1 root admin 36032800 May 23 06:13 node
lrwxr-xr-x 1 IBRAHIMALHUSSAIN wheel 38 May 25 18:15 npm -> ../lib/node_modules/npm/bin/npm-cli.js
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 37 May 26 19:30 plistutil -> ../Cellar/libplist/1.12/bin/plistutil
lrwxr-xr-x 1 root wheel 51 May 26 19:25 vs-mda-remote -> ../lib/node_modules/vs-mda-remote/bin/vs-mda-remote
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 34 May 26 19:30 zipcmp -> ../Cellar/libzip/0.11.2/bin/zipcmp
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 36 May 26 19:30 zipmerge -> ../Cellar/libzip/0.11.2/bin/zipmerge
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 38 May 26 19:30 ziptorrent -> ../Cellar/libzip/0.11.2/bin/ziptorrent
IBRAHIM-ALHUSSAINs-Mac-mini:bin IBRAHIMALHUSSAIN$ sudo npm cache clear
Password:
IBRAHIM-ALHUSSAINs-Mac-mini:bin IBRAHIMALHUSSAIN$ sudo chown -R `whoami` npm
IBRAHIM-ALHUSSAINs-Mac-mini:bin IBRAHIMALHUSSAIN$ sudo chown -R `whoami` ~/npm
chown: /Users/IBRAHIMALHUSSAIN/npm: No such file or directory
IBRAHIM-ALHUSSAINs-Mac-mini:bin IBRAHIMALHUSSAIN$
IBRAHIM-ALHUSSAINs-Mac-mini:bin IBRAHIMALHUSSAIN$
IBRAHIM-ALHUSSAINs-Mac-mini:bin IBRAHIMALHUSSAIN$
IBRAHIM-ALHUSSAINs-Mac-mini:bin IBRAHIMALHUSSAIN$ ls -l
total 70672
-rwxr-xr-x 1 root wheel 24308 Sep 1 2014 HideMeService
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 37 May 26 19:30 asn1Coding -> ../Cellar/libtasn1/4.5/bin/asn1Coding
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 39 May 26 19:30 asn1Decoding -> ../Cellar/libtasn1/4.5/bin/asn1Decoding
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 37 May 26 19:30 asn1Parser -> ../Cellar/libtasn1/4.5/bin/asn1Parser
-rwxr-xr-x 1 IBRAHIMALHUSSAIN admin 791 May 26 19:30 brew
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 47 May 26 19:30 idevice_id -> ../Cellar/libimobiledevice/1.2.0/bin/idevice_id
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 50 May 26 19:30 idevicebackup -> ../Cellar/libimobiledevice/1.2.0/bin/idevicebackup
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 51 May 26 19:30 idevicebackup2 -> ../Cellar/libimobiledevice/1.2.0/bin/idevicebackup2
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 55 May 26 19:30 idevicecrashreport -> ../Cellar/libimobiledevice/1.2.0/bin/idevicecrashreport
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 48 May 26 19:30 idevicedate -> ../Cellar/libimobiledevice/1.2.0/bin/idevicedate
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 49 May 26 19:30 idevicedebug -> ../Cellar/libimobiledevice/1.2.0/bin/idevicedebug
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 60 May 26 19:30 idevicedebugserverproxy -> ../Cellar/libimobiledevice/1.2.0/bin/idevicedebugserverproxy
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 55 May 26 19:30 idevicediagnostics -> ../Cellar/libimobiledevice/1.2.0/bin/idevicediagnostics
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 57 May 26 19:30 ideviceenterrecovery -> ../Cellar/libimobiledevice/1.2.0/bin/ideviceenterrecovery
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 56 May 26 19:30 ideviceimagemounter -> ../Cellar/libimobiledevice/1.2.0/bin/ideviceimagemounter
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 48 May 26 19:30 ideviceinfo -> ../Cellar/libimobiledevice/1.2.0/bin/ideviceinfo
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 55 May 26 19:30 ideviceinstaller -> ../Cellar/ideviceinstaller/1.1.0_1/bin/ideviceinstaller
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 48 May 26 19:30 idevicename -> ../Cellar/libimobiledevice/1.2.0/bin/idevicename
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 61 May 26 19:30 idevicenotificationproxy -> ../Cellar/libimobiledevice/1.2.0/bin/idevicenotificationproxy
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 48 May 26 19:30 idevicepair -> ../Cellar/libimobiledevice/1.2.0/bin/idevicepair
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 53 May 26 19:30 ideviceprovision -> ../Cellar/libimobiledevice/1.2.0/bin/ideviceprovision
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 54 May 26 19:30 idevicescreenshot -> ../Cellar/libimobiledevice/1.2.0/bin/idevicescreenshot
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 50 May 26 19:30 idevicesyslog -> ../Cellar/libimobiledevice/1.2.0/bin/idevicesyslog
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 65 May 26 19:30 ios_webkit_debug_proxy -> ../Cellar/ios-webkit-debug-proxy/1.4_2/bin/ios_webkit_debug_proxy
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 35 May 26 19:30 iproxy -> ../Cellar/usbmuxd/1.0.10/bin/iproxy
-rwxr-xr-x 1 root admin 36032800 May 23 06:13 node
lrwxr-xr-x 1 IBRAHIMALHUSSAIN wheel 38 May 25 18:15 npm -> ../lib/node_modules/npm/bin/npm-cli.js
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 37 May 26 19:30 plistutil -> ../Cellar/libplist/1.12/bin/plistutil
lrwxr-xr-x 1 root wheel 51 May 26 19:25 vs-mda-remote -> ../lib/node_modules/vs-mda-remote/bin/vs-mda-remote
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 34 May 26 19:30 zipcmp -> ../Cellar/libzip/0.11.2/bin/zipcmp
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 36 May 26 19:30 zipmerge -> ../Cellar/libzip/0.11.2/bin/zipmerge
lrwxr-xr-x 1 IBRAHIMALHUSSAIN admin 38 May 26 19:30 ziptorrent -> ../Cellar/libzip/0.11.2/bin/ziptorrent
IBRAHIM-ALHUSSAINs-Mac-mini:bin IBRAHIMALHUSSAIN$
IBRAHIM-ALHUSSAINs-Mac-mini:bin IBRAHIMALHUSSAIN$
最佳答案
作为answer建议,你可以尝试运行
sudo chown -R `whoami` ~/.npm
(注意npm前面的“.”)或
sudo chown -R $USER ~/.npm
如果这不能解决您的问题,请告诉我们
关于ios - Cordova ModuleLoadError [ '4.3.0'] - Visual Studio 中的多设备混合应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30580895/
我经常使用 SSMS 查询数据和构建数据集,我的 IT 部门负责数据库管理。 最近我发现了 Azure Data Studio,我喜欢: 智能感知 源代码控制(例如使用 Git) 来自社区的扩展 SQ
我想根据我使用的 visual studio 版本编译不同的东西,比如 #if VISUAL_STUDIO_VERSION > 2015 eventH?.Invoke(this, EventArgs.
我们的开发团队计划从 visual studio 2005 升级到 visual studio 2010 -- 跳过 visual studio 2008。 大部分项目是VB ASP.NET项目,使用
我的Visual Studio 2015无法构建2010平台工具集。它说: The build tools for Visual Studio 2010 (v100) cannot be found.
我目前正在使用 Visual Studio 2015 来编程 ASP.NET Core 应用程序。我对安装 Visual Studio 2017 有以下疑问: 什么被认为是最佳实践和/或最干净的方法?
尝试从扩展和更新获取 Visual Studio 扩展时,出现以下错误:- 向 visualstudiogallery.msdn.microsoft.com/Services/VStudio/Exte
这个问题在这里已经有了答案: Can Visual Studio Code and VS 2012 be installed on same computer? (1 个回答) 关闭去年。 在安装了
作为标准安装的一部分,Visual Studio Code 带有一个名为“Monokai Dimmed”的颜色主题。 有没有办法将它移植到 Visual Studio 2015?我检查了社区主题( h
我想开始编程 CUDA。 我已经安装了 Visual Studio 2010 Express。 我还安装了 nVidia nSight Visual Studio。 而且我具备所有常见的先决条件(Ne
Visual Studio Community Edition是否可以使用Visual Studio Online帐户上的存储库? 我一直为包含在Online帐户中的Visual Studio Onl
我有一个我一直在开发的应用程序,但在 android studio 上遇到了问题。当我点击“build->run”然后选择我的设备时,应用程序永远不会在我的手机上运行(并且自动出现的android-s
我正在使用Visual Studio2010。我面临的一个问题是,当我创建一个新的Web项目时,Visual Studio将创建该项目,并且不会在解决方案资源管理器中显示其解决方案。 另一件事是,我想
我通读了这里的许多帖子,却找不到一个有效的明确答案。因此,在花了一些时间使它生效之后,我认为应该发布它。 问题:发布配置文件将建立在服务器上,但不会发布。 解: 确保已安装Microsoft Wind
我正在尝试使用Visual Studio 2012构建针对.NET 3.5的C++ CLI应用程序。 通过安装Visual Studio 2008,并指定v90平台工具集,我已经在一台机器上进行了这项
我在 Microsoft Visual Studios 2013 中有一个项目,我想在 Microsoft Visual Studios 2010 中打开它。有什么简单的方法吗?还是我必须在2010年
我想知道,如果我发送一个解决方案文件夹(它是用 visual studio C# 编写的),您可以在 visual studio for mac 中打开解决方案吗? 在visual studio 20
有没有办法在 Visual Studio Code 和 Visual Studio 中设置相同的快捷方式(而不必每次都手动更改它们)? 例如,我在 Visual Studio Code 中经常使用 A
我刚开始了解 Visual Studio Code。我想知道,我可以将 Visual Studio 替换为所有 .NET 开发相关的工作吗? 我可以节省 Visual Studio 许可的成本吗? V
我安装了具有有效许可证(Visual Studio 订阅)的 Visual Studio 2019 企业版(VS 2019 16.1.4),它运行良好。 突然之间,当我尝试打开项目或项目中的任何文件时
我一直在使用 Compass 编译 Windows 环境中的 sass 文件,无论是在命令行上还是使用 Compass-app 来查看目录。 我刚刚开始使用 Visual Studio(专业版 201
我是一名优秀的程序员,十分优秀!