talkingtoaj
talkingtoaj

Reputation: 888

Nuxt installs with depreciated version packages

I'm new to trying out NUXT and I have a newbie question I couldn't see answered anywhere online:

Why does create-nuxt-app install depreciated versions of packages?

I tried running npm update beforehand, but no effect.

> npm update
> npx create-nuxt-app gfgd_payment
npx: installed 379 in 24.753s
...
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy
 support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy
 support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy
 support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: use String.prototype.padStart()
npm WARN deprecated [email protected]: I wrote this module a very long time ago; you should use something else.

Upvotes: 1

Views: 453

Answers (1)

Aldarund
Aldarund

Reputation: 17621

Its because you have choosed hapi during create project. And the latest released version of create-nuxt-app relies on old hapi version.

That was fixed in this PR -> https://github.com/nuxt/create-nuxt-app/pull/231 but it wasnt yet released.

You could use latest version of create nuxt app from repository via npx like this:

npx nuxt/create-nuxt-app

Upvotes: 1

Related Questions