Model creation error and unable to access application
See original GitHub issueFollowing successful installation, I get the following error when running the node ./bin/www command:
user@domain:~$ cd "ExpertC" && node ./bin/www
Model creation error: SyntaxError: Unexpected token *
🌳 Open your admin UI: http://app.forestadmin.com 🌳
While the final message appears to indicate success, it the ssh locks and I’m forced to Ctrl+C.
Running curl -I http://localhost:3000/forest
also appears to indicate that the server isn’t running:
user@domain:~/ExpertC$ curl -I http://localhost:3000/forest
curl: (7) Failed to connect to localhost port 3000: Connection refused
Any help gratefully appreciated. I did run into some memory issues on the original install, but having added a swap file to server, that appears to have been fixed. Is it possible I’m encountering more memory-related issues here?
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (3 by maintainers)
Top GitHub Comments
@JustJasper the “hang” you are describing is the actual express server just running and waiting for connections. If you open another terminal on the same machine after leaving the node server on and curl
http://localhost:3000
you will get connected, but probably encounter a404
as lumber doesn’t serve anything in root by default.To use the dashboard, open the link given by the command (
http://app.forestadmin.com
) and login to see the project you created and connect to it. To connect you will need to configure access to the node server running. This will be dependant on your network. If you had the server running on localhost, it would be as easy as pointing the dashboard tohttp://localhost:3000
, but since you seem to be running on a VPS of some sort, you will probably need to open a port to the liana (the server generated by lumber that servers data to your admin interface) and connect to it by ip or url (if you have a dns entry pointing to the ip of the VPS), e.g.http://my-vps.my-domain.com:3000
or something.Apologies if unclear - when I run the
node ./bin/www
command, I get the🌳 Open your admin UI: http://app.forestadmin.com 🌳
message, however, the process appears to ‘hang’ and I’m forced to Ctrl+C to get back to my command line prompt.