Cannot Use Import.meta Outside A Module

Generally, people use can't in speech and informal writing, and cannot or can not in formal writing or very formal speech. Also (as @Kris points out in a comment), cannot might be used when you need to carefully distinguish it from can't in speech.

cannot use import.meta outside a module 1

differences - When to use "cannot" versus "can't"? - English Language ...

cannot use import.meta outside a module 2

As does Thesaurus.com: The terms cannot and can not are identical in meaning and are typically considered to be alternate forms of one another. However, the form cannot is much more commonly used than can not. Cannot has become the standard form in formal writing (and is typically the form recommended by most grammar resources and style guides).

Cannot is the only negative form that contains not rather than -n't. Theoretically, since it is a single word, you can say why cannot you... without a problem. My theory is that modern English speakers don't want to put cannot before the subject because it contains not and sounds like can not.

cannot use import.meta outside a module 4

If I am writing a formal letter, should I use "can't," "cannot," or ...

1 There is no correct way to use "cannot help but." There are two traditional and synonymous idioms, "cannot but [do something]" and "cannot help [doing something]." Those who say "cannot help but" are conflating the two (in much the same some people conflate "irrespective" and "regardless" to create the nonsensical "irregardless").

conditional perfect - Right way to use "Cannot but help" - English ...

cannot use import.meta outside a module 7

-1 Saying that something "cannot be overstated" is exaggeration and clearly never true, because anything can be overstated. (You just keep repeating that thing to the exclusion of everything else: now it is overstated.) So is using this phrase sloppy writing, or is it a well-understood phase that no longer means what it appears to mean?