Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running a development version #304

Open
Gracecr opened this issue Aug 10, 2022 · 0 comments
Open

Running a development version #304

Gracecr opened this issue Aug 10, 2022 · 0 comments

Comments

@Gracecr
Copy link

Gracecr commented Aug 10, 2022

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 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.

Any help would be much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant