Blank page after theme installation

Hi all!

I started to play with discourse in a local installation to see if it would be a good fit for my project, whether the code and plugin system would be extensible enough. My localhost installation worked fine, I was able to install a few themes and theme components, but as soon as I installed and set as default one of the themes that are not initially present I got the following errors when reloading the page:

vendor.js:259 Uncaught Error: Could not find module `I18n` imported from `discourse/models/permission-type`
    at missingModule (vendor.js:259)
    at findModule (vendor.js:270)
    at Module.findDeps (vendor.js:180)
    at findModule (vendor.js:274)
    at Module.findDeps (vendor.js:180)
    at findModule (vendor.js:274)
    at Module.findDeps (vendor.js:180)
    at findModule (vendor.js:274)
    at Module.findDeps (vendor.js:180)
    at findModule (vendor.js:274)
missingModule @ vendor.js:259
findModule @ vendor.js:270
Module.findDeps @ vendor.js:180
findModule @ vendor.js:274
Module.findDeps @ vendor.js:180
findModule @ vendor.js:274
Module.findDeps @ vendor.js:180
findModule @ vendor.js:274
Module.findDeps @ vendor.js:180
findModule @ vendor.js:274
requireModule @ vendor.js:36
(anonymous) @ 65364dac9b8cd9517718328d3e597a819de79391.js?__ws=localhost:144
(anonymous) @ 65364dac9b8cd9517718328d3e597a819de79391.js?__ws=localhost:152
vendor.js:155 Uncaught TypeError: Cannot read property 'exports' of undefined
    at Module._reify (vendor.js:155)
    at Module.reify (vendor.js:142)
    at Module.exports (vendor.js:116)
    at Module._reify (vendor.js:155)
    at Module.reify (vendor.js:142)
    at Module.exports (vendor.js:116)
    at Module._reify (vendor.js:155)
    at Module.reify (vendor.js:142)
    at Module.exports (vendor.js:116)
    at Module._reify (vendor.js:155)

The theme in question is this, and I installed it using its github repository url. I have tried using safe mode, but after disabling everything I still run into the same issues. I have also tried going through the wizard once more and changing the default theme to no avail. I know some javascript (React, angular) but I’m just starting to learn about Ember so I’m really lost here. Looking at the code of the theme it doesn’t seem to require any new modules to be installed or anything, so I’m puzzled by this.

Any help would be greatly appreciated!

P.S: In case it helps, I’m running my installation in ubuntu 20.04

1 Like