Build error in current main branch

I’m getting this dev build error on two systems on current main

Module not found: Error: Can't resolve '@ember/debug' in '/home/robert/discourse/app/assets/javascripts/node_modules/ember-tracked-storage-polyfill/addon/index.js'

This may fox some people so I’m posting here.

2 Likes

Unusually you apppear to need to delete the node_modules directory deep in the Discourse directory structure:

rm -r app/assets/javascripts/node_modules

After that, the error should disappear.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.