javascript - NodeJS - Uncaught ReferenceError: primordials is not defined - Stack Overflow

So that's all, I'm developing a program with electron, everything worked good, as if on wheel

So that's all, I'm developing a program with electron, everything worked good, as if on wheels, until, I do my little npm start, as usual, I test my application a little, and I see that the javascript does not work anymore So, I do a little 'Ctrl + Shift + I' and I see in the console, that none of my modules have been imported, because at the very top, we have a great error: 'Uncaught ReferenceError: primordials is not defined' in 'inspect.js' I searched all over the internet, and the few answers I found, are people who have a problem with gulp and who do not have the right version, except that I do not use gulp so it does not can not e from there

That's all, so if someone has a solution, I'm interested!

  • node -v > v10.15.3
  • npm -v > 5.3.0 (I've tested with 6.9.0 too)

thank you in advance

So that's all, I'm developing a program with electron, everything worked good, as if on wheels, until, I do my little npm start, as usual, I test my application a little, and I see that the javascript does not work anymore So, I do a little 'Ctrl + Shift + I' and I see in the console, that none of my modules have been imported, because at the very top, we have a great error: 'Uncaught ReferenceError: primordials is not defined' in 'inspect.js' I searched all over the internet, and the few answers I found, are people who have a problem with gulp and who do not have the right version, except that I do not use gulp so it does not can not e from there

That's all, so if someone has a solution, I'm interested!

  • node -v > v10.15.3
  • npm -v > 5.3.0 (I've tested with 6.9.0 too)

thank you in advance

Share Improve this question asked May 8, 2019 at 1:18 OpperDevOpperDev 751 gold badge1 silver badge12 bronze badges 4
  • I see you're fairly new to StackOverflow -- wele! Honestly you don't have a lot of technical information in your post, so it's going to be really hard for anyone to help you here. Maybe post some of the code that seems to be throwing that error? – arthurakay Commented May 8, 2019 at 1:45
  • I understand that it can be plicated, if there was code to give I would give it without problem I would have done from the beginning, but the problem is that between the moment I had no error and between the moment I got this error, I did not change anything in the code! The error arrived like that at once! – OpperDev Commented May 8, 2019 at 2:21
  • In only have this error: Uncaught ReferenceError: primordials is not defined at VM19 inspect.js:70 – OpperDev Commented May 8, 2019 at 2:36
  • Ow! I've find where is the problem! The problem pops when I use 'unzip' nodejs module, because it use 'natives' plugin, any solution? – OpperDev Commented May 8, 2019 at 3:31
Add a ment  | 

1 Answer 1

Reset to default -1

I met a similar error today and I just solved the problem. Check this link :

How to Fix ReferenceError: primordials is not defined in node

My error is the same as described in the link. The problem is that the bination of node 12 and gulp 3 does not work. So I downgrade node to v11.15.0. It really works!

You can try it. Hope it can help you!

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744872849a4598365.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信