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

Broken build in NodeJS v13 #44

Open
rubenwardy opened this issue Mar 1, 2020 · 4 comments
Open

Broken build in NodeJS v13 #44

rubenwardy opened this issue Mar 1, 2020 · 4 comments

Comments

@rubenwardy
Copy link

rubenwardy commented Mar 1, 2020

fs.js:39
} = primordials;
    ^

ReferenceError: primordials is not defined
    at fs.js:39:5
    at req_ (/home/ruben/dev/tools/behavior3editor/node_modules/natives/index.js:143:24)
    at Object.req [as require] (/home/ruben/dev/tools/behavior3editor/node_modules/natives/index.js:55:10)
    at Object.<anonymous> (/home/ruben/dev/tools/behavior3editor/node_modules/graceful-fs/fs.js:1:37)

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@JohanneLun
Copy link

JohanneLun commented Apr 11, 2020

Solved this by downgrading to nodejs version 10.x. The newer versions of nodejs does not support gulp 3 which causes the error.

$ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
$ sudo apt-get install -y nodejs

@rubenwardy
Copy link
Author

That's not a good solution at all

I've switched to using owlbt, it works very well

@JohanneLun
Copy link

@rubenwardy That was my quick solution. The whole thing should be updated.

Are you using the behavior3js or behavior3py from behavior3 or something else? Just wondering if owlbt is possible to use with them, especially the python version.

@rubenwardy
Copy link
Author

rubenwardy commented Apr 11, 2020

I'm using a custom implementation in Lua

The editor doesn't matter as long as it can support custom node types

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

No branches or pull requests

2 participants