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

Could not find a declaration file for module 'gdrive-file-info'. #17

Open
jchan18 opened this issue Mar 24, 2022 · 0 comments
Open

Could not find a declaration file for module 'gdrive-file-info'. #17

jchan18 opened this issue Mar 24, 2022 · 0 comments

Comments

@jchan18
Copy link

jchan18 commented Mar 24, 2022

Got this error when trying to import from 'gdrive-file-info'

client/node_modules/gdrive-file-info/index"
Could not find a declaration file for module 'gdrive-file-info'. '/Users/jenniferchan/Documents/0419SUBS/admin/client/node_modules/gdrive-file-info/index.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/gdrive-file-info` if it exists or add a new declaration (.d.ts) file containing `declare module 'gdrive-file-info';`

Tried the --save-dev command but then I got this

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@types%2fgdrive-file-info - Not found
npm ERR! 404 
npm ERR! 404  '@types/gdrive-file-info@*' 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.
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