Package name issue
See original GitHub issueI am trying your library:
import { Vector } from 'prelude.ts';
But I got this error:
src/index.ts:5:24 - error TS2691: An import path cannot end with a '.ts' extension. Consider importing 'prelude' instead.
So I tried only prelude
as it suggests and that crashes with this:
src/index.ts:5:24 - error TS2307: Cannot find module 'prelude'.
When I was installing the package I thought the name is a bit weird, but I didn’t expect it is not supported by TypeScript.
TS: 3.1.3 prelude.ts: 0.8.1
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Getting an error after changing package name - Stack Overflow
1- First open AndroidManifest.xml. Select the part of your package name in the package property that you want to change.
Read more >Error: Package name not found · Issue #33470 - GitHub
Description After integrating RN into an existing Android project, I get the following error: Error: Package name not found in /home/.
Read more >Naming a Package (The Java™ Tutorials > Learning the Java ...
Package names are written in all lower case to avoid conflict with the names of classes or interfaces. Companies use their reversed Internet...
Read more >Fixing the “Declared package does not match the expected ...
First, let's make sure that the package declaration and relative source file path match. If that's already the case, we can try to...
Read more >Configure the app module - Android Developers
Set the application ID ... Every Android app has a unique application ID that looks like a Java or Kotlin package name, such...
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 FreeTop 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
Top GitHub Comments
ah the issue would be the module system being es2015. certainly I can add a FAQ entry for that. Maybe I’ll consider again renaming.
Yes, please at least make a note in FAQ or installation, so others aren’t as confused as I was 😃.