收藏
回答

Error: EPERM: operation not permitted?

小程序突然无法运行提示权限错误?

Error: EPERM: operation not permitted, read

    at Object.readSync (node:fs:592:3)

    at Object.readSync (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\js\libs\vseditor\bundled\editor.bundled.js:2:7690393)

    at tryReadSync (node:fs:366:20)

    at Object.readFileSync (node:fs:395:19)

    at Object.s.readFileSync (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\js\unpack\hackrequire\index.js:1:1911)

    at FileUtils.getFile (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\js\common\fileutils\core\fileutils.js:1:12306)

    at P.getFile (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\f18977ec922cf859921cfb6da1414390.js:2:2601)

    at ReactiveProject.getFile (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\js\common\compiler\core\json\reactiveCache.js:1:3999)

    at Function.checkPageJSON [as originCheckPageJSON] (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\js\common\compiler\core\json\page\checkPageJSON.js:1:1066)

    at reactivity_1.effect.scheduler (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\js\common\compiler\core\json\reactiveCache.js:1:6878)

    at reactiveEffect (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\node_modules.wxvpkg\@vue\reactivity\dist\reactivity.cjs.js:46:24)

    at Object.effect (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\node_modules.wxvpkg\@vue\reactivity\dist\reactivity.cjs.js:21:9)

    at ReactiveJSONCompiler.getPageJSON (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\js\common\compiler\core\json\reactiveCache.js:1:6704)

    at Function.originGetPageJSON (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\js\common\compiler\core\json\page\getPageJSON.js:1:2435)

    at reactivity_1.effect.scheduler (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\js\common\compiler\core\json\reactiveCache.js:1:6823)

    at reactiveEffect (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\node_modules.wxvpkg\@vue\reactivity\dist\reactivity.cjs.js:46:24)

    at Object.effect (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\node_modules.wxvpkg\@vue\reactivity\dist\reactivity.cjs.js:21:9)

    at ReactiveJSONCompiler.getPageJSON (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\js\common\compiler\core\json\reactiveCache.js:1:6704)

    at Object.getPageJSON (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\js\common\compiler\core\json\page\getPageJSON.js:1:2731)

    at y.getPageJSON (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\f18977ec922cf859921cfb6da1414390.js:2:4227)

    at module.exports (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\6b18925a8b625e09599dd8c687f772cb.js:2:708)

    at processTicksAndRejections (node:internal/process/task_queues:93:5)

    at async C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\eb2394e5d66ca57368d2a2ed880c7b34.js:2:2282(env: Windows,mp,1.05.2108130; lib: 2.19.2)

回答关注问题邀请回答
收藏

2 个回答

  • 失败时我不放弃@
    失败时我不放弃@
    发表于移动端
    2021-08-20
    wxid_ulimoc7lmeut22
    2021-08-20
    有用
    回复
  • 曲洪涛
    曲洪涛
    2021-08-20

    其他小程序可以打开,而这个小程序则运行不了,设置文件夹权限,已管理员权限运行都试了

    2021-08-20
    有用
    回复 3
    • 傷
      2021-08-20
      小程序公众平台有没有给自己添加开发者权限?
      2021-08-20
      回复
    • 曲洪涛
      曲洪涛
      2021-08-20回复
      开发者权限肯定是有的
      2021-08-20
      回复
    • 傷
      2021-08-20回复曲洪涛
      小程序的appid对吗?
      2021-08-20
      回复
登录 后发表内容