Uncaught Error: Cannot find module "node-uuid"
See original GitHub issueHi there, I am facing the following error at runtime, trying to use crypto-pouch
:
Uncaught Error: Cannot find module "node-uuid"
at d (polyfills.js:3)
at webpackMissingModule (index.js:12)
at Object.<anonymous> (index.js:12)
at Object.module.exports.createDebug.debug.createDebug.default (index.js:182)
at __webpack_require__ (bootstrap d5d4138…:47)
at Object.<anonymous> (index.ts:2)
at __webpack_require__ (bootstrap d5d4138…:47)
at Object.<anonymous> (pouchdb.service.ts:26)
at __webpack_require__ (bootstrap d5d4138…:47)
at Object.<anonymous> (index.ts:2)
at __webpack_require__ (bootstrap d5d4138…:47)
at Object.<anonymous> (index.ts:2)
at __webpack_require__ (bootstrap d5d4138…:47)
at Object.<anonymous> (index.ts:2)
at __webpack_require__ (bootstrap d5d4138…:47)
I am importing the package like this:
import * as CryptoPouch from 'crypto-pouch';
PouchDB.plugin(CryptoPouch);
The error seems to be thrown by the second line. Maybe I am doing something wrong?
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
NPM: Cannot find module 'uuid' - Stack Overflow
The error occurs when you import as const uuid= require('uuid/dist/v4');
Read more >Cannot find module 'uuid/v4' · Issue #238 - GitHub
Hi, I install uuid module on my Windows 10 64bit with WebStorm and NodeJS 8.8.1 but when I require the module I get...
Read more >Cannot find module 'uuid' error [Solved] - Reactgo
The can't find module uuid error occurs, if you're trying to access a uuid module that is not currently installed in your project....
Read more >Module not found: Can't resolve 'uuid/v4' - Super User
Install uuid library via node package manager i.e. npm npm install uuid. Then import uuidv4 from uuid library
Read more >uuidv4 - npm
This module will be deprecated in the future in favour of module uuid. Most of the functionality of this module is already included...
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
ok updated
It works! Thank you @calvinmetcalf, really usefull plugin!