Closed ersimont closed 4 years ago
Description I upgraded to 2.0.1 and was met with the following error when trying to import explore:
2.0.1
explore
Could not find a declaration file for module 'source-map-explorer'.
I can temporarily fix the problem by directly editing the package.json file in my node_modules folder, adding
package.json
node_modules
"types": "dist/src/index.d.ts",
This, of course, is a hacky workaround.
Steps to reproduce
Files to reproduce :(
Expected behavior No error from Typescript.
Environment
Additional context :(
Description I upgraded to
2.0.1
and was met with the following error when trying to importexplore
:I can temporarily fix the problem by directly editing the
package.json
file in mynode_modules
folder, addingThis, of course, is a hacky workaround.
Steps to reproduce
Files to reproduce :(
Expected behavior No error from Typescript.
Environment
Additional context :(