Entire (stringified) error that I see in my browser console
{"error":{"code":"InstallError","message":"Installing the packaged failed.","details":{}}}
{"error":{"code":"EntryPointError","message":"We could not guess a valid entry point for this package. Perhaps the author hasn't specified one in its package.json ?","details":{}}}
Additional Details
In order to support Node, Browsers, Bundlers, and tsc without requiring any transpiling to take place, we apply a few fairly standard techniques:
IIFE to detect window or exports
Node entrypoint (package.json.main) is index.js, which requires the library
JSDoc is re-exported from main (so that the user gets all types at the top level)
The browser entrypoint substitute (package.json.browser) is the library file, directly
It appears that the JSDoc re-export prevents the package from installing at all. Removing that seems to get on to the EntryPointError.
It seems that having index.js transitively require blocktx.js causes entrypoint failure
Reproducing Locally?
If there's some way to use the CLI to run the same process that the webserver is running to find the error, I'm up for it.
Package name
The official package is @dashincubator/blocktx.
I've published several versions of various shims trying to get bundlephobia to be able to install and analyze the package
InstallError
)InstallError
)EntryPointError
)Entire (stringified) error that I see in my browser console
Additional Details
In order to support Node, Browsers, Bundlers, and tsc without requiring any transpiling to take place, we apply a few fairly standard techniques:
package.json.main
) isindex.js
, which requires the librarypackage.json.browser
) is the library file, directlyIt appears that the JSDoc re-export prevents the package from installing at all. Removing that seems to get on to the EntryPointError.
It seems that having
index.js
transitively requireblocktx.js
causes entrypoint failureReproducing Locally?
If there's some way to use the CLI to run the same process that the webserver is running to find the error, I'm up for it.