Closed novuscy closed 7 months ago
It seems that the writeThemeFiles() function in the launcher.js file is still searching for the old @flowforge scope:
async writeThemeFiles () {
info('Updating theme files')
const sourceDir1 = path.join(__dirname, '..', 'node_modules', '@flowforge', 'nr-theme')
const sourceDir2 = path.join(__dirname, '..', '..', 'nr-theme')
const sourceDir = existsSync(sourceDir1) ? sourceDir1 : sourceDir2
const targetDir = path.join(this.projectDir, 'node_modules', '@flowforge', 'nr-theme')
...
}
Thanks for highlighting - we'll get that fixed.
Verified with Device agent v2.1.0
Current Behavior
These messages show up when register a brand new device
and the device editor theme is the default node-red theme, not the FlowFuse one.
Expected Behavior
No error message. Use the FlowFuse theme
Steps To Reproduce
Register a new device in the platform. Enable develop mode Open device editor
Environment