Questions tagged [npm]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
34 views

Magento 2 with Gatsby and GraphQl issue

I am trying to integrate the magento2.3.2 with gatsby js and Graphql. For reference please check this link https://www.gatsbyjs.org/packages/gatsby-source-magento2/ I have integrated everything but I ...
0
votes
0answers
41 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
87 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
1k 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
107 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
391 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
125 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 ...