Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [npm]

The tag has no usage guidance.

0
votes
0answers
31 views

Create a custom frontend theme with gulp

I would like to create a completely custom theme for Magento 1 managed with Npm for managing dependencies and gulp to minify the gss css and js. Of course, layout management and "addCss" and "addJs" ...
2
votes
0answers
62 views

Node modules in theme

I am new to magento and i have researched this issue i am having for enough time to post it here. My goal is to understand how require-js works with node modules. Case: $themeDir = app/design/...
2
votes
1answer
948 views

Is there a some solution to use npm packages within a Magento 2 module?

The main idea - don't keep JS files which belong to some NPM packages in a module repository? Maybe someone have some solution of thoughts.
2
votes
1answer
96 views

local grunt database errors, when I have a vagrant magento2 box

I have a vagrant box (debian) with a Magento2 installation for development. Everything works nice, but changing css/less is very very slow (because everytime I have to remove pub/frontend and var/...
0
votes
1answer
383 views

install npm for Magento 2 on a system the runs Plesk Onyx without deleteing Plesk

When i try to install npm per apt-get on my Linux machine with Plesk onyx it always want to remove my plesk packages. i still wanna use plesk on my server since its my developer environment. but i ...
2
votes
0answers
110 views

Magento 2 Yarn instead of NPM

I justed wanted to know if anyone has tried out the new package manager Yarn which claims to be faster and most secure than NPM, in their Magento2 projects. If so is, there any known issues I should ...
6
votes
2answers
1k views

installing & using reactjs in magento 1.9

Im trying to run reactjs library in my magento 1.9 website. reactjs can be run in php server using v8js-php consequently it could work. many reactjs components are installed using composer: a- its ...