gpt4 book ai didi

android - EPERM,不允许操作

转载 作者:行者123 更新时间:2023-11-29 01:34:18 26 4
gpt4 key购买 nike

我正在使用 titanium 和 genymotion 作为 android 模拟器。我收到以下错误:-

[错误] 触发“执行后”事件时出错[错误] 错误:EPERM,不允许操作 'C:\Users\sudatta.titanium\analytics_session.json' 在 fs.openSync (fs.js:439:18) 在 fs.writeFileSync (fs.js:978:15) 在 c:\Users\sudatta\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\lib\analytics.js:192:7 在 c:\Users\sudatta\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js 在完成(c:\Users\sudatta\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\as 在 c:\Users\sudatta\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js 在 c:\Users\sudatta\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\node_modules\async\lib\async.js 在 c:\Users\sudatta\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\lib\analytics.js:113:5 在 getOSInfo (c:\Users\sudatta\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\lib\environ.js:205:3

在 async.parallel.osinfo (c:\Users\sudatta\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\lib\anal

at C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\cli\hooks\run.js:353:13
at ADB.<anonymous> (C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\node_modules\titanium-sdk\lib\adb.js:563:6)
at conn.exec.bufferUntilClose (C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\node_modules\titanium-sdk\lib\adb.js
at Connection.<anonymous> (C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\node_modules\titanium-sdk\lib\adb.js:251
at Socket.emit (events.js:117:20)

在 _stream_readable.js:944:16

at Connection.exec (C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\node_modules\titanium-sdk\lib\adb.js:248:9)
at ADB.<anonymous> (C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\node_modules\titanium-sdk\lib\adb.js:486:9)
at Connection.<anonymous> (C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\node_modules\titanium-sdk\lib\adb.js:171
at Socket.emit (events.js:95:17)
at Socket.<anonymous> (_stream_readable.js:765:14)

在 Socket.emit (events.js:92:17)

at Readable.on (_stream_readable.js:708:33)
at Connection.exec (C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\node_modules\titanium-sdk\lib\adb.js:119:9)
at ADB.shell (C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\node_modules\titanium-sdk\lib\adb.js:482:7)
at ADB.getPid (C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\node_modules\titanium-sdk\lib\adb.js:552:7)
at C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\cli\hooks\run.js:343:15
at async.whilst (C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\node_modules\async\lib\async.js:619:13)
at C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\cli\hooks\run.js:340:15

在 conn.exec.bufferUntilClose (C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\node_modules\titanium-sdk\lib\adb.js

at Connection.exec (C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\node_modules\titanium-sdk\lib\adb.js:248:9)
at ADB.<anonymous> (C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\node_modules\titanium-sdk\lib\adb.js:486:9)
at Connection.<anonymous> (C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\node_modules\titanium-sdk\lib\adb.js:171
at Socket.emit (events.js:95:17)
at Socket.<anonymous> (_stream_readable.js:765:14)

在 Socket.emit (events.js:92:17)

at Readable.on (_stream_readable.js:708:33)
at Connection.exec (C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\node_modules\titanium-sdk\lib\adb.js:119:9)
at ADB.shell (C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\node_modules\titanium-sdk\lib\adb.js:482:7)
at ADB.startApp (C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\node_modules\titanium-sdk\lib\adb.js:580:7)
at startApp (C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\cli\hooks\run.js:334:12)
at C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\android\cli\hooks\run.js:365:9
at iterate (C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\node_modules\async\lib\async.js:134:13)
at async.eachSeries (C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA\node_modules\async\lib\async.js:150:9)

我已经检查了几篇关于 genymotion 错误的文章,但我的错误似乎并不相关。任何人都知道为什么突然开始出现此错误。我拥有文件 analytics_session.json 的权限。谢谢。

最佳答案

也许您应该结束任务 Nodejs,然后再次尝试构建。发生这种情况是因为 EventIO 仍附加到较早的构建过程。

关于android - EPERM,不允许操作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29397717/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com