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

Import #22

Open
CelestialTios opened this issue May 31, 2021 · 1 comment
Open

Import #22

CelestialTios opened this issue May 31, 2021 · 1 comment

Comments

@CelestialTios
Copy link

Hello, i am working on a Vue project, where i use a image map. I follow the command to install and when i do a
import ImageMap from 'image-map', i receive this message :

Could not find a declaration file for module 'image-map'. 'C:/Users/gerau/OneDrive/Bureau/Stage_LMD_DUT_Informatique/FRONTEND/front_end/node_modules/image-map/dist/image-map.js' implicitly has an 'any' type.

I did test to install @types/image-map and it couldn't be found:

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@types%2fimage-map - Not found
npm ERR! 404 '@types/image-map@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

Someone know how I could resolve my problem ?

@aurelioth
Copy link

Do npm install image-map or just add "image-map": "^2.0.1" to your dependencies in package.json and then npm install

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

2 participants