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

Enduro js don't create new project. #337

Open
mmss1995 opened this issue Dec 21, 2019 · 8 comments
Open

Enduro js don't create new project. #337

mmss1995 opened this issue Dec 21, 2019 · 8 comments

Comments

@mmss1995
Copy link

I installed enduro with npm install enduro -g in my cmd terminal. It install correctly, when I type enduro --version , print out 1.4.47.
Well, everything right, but when I type enduro create helloworld in line to enduro startup tutorlial cmd sad:

(node:4424) UnhandledPromiseRejectionWarning: ReferenceError: primordials is not defined
at fs.js:27:26
at req_ (C:\Users\matte\AppData\Roaming\npm\node_modules\enduro\node_modules\natives\index.js:143:24)
at Object.req [as require] (C:\Users\matte\AppData\Roaming\npm\node_modules\enduro\node_modules\natives\index.js:55:10)
at Object. (C:\Users\matte\AppData\Roaming\npm\node_modules\enduro\node_modules\vinyl-fs\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)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (C:\Users\matte\AppData\Roaming\npm\node_modules\enduro\node_modules\vinyl-fs\node_modules\graceful-fs\graceful-fs.js:3:27)
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)
(node:4424) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:4424) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

So, I think, is a dependence of endoru-js, but after installed python, updated npm and node, the situation is still the same.

Some advice?

@dendyjoom
Copy link

I also ran into this problem. Did anyone manage to solve this?
Mac OS 10.15
node v12.6.0

@gcornejo
Copy link

I researched, and found out that gulp 3 is no longer supporter.
gulpjs/gulp#2324
I guess Enduro JS will require an update to gulp 4, and seems like it´s not that straight forward. The configuration files aren´t compatible.
Hope someone sorts this out.

@mmss1995
Copy link
Author

I researched, and found out that gulp 3 is no longer supporter.
gulpjs/gulp#2324
I guess Enduro JS will require an update to gulp 4, and seems like it´s not that straight forward. The configuration files aren´t compatible.

And so we only need to wait the gulp 4? Really? 😢

@LucasMW
Copy link

LucasMW commented Jan 27, 2020

Same problem here;
How can I try enduro?
enduro --version
1.4.47
node --version
v13.7.0

Unhandled rejection ReferenceError: primordials is not defined
at fs.js:35:5
at req_ (/usr/local/lib/node_modules/enduro/node_modules/natives/index.js:143:24)

@gcornejo
Copy link

Maybe an alternative, which I'll try is to install several versions of nodejs, with NVM:
https://codeforgeek.com/run-multiple-node-js-apps-with-different-node-js-version-in-same-server/
NVM = Node Version Manager
https://github.com/nvm-sh/nvm
Hope it helps others to run node with previous version, and get enduro running

@Ezra-Siton-UIX
Copy link

Ezra-Siton-UIX commented Feb 7, 2020

This project is still maintained? The last commit was before a year ago.
Also, get this error.

Unhandled rejection ReferenceError: primordials is not defined
    at fs.js:35:5
    at req_ (C:\Users\Siton\AppData\Roaming\npm\node_modules\enduro\node_modules\natives\index.js:143:24)
    at Object.req [as require] (C:\Users\Siton\AppData\Roaming\npm\node_modules\enduro\node_modules\natives\index.js:55:10)
    at Object.<anonymous> (C:\Users\Siton\AppData\Roaming\npm\node_modules\enduro\node_modules\vinyl-fs\node_modules\graceful-fs\fs.js:1:37)
    at Module._compile (internal/modules/cjs/loader.js:1151:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1171:10)
    at Module.load (internal/modules/cjs/loader.js:1000:32)
    at Function.Module._load (internal/modules/cjs/loader.js:899:14)
    at Module.require (internal/modules/cjs/loader.js:1040:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (C:\Users\Siton\AppData\Roaming\npm\node_modules\enduro\node_modules\vinyl-fs\node_modules\graceful-fs\graceful-fs.js:3:27)
    at Module._compile (internal/modules/cjs/loader.js:1151:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1171:10)
    at Module.load (internal/modules/cjs/loader.js:1000:32)
    at Function.Module._load (internal/modules/cjs/loader.js:899:14)
    at Module.require (internal/modules/cjs/loader.js:1040:19)

@Ezra-Siton-UIX
Copy link

Ezra-Siton-UIX commented Feb 23, 2020

Looks like node.js support issue.

I install my site on 2 laptops:

  • New laptop: Not working (Node 12)
  • Old laptop: Works fine (Node 8)

Test: I update node version on my old laptop to last stable node js (12.16.1) and now - no command is working (Throw errors).

Related:
#330

@fqmonte
Copy link

fqmonte commented Mar 3, 2020

Not work

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

6 participants