Error 'Error: Cannot find module 'some-module' is faced when try to deploy a cloud application

Solution Verified - Updated -

Issue

  • Error 'Error: Cannot find module 'some-module' is faced when try to deploy a cloud application
  • Module dependency has been verified to be defined in package.json
module.js:340
    throw err;
          ^
Error: Cannot find module 'some-module'

Environment

  • Red Hat Mobile Application Platform ( RHMAP ) - 3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.