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.

Missing core-js/modules/es7.object.entries

See original GitHub issue
Error: Cannot find module 'core-js/modules/es7.object.entries'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
    at Function.Module._load (internal/modules/cjs/loader.js:507:25)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.<anonymous> (/Users/me/project/node_modules/apollo-upload-server/lib/middleware.js:14:1)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)

using the latest version of apollo server

image

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

4reactions
jwoptiocommented, Aug 16, 2018

Using yarn you can specify specific sub-dependency versions using the resolutions block in your package.json:

ie:

  "resolutions": {
    "apollo-server-lambda/**/apollo-upload-server": "6.0.0-alpha.1"
  }
1reaction
jaydensericcommented, Aug 20, 2018

There are other, critical reasons to upgrade other than the recent dependency issue. People can crash your server process by sending a malformed request. Or a file too large, and other bugs fixed in the newest releases.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: Cannot find module 'core-js/modules/es7.object. ...
I am trying to serve an executable schema. I get the following error while using version 2.0.2. Works totally fine with version 2.0.0....
Read more >
Module not found: Error: Can't resolve 'core-js/es6'
This version produces correct catalogs structure, with separate ES6 and ES7 folders. To downgrade the version, simply run: npm i -S core-js@2.5.
Read more >
es7-object-polyfill
A polyfill for missing Object.​​ It will automatically create Object. values and Object.
Read more >
WebpackError: Cannot find module 'core-js/modules/es6.array ...
Look into the node_modules/core-js/modules/ folder and found es.array.iterator.js instead. The es6.array namespace is from core-js 2 while core-js 3 moved to es ...
Read more >
Cannot find polyfill es7.object.entries
This is the error am getting when i run “npm run dev”: Module build failed (from ./node_modules/babel-loader/lib/index.js):
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