Git Product home page Git Product logo

Comments (5)

YangHanlin avatar YangHanlin commented on August 20, 2024 5

Is there any update regarding this issue and its related PR #47? According to a comment in the PR, the main branch is already working well with Nuxt 3; but it is unfortunately not true with [email protected] or later versions (including the stable release [email protected]). The error is likely to be related with nuxt/framework@74b81bb.

Logs of postinstall script with @nuxtjs/[email protected] (latest release on main branch) and [email protected]:

home postinstall$ nuxt prepare
│ Nuxi 3.0.0-rc.13
│  WARN  [@nuxtjs/web-vitals] Please define a provider to activate this module
│  ERROR  (node:42744) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
│ (Use `node --trace-warnings ...` to show where the warning was created)
│ √ Types generated in .nuxt
└─ Done in 3.1s

compared with logs of postinstall script with @nuxtjs/[email protected] (latest release on main branch) and [email protected]:

home postinstall$ nuxt prepare
│ Nuxi 3.0.0-rc.14
│  ERROR  Cannot destructure property 'nuxt' of 'this' as it is undefined.
│   at webVitalsModule (D:/Areas/Workspaces/GitHubRepos/tdcloud/node_modules/.pnpm/@[email protected]/node_modules/@nuxtjs/web-vitals/dist/index.j
│   at installModule (/D:/Areas/Workspaces/GitHubRepos/tdcloud/node_modules/.pnpm/@[email protected][email protected]/node_modules/@nuxt/kit/dist/index.m
│   at async initNuxt (/D:/Areas/Workspaces/GitHubRepos/tdcloud/node_modules/.pnpm/[email protected]_t7kkosihzizynsd35m2tpz76wa/node_modules/nuxt/dist/ind
│   at async loadNuxt (/D:/Areas/Workspaces/GitHubRepos/tdcloud/node_modules/.pnpm/[email protected]_t7kkosihzizynsd35m2tpz76wa/node_modules/nuxt/dist/ind
│   at async loadNuxt (/D:/Areas/Workspaces/GitHubRepos/tdcloud/node_modules/.pnpm/@[email protected][email protected]/node_modules
│   at async Object.invoke (/D:/Areas/Workspaces/GitHubRepos/tdcloud/node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/chunks/prepare.mjs:30:18)
│   at async _main (/D:/Areas/Workspaces/GitHubRepos/tdcloud/node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/cli.mjs:50:20)
└─ Failed in 2.2s

from web-vitals.

Baroshem avatar Baroshem commented on August 20, 2024 4

@andreemic

The PR is ready. Just waiting to be reviewed and merged 🙂

from web-vitals.

Baroshem avatar Baroshem commented on August 20, 2024

The work is currently done on the next branch and will be released probably next week after some testing.

from web-vitals.

andreemic avatar andreemic commented on August 20, 2024

That's awesome! How is it going? ETA?

from web-vitals.

maximilian-schwarz avatar maximilian-schwarz commented on August 20, 2024

Any news?

from web-vitals.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.