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

Unable to change theme #60

Closed
georgeowell opened this issue Jan 18, 2020 · 3 comments
Closed

Unable to change theme #60

georgeowell opened this issue Jan 18, 2020 · 3 comments
Labels
bug Something isn't working
Milestone

Comments

@georgeowell
Copy link
Collaborator

Browser:

Firefox Browser 72.0.1
Chromium Version 79.0.3945.79

What's the problem you want to solved?

I wanted to change the theme. I go to "meta" and change to any of the other themes.

What happens?

I am redirected to an error:

ReferenceError: URL is not defined
    at router.param.param.param.param.get.get.get.get.get.get.get.get.get.get.get.get.get.get.get.get.get.get.get.post.post.post.post.post.post.post (/usr/local/lib/node_modules/@fraction/oasis/src/index.js:512:21)
    at dispatch (/usr/local/lib/node_modules/@fraction/oasis/node_modules/koa-router/node_modules/koa-compose/index.js:44:32)
    at next (/usr/local/lib/node_modules/@fraction/oasis/node_modules/koa-router/node_modules/koa-compose/index.js:45:18)
    at /usr/local/lib/node_modules/@fraction/oasis/node_modules/koa-body/index.js:148:14
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)

The theme is not changed.

@christianbundy
Copy link
Member

Dang, that doesn't look fun at all. Thanks for posting this bug report so that other people don't bump into the issue. Could you post the Node.js version you're using? That error suggests to me that you're on Node.js 7 or earlier -- if that's true, could you upgrade to at least Node 10 and see if that resolves the problem?

@christianbundy christianbundy added the bug Something isn't working label Jan 19, 2020
@georgeowell
Copy link
Collaborator Author

I was using the version in the Ubuntu repos for 18.04 which is nodejs/bionic-updates,now 8.10.0~dfsg-2ubuntu0.4 amd64 and horrendously old.

So I just tried with Node 10.16.1 and now I can't get Oasis running. I also get the same error with node version

oasis --open was failing with

Something went wrong installing the "sharp" module

The module '/home/leo/git/oasis/node_modules/sharp/build/Release/sharp.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 57. This version of Node.js requires
NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).

- Ensure the version of Node.js used at install time matches that used at runtime
- Consult the installation documentation at https://sharp.pixelplumbing.com/en/stable/install/
- Search for this error at https://github.com/lovell/sharp/issues

I'm not very knowledgeable in this area so I didn't know I had to run node rebuild. After doing that I can change the theme!

@christianbundy
Copy link
Member

Happy to hear that you have it working now, thanks for this update!

@cinnamon-bun cinnamon-bun added this to the Barebones SSB client milestone Feb 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

3 participants