error: Uncaught SyntaxError: The requested module './constants.ts' does not provide an export named 'MIME'
See original GitHub issueWhen I run this example: https://github.com/i18next/i18next-http-backend/tree/master/example/deno it seems to work like expected, without any problem.
But when I run the deno tests: deno test test/deno/*.js --allow-net
(https://github.com/i18next/i18next-http-backend/tree/master/test/deno)
I get this error: error: Uncaught SyntaxError: The requested module './constants.ts' does not provide an export named 'MIME'
Like here: https://github.com/i18next/i18next-http-backend/runs/1148469490?check_suite_focus=true
Any idea why this is happening? https://github.com/zhmushan/abc/blob/ce7954710d5c8cd895750b60527a360655c3cd80/constants.ts#L61
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
The requested module does not provide an export named in JS
The error "The requested module does not provide an export named" occurs when mixing up default and named ES6 module imports and exports....
Read more >Misleading error that module does not provide export #32137
You get this: SyntaxError: The requested module './dependency.cjs' does not provide an export named 'name' which is only "true" because ES ...
Read more >42 - Stack Overflow
Uncaught SyntaxError : The requested module './add.js' does not provide an export named 'add' ; <head> ; <script type="module" src="app.js"> ; </ ...
Read more >Common Error Details - Snowpack
Uncaught SyntaxError : The requested module './XXXXXX.js' does not provide an export named 'YYYYYY'#. If you are using TypeScript, this error could occur...
Read more >Node.js v19.3.0 Documentation
calls() and will throw an error for functions that have not been called the expected number of times. import assert from 'node:assert'; //...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
But on github it still fails: https://github.com/i18next/i18next-http-backend/runs/1353083327
idk
Thank you for the hint