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

<bundlephobia inaccessible>: <@jsany/cli-kit> fails to <get> #387

Open
daolou opened this issue Aug 17, 2020 · 4 comments
Open

<bundlephobia inaccessible>: <@jsany/cli-kit> fails to <get> #387

daolou opened this issue Aug 17, 2020 · 4 comments
Assignees

Comments

@daolou
Copy link

daolou commented Aug 17, 2020

Package name

@jsany/cli-kit

Entire (stringified) error that I see in my browser console

use size: npm bundle size (scoped version)

npm repo: https://www.npmjs.com/package/@jsany/cli-kit

npm bundle size (scoped version)
npm bundle size (scoped version)

https://img.shields.io/bundlephobia/minzip/@jsany/cli-kit/1.1.1?style=flat-square
https://img.shields.io/bundlephobia/minzip/@jsany/cli-kit/latest?style=flat-square

@wopian
Copy link

wopian commented Aug 17, 2020

The badges error as one of your package dependencies doesn't list it's dependencies properly and bundlephobia returns an error instead.

https://bundlephobia.com/result?p=@jsany/cli-kit

This package (or this version) uses atpl, babel-core, bracket-template, dot, dustjs-linkedin, eco, ect, ejs, haml-coffee, hamlet, hamljs, hogan.js, htmling, jazz, jqtpl, just, liquor, lodash, marko, mote, mustache, plates, ractive, react, react-dom, slm, teacup, templayed, toffee, twig, underscore, vash, velocityjs, walrus and whiskers, but does not specify them either as a dependency or a peer dependency

The package causing the issue: https://www.npmjs.com/package/consolidate

@daolou
Copy link
Author

daolou commented Aug 17, 2020

Extremely grateful

@daolou
Copy link
Author

daolou commented Aug 17, 2020

@wopian

Is there a solution to this problem(The badges error) ?

@daolou
Copy link
Author

daolou commented Aug 17, 2020

I can never install an unused dependent packages(atpl babel-core bracket-template ...) to peerDependencies

yarn add -P atpl babel-core bracket-template ...

After all, it is always bad to install some useless dependency packages

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

3 participants