Skip to content
This repository has been archived by the owner on Feb 12, 2021. It is now read-only.

primordials is not defined #236

Open
dashritwik opened this issue Jan 30, 2021 · 2 comments
Open

primordials is not defined #236

dashritwik opened this issue Jan 30, 2021 · 2 comments

Comments

@dashritwik
Copy link

node .\s3.js
fs.js:36
} = primordials;
^

ReferenceError: primordials is not defined
at fs.js:36:5
at req_ (F:\troopsap\source code\test\node_modules\natives\index.js:143:24)
at Object.req [as require] (F:\troopsap\source code\test\node_modules\natives\index.js:55:10)
at Object. (F:\troopsap\source code\test\node_modules\graceful-fs\fs.js:1:37)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (internal/modules/cjs/helpers.js:72:18)
i'm getting this error whenever i try to run s3

@Kopatch
Copy link

Kopatch commented Jan 31, 2021

I get the same error when using node 14, I believe the issue comes from graceful-fs dependency, which should be updated to support newer node versions.

@pbachman
Copy link

pbachman commented Feb 7, 2021

i had the same issue with the node version 14.x, set the resolutions in package.json fixed it for me

 "resolutions": {
    "graceful-fs": "4.x.x"
  },

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants