pajaydev / ebay-node-api

eBay API Client for node
https://pajaydev.github.io/ebay-node-api
MIT License
132 stars 75 forks source link

Module 'ebay-node-api', not found #124

Closed hendo10 closed 3 years ago

hendo10 commented 3 years ago

I get the following error when using 'const eBay = require('ebay-node-api')'

Error message: 'Could not find a declaration file for module 'ebay-node-api'. '/..node_modules/ebay-node-api/src/index.js' implicitly has an 'any' type.'

Can somebody advise?

pajaydev commented 3 years ago

@hendo10 Kindly delete the node modules folder and try to install it again.

yarn add ebay-node-api
or 
npm install ebay-node-api
hendo10 commented 3 years ago

This worked. Thank you @pajaydev