`import '.'` improperly mapped.
See original GitHub issueExample
Before:
import { something } from '.';
After:
import { something } from 'index.js';
Something it could be transformed to:
import { something } from './index.js';
Explanation
You probably know why. But index.js
refers to the root, .
and index.js
refers to an index
file at the same level as the file. If anyone has this error, you could change the imports from .
to ./index
.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Mapping incorrectly mapped fields
You can map these fields to the correct dimensions, or specify that they should be ignored. For example, if the import file contains...
Read more >6 Common CSV Import Errors and How to Fix Them - Flatfile
One of the most common CSV import errors is that the file is simply too large. That can be caused by too many...
Read more >Unexpected result when 'Record Owner' is mapped in Data ...
Unexpected result when 'Record Owner' is mapped in Data Import Wizard. ... potential occurrences of records being imported with the wrong record owner....
Read more >How to troubleshoot import issues when using a Data ...
If resource lookup keys are renamed, removed or mapped incorrectly from the data source, the error "The import rule '<import rule name>' ...
Read more >Solved: CSV import - Status field - Atlassian Community
I'm trying to leverage import csv feature in JIRA, which is great, but from what I can see, although "Status" is in CSV...
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
@KyleSmith0905 I have found the bug that was causing the issue, pr following soon. A workaround for this issue is to replace
.
with./
.I am running the command
tsc && tsc-alias --debug --project tsconfig.json
.Here is the first part of the CLI feed when running this command with both an incorrect
.
and correct./index
in 2 places, although it shouldn’t matter.