Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error TS6133 when building capacitor-mapbox #3

Open
idosius opened this issue Mar 16, 2021 · 0 comments
Open

Error TS6133 when building capacitor-mapbox #3

idosius opened this issue Mar 16, 2021 · 0 comments

Comments

@idosius
Copy link

idosius commented Mar 16, 2021

The following TypeScript error appears when building capacitor-mapbox:

> capacitor-mapbox@0.0.1 build
> npm run clean && tsc


> capacitor-mapbox@0.0.1 clean
> rimraf ./dist

src/web.ts:17:17 - error TS6133: 'location' is declared but its value is never read.

17   async openMap(location: { lat: number, long: number}): Promise<void> {
                   ~~~~~~~~


Found 1 error.

npm ERR! code 2
npm ERR! path /Users/idosius/IdeaProjects/demo-capacitor-mapbox/capacitor-mapbox
npm ERR! command failed
npm ERR! command sh -c npm run clean && tsc

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/idosius/.npm/_logs/2021-03-16T09_33_47_472Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant