“ambiguous indirect export” error when I try to import multiple functions from the same module

I’ve been having issues with exporting and importing modules. I have a main file (main.js) depending on 3 modules (helpers.js, data.js, and menus.js) which all export multiple functions and variables. The modules also depend on each other. I’ve written the import and export statements exactly the way they’re shown in the MDN docs, but every time I load the file I get an “ambiguous indirect export” error.

The import/export statements for each of the four files are as follows:

Export for helpers.js:

export {
    getValue, remove, classLister, classRemover, addClass
};

Import for data.js:

import { classLister } from './helpers.js';

Export for data.js:

export {
    validTags, wordOpts, phraseOpts, inputOpts, allOpts,
    wordMenu, phraseMenu, inputMenu, deselect, menu
};

Import for menus.js:

import { classLister, classRemover } from './helpers.js';
import { 
    validTags, wordOpts, phraseOpts, inputOpts, allOpts
} from './data.js';
import { deselect, menu } from './main.js';

Export for menus.js:

export {
    deselectorMaker, normalPos, remover, update, addPos,
    addWord, menuMaker, haceFrases, deshaceFrases
};

Import for main.js:

import {
    deselectorMaker, menuMaker, update, remover, addPos,
    haceFrases
} from './menus.js';
import {
    classRemover, classLister, addClass, getValue
} from './helpers.js';
import {
    wordMenu, phraseMenu, inputMenu, validTags, wordOpts,
    phraseOpts
} from './data.js';

I was able to get some things to work by importing * and using the module name before every function, but it’s rather messy and causes some different issues so I would much rather import individual functions if possible. I’ve looked around and haven’t found anyone else with this particular issue, the error generally seems to come from default functions and incorrect JSON formatting, neither of which I have.