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.

Uncaught Error: Cannot find module "node-uuid"

See original GitHub issue

Hi 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:closed
  • Created 6 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
calvinmetcalfcommented, May 9, 2017

ok updated

0reactions
hadrien-tomacommented, May 11, 2017

It works! Thank you @calvinmetcalf, really usefull plugin!

Read more comments on GitHub >

github_iconTop 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 >

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