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

npm init @dotcom-page-kit fails due to old version #301

Open
maxcbc opened this issue Oct 24, 2022 · 0 comments
Open

npm init @dotcom-page-kit fails due to old version #301

maxcbc opened this issue Oct 24, 2022 · 0 comments

Comments

@maxcbc
Copy link

maxcbc commented Oct 24, 2022

By default npm init <package> will not install the latest version of the package.

In the toolkit's case this can potentially mean if a user has a old version, then they init a repo with that old version instead of latest.

It might be worth checking for the latest version and somehow updating before continuing with the init process.

in the meantime, a work around is to run:
npm exec @dotcom-tool-kit/create@latest

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

1 participant