pmndrs / ecctrl

🕹️ A floating rigibody character controller
MIT License
530 stars 63 forks source link

Cannot find module 'ecctrl'" indicates that TypeScript cannot find the declaration file for the 'ecctrl' module. #54

Closed golden-fruit closed 5 months ago

golden-fruit commented 5 months ago

I recently deleted the 'node_modules' folder and reinstalled the project. However, only the 'ecctrl' library is unable to find TypeScript type declarations. Below is my 'package.json' file. I hope to receive help and welcome any suggestions.

package.json image

ErdongChen-Andrew commented 5 months ago

Which version are you currently using, and what version were you using before?

golden-fruit commented 5 months ago

it seems like , i delete package-lock.json file case this probelm. version never change it aways is 1.0.75

golden-fruit commented 5 months ago

i reback to my old package-lock.json and install . it work ok now!