question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

node: 14.16.1 and yarn: 1.22.10 -> I into this problem, how should I fix it? Error: Cannot find module './runtime/providers/log'

See original GitHub issue
 WARN  Module @nuxtjs/web-vitals not found. Please ensure @nuxtjs/web-vitals is in devDependencies and installed. HINT: During build step, for npm/yarn, NODE_ENV=production or --production should NOT be used.


 FATAL  Cannot find module './runtime/providers/log'                              15:57:32
Require stack:
- /node_modules/@nuxtjs/web-vitals/dist/index.cjs
- /node_modules/@nuxt/core/dist/core.js

  Require stack:
  - node_modules/@nuxtjs/web-vitals/dist/index.cjs
  - node_modules/@nuxt/core/dist/core.js
  at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
  at Function.a [as resolve] (node_modules/jiti/dist/v8cache.js:2:2508)
  at Object.<anonymous> (node_modules/@nuxtjs/web-vitals/dist/index.cjs:13:22)
  at Module.o._compile (node_modules/jiti/dist/v8cache.js:2:2778)
  at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
  at Module.load (internal/modules/cjs/loader.js:928:32)
  at Function.Module._load (internal/modules/cjs/loader.js:769:14)
  at Module.require (internal/modules/cjs/loader.js:952:19)
  at require (internal/modules/cjs/helpers.js:88:18)
  at Resolver.f [as _require] (node_modules/jiti/dist/jiti.js:1:53846)

@nuxtjs/web-vitals 0.1.7

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:5
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
ddosdorcommented, Aug 14, 2021

I have had a similar problem since the day before yesterday -> #28

0reactions
danielroecommented, Aug 23, 2021

closing as a duplicate of #28

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation Problem: Cannot find module Yarn - Stack Overflow
Check if you have an .yarnrc file in your repo, if you have it, just delete it and try to run yarn and...
Read more >
cannot find module [Node npm Error Solved] - freeCodeCamp
To fix the error, you need to install the package that is absent in your project directory – npm install package-name or yarn...
Read more >
having problems installing yarn packages #42565 - GitHub
every time I try to use yarn to install packages. node:internal/modules/cjs/loader:936 throw err; ^ Error: Cannot find module ...
Read more >
Installation | Yarn
It is recommended to install Yarn through the npm package manager, which comes bundled with Node.js when you install it on your system....
Read more >
How to resolve "Cannot find module" error in Node - Sabe.io
What is the problem? The Solution; Local files; Conclusion. When you are working in Node, you will sometimes encounter the error Cannot ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found