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

Cannot install on Ubuntu 18.04? #519

Open
Aspire21 opened this issue Sep 4, 2020 · 1 comment
Open

Cannot install on Ubuntu 18.04? #519

Aspire21 opened this issue Sep 4, 2020 · 1 comment

Comments

@Aspire21
Copy link

Aspire21 commented Sep 4, 2020

I ran:
sudo npm install bower -g
sudo npm install gulp -g

then

npm install
gulp serve

This is the error i get:

ReferenceError: primordials is not defined
    at fs.js:36:5
    at req_ (/root/blur-admin/node_modules/natives/index.js:143:24)
    at Object.req [as require] (/root/blur-admin/node_modules/natives/index.js:55:10)
    at Object.<anonymous> (/root/blur-admin/node_modules/vinyl-fs/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)

How can i fix this?

@SMN947
Copy link

SMN947 commented Sep 14, 2020

@Aspire21 It seems like gulp and node versions have some conflicts. Try this:
https://stackoverflow.com/questions/55921442/how-to-fix-referenceerror-primordials-is-not-defined-in-node

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