question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Erro on init ReferenceError: primordials is not defined

See original GitHub issue
fs.js:27
const { Math, Object } = primordials;
                         ^

ReferenceError: primordials is not defined
    at fs.js:27:26
    at req_ (/Users/aleksandr/markup/node_modules/natives/index.js:143:24)
    at Object.req [as require] (/Users/aleksandr/markup/node_modules/natives/index.js:55:10)
    at Object.<anonymous> (/Users/aleksandr/markup/node_modules/graceful-fs/fs.js:1:37)
    at Module._compile (internal/modules/cjs/loader.js:1121:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1160:10)
    at Module.load (internal/modules/cjs/loader.js:976:32)
    at Function.Module._load (internal/modules/cjs/loader.js:884:14)
    at Module.require (internal/modules/cjs/loader.js:1016:19)
    at require (internal/modules/cjs/helpers.js:69:18)

macOS Catalina TARS-CLI version: “1.11.1” TARS version in current project: “1.13.1” Gulp CLI version: 2.2.0 Local version: 3.9.1 node version: 10.17.0, 12.13.1, 13.2.0, 8.16.2, 6.17.1 (через nvm)

Пробовал с разными версиями node и gulp, обновлял natives и graceful-fs не помогает. Просто не заводиться. Gulp отдельно работает и 3 и 4 версия без проблем. В чем может быть проблема ? Тарс выдает ошибки и все при инициализации. Гугл и Стак с их решениями не помогли.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
artem-malkocommented, Jan 12, 2020

Уже в мастере) Сегодня будет релиз.

0reactions
artem-malkocommented, Jan 13, 2020

@TIIGRUS tars upgrade && tars update-project =)

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix "ReferenceError: primordials is not defined" in Node.js
Solution: Either upgrade to Gulp.js 4 or downgrade to an earlier version of Node.js. Share. Share a link to this ...
Read more >
How to fix "ReferenceError: primordials is not defined" error
Are you getting a ReferenceError: primordials is not defined error message when trying to run gulp? There's a solution: create the ...
Read more >
primordials is not defined' error NPM/Gulp/JS - Renat Galyamov
Solution 2 · 1. Delete node_modules folder · 2. Create a new file called npm-shrinkwrap.json · 3. Add the code below to npm-shrinkwrap.json...
Read more >
Foundation watch throws error: ReferenceError: primordials is ...
It is a problem with Node and Gulp. Try the following, it worked for me. Follow these instructions to fix this. https://timonweb.com/javascript/ ...
Read more >
How to fix “ReferenceError: primordials is not defined” error.
1. upgrade gulp to v4 . This Solution Will Solve Your Error. 2. To downgrade Node to v11 To Solve This Error.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found