在Raspberry Pi 4上运行的Azure Edge中的Node-RED ARM32模块,提示“ EACCES:权限被拒绝”

问题描述 投票:0回答:1

我正在尝试在Raspberry Pi 4上运行的Azure Edge中运行Node-RED模块noderededgemodule

我正在使用ARM32容器,但出现以下错误:

pi@raspberrypi:~ $ iotedge logs nodered
fs.js:114
    throw err;
    ^

Error: EACCES: permission denied, copyfile '/usr/local/lib/node_modules/node-red/settings.js' -> '/node-red/settings.js'
    at Object.copyFileSync (fs.js:1728:3)
    at copyFile (/usr/local/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/copy-sync.js:68:8)
    at onFile (/usr/local/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/copy-sync.js:53:25)
    at getStats (/usr/local/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/copy-sync.js:48:44)
    at startCopy (/usr/local/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/copy-sync.js:38:10)
    at handleFilterAndCopy (/usr/local/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/copy-sync.js:33:10)
    at Object.copySync (/usr/local/lib/node_modules/node-red/node_modules/fs-extra/lib/copy-sync/copy-sync.js:26:10)
    at Object.<anonymous> (/usr/local/lib/node_modules/node-red/red.js:108:20)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
fs.js:114
    throw err;
    ^

我正在尝试在Raspberry Pi 4上运行的Azure Edge中运行Node-RED模块noderededgemodule。我使用的是ARM32容器,但出现以下错误:pi @ raspberrypi:〜$ iotedge日志...

docker node-red azure-iot-hub azure-iot-edge
1个回答
0
投票

问题已移至github

© www.soinside.com 2019 - 2024. All rights reserved.