FlowFuse / installer

A set of install scripts for FlowFuse
https://flowfuse.com
Apache License 2.0
7 stars 5 forks source link

Failed to start after installation finished #114

Closed barrypoon closed 3 days ago

barrypoon commented 6 days ago

Current Behavior

node:internal/modules/cjs/loader:1147 throw err; ^

Error: Cannot find module './config' Require stack:

Node.js v20.11.0

Expected Behavior

No response

Steps To Reproduce

OS: Windows 10 extract flowforge installer to d:\ then rename to d:\flowforge change to directory d:\flowforge type bin\flowfuse to start

Environment

Linked Customers

Steve-Mcl commented 6 days ago

Steps To Reproduce

OS: Windows 10 extract flowforge installer to d: then rename to d:\flowforge change to directory d:\flowforge type bin\flowfuse to start

Hi @barrypoon, just checking, in the docs it says to run install.bat but your "Steps to Reproduce" does not mention this.

Can you confirm that please?

hardillb commented 6 days ago

I know what the problem is, need to do a 2.6.1 release

hardillb commented 6 days ago

@barrypoon this was a broken package, if you change to app directory and run the following:

npm install @flowfuse/flowfuse@2.6.1

It should fix the problem

barrypoon commented 3 days ago

@barrypoon this was a broken package, if you change to app directory and run the following:

npm install @flowfuse/flowfuse@2.6.1

It should fix the problem

Got it. Thank you very much!

(base) D:\flowforge>cd app

(base) D:\flowforge\app>npm install @flowfuse/flowfuse@2.6.1

removed 1 package, changed 1 package, and audited 896 packages in 8s

85 packages are looking for funding run npm fund for details

found 0 vulnerabilities

(base) D:\flowforge>bin\flowfuse {"level":"INFO","time":"2024-07-09T08:54:04.661Z","msg":"FlowFuse v2.6.1"} {"level":"INFO","time":"2024-07-09T08:54:04.661Z","msg":"FlowFuse running with NodeJS v20.11.0"} {"level":"INFO","time":"2024-07-09T08:54:04.662Z","msg":"FlowFuse Data Directory: D:\flowforge"} {"level":"INFO","time":"2024-07-09T08:54:04.662Z","msg":"Config File: D:\flowforge\etc\flowforge.yml"} {"level":"INFO","time":"2024-07-09T08:54:04.662Z","msg":"Database driver: sqlite"} {"level":"INFO","time":"2024-07-09T08:54:04.663Z","msg":"Database file: D:\flowforge\var\forge.db"} {"level":"INFO","time":"2024-07-09T08:54:04.958Z","msg":"No license applied"} {"level":"INFO","time":"2024-07-09T08:54:04.964Z","msg":"Usage : count/limit"} {"level":"INFO","time":"2024-07-09T08:54:04.964Z","msg":" Users : 1/5"} {"level":"INFO","time":"2024-07-09T08:54:04.964Z","msg":" Teams : 1/5"} {"level":"INFO","time":"2024-07-09T08:54:04.964Z","msg":" Instances : 1/5"} {"level":"INFO","time":"2024-07-09T08:54:05.291Z","msg":"Email not configured"} {"level":"WARN","time":"2024-07-09T08:54:05.292Z","msg":"[comms] Broker not configured - comms unavailable"} {"level":"INFO","time":"2024-07-09T08:54:05.377Z","msg":"Container driver: localfs"} {"level":"INFO","time":"2024-07-09T08:54:06.206Z","msg":"Server listening at http://[::1]:3000"} {"level":"INFO","time":"2024-07-09T08:54:06.208Z","msg":"Server listening at http://127.0.0.1:3000"} {"level":"INFO","time":"2024-07-09T08:54:06.208Z","msg":"****"} {"level":"INFO","time":"2024-07-09T08:54:06.208Z","msg":" FlowFuse is now running and can be accessed at: "} {"level":"INFO","time":"2024-07-09T08:54:06.208Z","msg":" http://localhost:3000 "} {"level":"INFO","time":"2024-07-09T08:54:06.208Z","msg":"****"} {"level":"INFO","time":"2024-07-09T08:54:09.488Z","msg":"Starting project 9ddaddad-d263-4eb6-b1c5-a152e5416893 on port 12080"} {"level":"INFO","time":"2024-07-09T08:54:09.623Z","msg":"Set FORGE_NR_PATH to D:\flowforge\var\stacks\3.1.10"}