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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content