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:
- Created 2 years ago
- Reactions:5
- Comments:6 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have had a similar problem since the day before yesterday -> #28
closing as a duplicate of #28