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

When you try to use it with Node 12 mupx deploy fails #9

Open
drnachio opened this issue Jan 14, 2020 · 1 comment
Open

When you try to use it with Node 12 mupx deploy fails #9

drnachio opened this issue Jan 14, 2020 · 1 comment

Comments

@drnachio
Copy link

drnachio commented Jan 14, 2020

When you try to use a mupx deploy on node 12 (v12.14.0 in my case) it gives you this error:

fs.js:27
const { Math, Object } = primordials;
                         ^
ReferenceError: primordials is not defined
    at fs.js:27:26
    at req_ (/usr/local/lib/node_modules/@binpar/mupx/node_modules/natives/index.js:143:24)
    at Object.req [as require] (/usr/local/lib/node_modules/@binpar/mupx/node_modules/natives/index.js:55:10)
    at Object.<anonymous> (/usr/local/lib/node_modules/@binpar/mupx/node_modules/configstore/node_modules/graceful-fs/fs.js:1:37)
    at Module._compile (internal/modules/cjs/loader.js:959:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Function.Module._load (internal/modules/cjs/loader.js:727:14)
    at Module.require (internal/modules/cjs/loader.js:852:19)

We are downgrading node using nvm until it is fixed but I will be great to do a fix if it is as easy as it looks like.

@drnachio drnachio changed the title It do fail when you try to use it with Node 12 When you try to use it with Node 12 mupx deploy fails Jan 14, 2020
@drnachio
Copy link
Author

drnachio commented Jan 14, 2020

It looks that the issue comes from the NPM dependency archiver: probably an update will be a fix.

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

No branches or pull requests

2 participants