Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.1.0 fails on Node.js v4.0.0-v4.5.0 #390

Closed
0x657373656C6C opened this issue Mar 15, 2017 · 5 comments
Closed

v2.1.0 fails on Node.js v4.0.0-v4.5.0 #390

0x657373656C6C opened this issue Mar 15, 2017 · 5 comments
Labels

Comments

@0x657373656C6C
Copy link

module initialization error: TypeError
at Object. (/var/task/node_modules/fs-extra/lib/copy-sync/copy-file-sync.js:6:22)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/var/task/node_modules/fs-extra/lib/copy-sync/copy-sync.js:5:22)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/var/task/node_modules/fs-extra/lib/copy-sync/index.js:2:13)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/var/task/node_modules/fs-extra/lib/index.js:16:12)

@RyanZim
Copy link
Collaborator

RyanZim commented Mar 15, 2017

What Node.js version is your container running?

@0x657373656C6C
Copy link
Author

Hi,

The standard 4.3. Please do let me know if there's anything I can do to help or more information I can supply.

@RyanZim
Copy link
Collaborator

RyanZim commented Mar 15, 2017

The problem commit is 9bef553. This change requires Node.js v4.5.0+

We wrongly assumed most v4 users were using the latest v4.x.

@jprichardson Advice wanted on how to proceed. Revert and publish a patch version?

@RyanZim RyanZim added the bug label Mar 15, 2017
@RyanZim RyanZim changed the title 2.1.0 fails on AWS Lambda v2.1.0 fails on Node.js v4.0.0-v4.5.0 Mar 15, 2017
pvatterott added a commit to Vitallyio/objection.js that referenced this issue Mar 15, 2017
@shumailarshad
Copy link

version 2.1.0 throwing following error on node v4.2.6
"TypeError: Buffer.alloc is not a function"

@RyanZim
Copy link
Collaborator

RyanZim commented Mar 15, 2017

fs-extra v2.1.1 published: cfcf313. Please upgrade to this new version. This issue should be fixed. Sorry about this.

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

No branches or pull requests

3 participants