help icon indicating copy to clipboard operation
help copied to clipboard

Cannot find module './_contains'

Open Arthur-xu opened this issue 6 years ago • 5 comments

  • Node.js Version:v10.19.0
  • OS: linux
  • Scope (install, code, runtime, meta, other?): install
  • Module (and version) (if relevant): internal/modules/cjs/loader.js:638

internal/modules/cjs/loader.js:638

  | throw err;   | ^   |     | Error: Cannot find module './_contains'

Arthur-xu avatar Mar 06 '20 10:03 Arthur-xu

What are you trying to install? Is this Ramda (or Lodash) perhaps?

shellberg avatar Mar 09 '20 13:03 shellberg

What are you trying to install? Is this Ramda (or Lodash) perhaps?

Use serverless to deploy cloud function.

Arthur-xu avatar Mar 09 '20 14:03 Arthur-xu

We saw a similar error due to a caching issue in CircleCI- for us, clearing the cache resolved it.

jwoldan avatar Apr 02 '20 15:04 jwoldan

Solved this issue by another way. Maybe helpful for others: Seems it caused by serverless. so i used fixed version [email protected].

Arthur-xu avatar May 06 '20 02:05 Arthur-xu

We saw a similar error due to a caching issue in CircleCI- for us, clearing the cache resolved it.

Thanks. haha, i tried to clean cache. it doesn't work for me.

Arthur-xu avatar May 06 '20 02:05 Arthur-xu