nuxt / telemetry

Nuxt Telemetry
MIT License
207 stars 23 forks source link

[v1] WARN Module @nuxt/telemetry not found. #88

Closed kaviraj-soni closed 1 year ago

kaviraj-soni commented 1 year ago

Our Nuxt Builds are again failing https://github.com/nuxt/telemetry/pull/85 after this PR is merged as it has breaking changes Since rc9 was upgraded from 1.2.2 to 2.0.0 ( and 2.0.0 has breaking changes due to defu's breaking changes ) Please fix this ASAP image

AikateriniKyriakou commented 1 year ago

Same problem here. Nuxt version 2.14.12 bugnuxt

danielroe commented 1 year ago

Are you on Nuxt 2?

Frou-HOS commented 1 year ago

Hello same problem here. nuxt 2.15.8 When i launch yarn generate Fatal ERROR appear. It's looking for nuxt-telemetry.js but only nuxt-telemetry.mjs exist

AikateriniKyriakou commented 1 year ago

Are you on Nuxt 2?

Yes, I have nuxt version 2.14.12

danielroe commented 1 year ago

then you should be using v1 of @nuxt/telemetry.

kaviraj-soni commented 1 year ago

Are you on Nuxt 2?

Yes I am on Nuxt 2

kaviraj-soni commented 1 year ago

to quickly resolve this, we have disabled telemetry by adding this to our nuxt.config.js export default { telemetry: false }

MiguelSantosMS commented 1 year ago

That doesn't fix it for me

AikateriniKyriakou commented 1 year ago

then you should be using v1 of @nuxt/telemetry.

The version 1.3.8 of @nuxt/telemetry generates this error. I tried downgrading to 1.3.7 and everything works ok.

danielroe commented 1 year ago

v1.3.8 still depends on ^1.2.0 of rc9: https://unpkg.com/browse/@nuxt/telemetry@1.3.8/package.json.

Would you provide a reproduction?

hjardines commented 1 year ago

Same problem here.

npm ERR! code ENOENT npm ERR! syscall chmod npm ERR! path /var/app/staging/node_modules/@nuxt/telemetry/bin/nuxt-telemetry.js npm ERR! errno -2 npm ERR! enoent ENOENT: no such file or directory, chmod '/var/app/staging/node_modules/@nuxt/telemetry/bin/nuxt-telemetry.js' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent

Frou-HOS commented 1 year ago

then you should be using v1 of @nuxt/telemetry.

The version 1.3.8 of @nuxt/telemetry generates this error. I tried downgrading to 1.3.7 and everything works ok.

Not working for me. On gitlab CI/CD if i launch npm install of my nuxt project Node image:14.17.6 Nuxt v2.15.8 Telemetry version installed by an other pakage is 1.3.6 Still have this error : npm ERR! path /builds/[PATH_PROJECT]/node_modules/nuxt/node_modules/@nuxt/telemetry/bin/nuxt-telemetry.js

Add telemetry 1.3.7 in pakage.json didn't correct the error And disable telemetry in config file didn't correct the error

Frou-HOS commented 1 year ago

Not working for me. On gitlab CI/CD if i launch npm install of my nuxt project Node image:14.17.6 Nuxt v2.15.8 Telemetry version installed by an other pakage is 1.3.6 Still have this error : npm ERR! path /builds/[PATH_PROJECT]/node_modules/nuxt/node_modules/@nuxt/telemetry/bin/nuxt-telemetry.js

Add telemetry 1.3.7 in pakage.json didn't correct the error And disable telemetry in config file didn't correct the error

with yarn install it's working no more error

kaviraj-soni commented 1 year ago

it is breaking because telemetry uses rc9 and if you see this here in 1.2.1 rc9 updated the defu version to 6.0.0 ( which has breaking changes ) upgrading to defu 6.x should have been a major release in rc9 as well right? let me know if this is the root cause

Mobeidat commented 1 year ago

Any update on this? it's also broken for new Nuxt created apps

AikateriniKyriakou commented 1 year ago

v1.3.8 still depends on ^1.2.0 of rc9: https://unpkg.com/browse/@nuxt/telemetry@1.3.8/package.json.

Would you provide a reproduction?

I tried to install the package in version 1.3.8 and the same error occured as when I tried to install nuxt v.2.14.12. After that, I tried to install package version 1.3.7 and, then, the nuxt package and its was installed successfully. Also, the nuxt app built successfully.

erikuit commented 1 year ago

Looks like the dist/ and bin/ folders are missing in my node_modules for version 1.3.8.:

telemetry138

In 1.3.7 they are there. Maybe a problem with the build step?

telemetry137

MOHAMMADHMEAD commented 1 year ago

same here

kabucya commented 1 year ago

same here

ordas commented 1 year ago

Same problem here. Nuxt 2.15.8. Node 18.12.1

pi0 commented 1 year ago

THere was an issue with npm while releasing 1.x version for Nuxt 2. Should be fixed in @nuxt/telemetry@1.3.9 please try upgrading lockfile.

elcferreira commented 1 year ago

THere was an issue with npm while releasing 1.x version for Nuxt 2. Should be fixed in @nuxt/telemetry@1.3.9 please try upgrading lockfile.

@pi0 I regenerated my lockfile.

It's works now, super thanks!

ordas commented 1 year ago

It's works now, super thanks! 1- Delete node_modules and package-lock.json 2- run npm install