As I'm using Windows, there were a few small changes I made to the npm scripts to get them to work on my machine. I found that my node version of 18 was not supported by node-sass. I went through the process of updating sass-loader to v7.3.1 and switching from node-sass to sass.
I was then able to run my client and server. Unfortunately, all requests to the server produce a "Route Not Found" traceback.
I then gave up on Windows. I made a new clone of the repo without my node-sass change and created a devcontainer based on the Omniboard dockerfile. I changed the dockerfile to do yarn install instead of yarn install --production. Though I am able to run the client and server, I am met with the same traceback:
Error: Route Not Found
at /workspaces/omniboard-2/server/index.js:52:15
at Layer.handle [as handle_request] (/workspaces/omniboard-2/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/workspaces/omniboard-2/node_modules/express/lib/router/index.js:317:13)
at /workspaces/omniboard-2/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/workspaces/omniboard-2/node_modules/express/lib/router/index.js:335:12)
at next (/workspaces/omniboard-2/node_modules/express/lib/router/index.js:275:10)
at Layer.handle [as handle_request] (/workspaces/omniboard-2/node_modules/express/lib/router/layer.js:91:12)
at trim_prefix (/workspaces/omniboard-2/node_modules/express/lib/router/index.js:317:13)
at /workspaces/omniboard-2/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/workspaces/omniboard-2/node_modules/express/lib/router/index.js:335:12)
at next (/workspaces/omniboard-2/node_modules/express/lib/router/index.js:275:10)
at Layer.handle [as handle_request] (/workspaces/omniboard-2/node_modules/express/lib/router/layer.js:91:12)
at trim_prefix (/workspaces/omniboard-2/node_modules/express/lib/router/index.js:317:13)
at /workspaces/omniboard-2/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/workspaces/omniboard-2/node_modules/express/lib/router/index.js:335:12)
at next (/workspaces/omniboard-2/node_modules/express/lib/router/index.js:275:10)
Some of the tracebacks point to /workspaces/omniboard-2/server/app.js:372:17 instead of /workspaces/omniboard-2/server/index.js:52:15, but neither have been helpful to me in figuring out what's going wrong.
Hello.
I'm interested in contributing to Omniboard, but I'm having a difficult time setting up my development environment.
I've followed the instructions located at https://vivekratnavel.github.io/omniboard/#/development
As I'm using Windows, there were a few small changes I made to the
npm
scripts to get them to work on my machine. I found that my node version of 18 was not supported bynode-sass
. I went through the process of updatingsass-loader
to v7.3.1 and switching fromnode-sass
tosass
.I was then able to run my client and server. Unfortunately, all requests to the server produce a "Route Not Found" traceback.
I then gave up on Windows. I made a new clone of the repo without my
node-sass
change and created a devcontainer based on the Omniboard dockerfile. I changed the dockerfile to doyarn install
instead ofyarn install --production
. Though I am able to run the client and server, I am met with the same traceback:Some of the tracebacks point to
/workspaces/omniboard-2/server/app.js:372:17
instead of/workspaces/omniboard-2/server/index.js:52:15
, but neither have been helpful to me in figuring out what's going wrong.Any help would be much appreciated!