S
S
Sergey Goryachev2018-07-20 11:04:11
linux
Sergey Goryachev, 2018-07-20 11:04:11

Is node, npm, gulp, or something not working correctly?

There are a lot of tags, but my question is really strange and ambiguous.
The situation is this.
The computer flew in my office, I decided to purchase a new one (i7), install all the latest programs and the system.
Downloaded from the official site of Linux Mint 19th, Cinnamon, as always. Installed.
Further, following this instruction , senokosov.info/lamp/install-lamp installed the lamp server, as it always did, and this time. Everything is fine, Apache is working, sites are working.
The second step was to install the ssl module for Apache according to this instruction www.aboutubuntu.ru/apache-ssl-https-ubuntu.html , again everything works. Without ssl, the problem also persists.
I install nodejs version 8 from the official site (I installed version 10 in the same way, but in the previous installation, the problem persists).
After installing all this goodness, I clone my repository from bitbucket, when I try to install npm install, it gives a warning that npm is not installed, although strange, it should have been installed with the node.
Okay, no, so no, we install - sudo apt npm install.
But then something happens that I didn’t expect at all, I run gulp watch, but instead of my local site, I see a system that I need to install gulp with the command sudo apt install gulp .
To hell with it, I put it as the system advises, the gulp starts, but my favorite problem that was described earlier appears ( Gulp + Browser-sync does not follow links and refreshes the page for a very long time? ), the problem haunts me, and does not fix it in any way .
I repeat everything from the first step, from reinstalling the system. But this time I put galp through sudo npm install -g gulp , exactly the same problem, galp does not follow links and reloads the page for a very long time after making even the smallest change.
For the purity of the experiment, I reinstall the system at home (on the old ancient i3) in the same order, EXACTLY ALSO, from the same sources, with the same manuals, I clone the site from the same repositories.
And "Oh, MIRACLE!", everything works, it starts up quickly, the reload of the pages is not even noticeable, it happens quickly, everything works fine.
With one exception, npm has never been manually installed at home, it is installed along with the node.
Once again I get to the office, I carry out the installation again in the same order. And again with the gallop the same problem.
What kind of thoughts can there be?
Something with the internet? With iron in the end? Or just bad karma?
If you do not run the gallp, on the local, everything works correctly, you follow the links and it loads quickly enough.
In fact, I'm already tired of working at home when there is an office with a good car that I bought for work. Yes, and pay for the office when you do not work there.
Express any, even the most crazy thoughts, I want to solve the problem already)))

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex, 2018-07-20
@streetflush

Install https://www.npmjs.com/package/gulp-debug
Both at home and at work and see what the difference is

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question