Questions tagged [npm]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer

Error 502 or Nginx takes over

Magento Installation and Network Setup: Magento 2.4.6-ps2 (server) with elasticsearch 5.8 (docker) on NGINX server is successfully installed and running on an Oracle Cloud network environment, ...
Debbie's user avatar
  • 101
1 vote
3 answers

Install Magento 2 PWA

Can Anybody suggest to me the best guide to install the Magento 2 PWA step by step? I tried many things, but face this issue on using this command : yarn buildpack create-custom-origin packages/venia-...
Rana Zain's user avatar
  • 642
1 vote
2 answers

Magento 2: Changes not reflected in PWA Venia theme

I have tried to updating the content on footer component but my changes is not reflected on frontend. Any idea about how to clear the cache in PWA studio after updating the content in component? ...
Dhaval Vaghela's user avatar
0 votes
1 answer

How to setup NPM package execution on Magento Cloud?

I need to run a command to compile my theme styles and commit them every time I need to push something new, these are the commands below. npm i gulp style gulp js When I try to run it via the Magento ...
Rafael Corrêa Gomes's user avatar
1 vote
1 answer

Is it possible to use npm packages in Magento 2?

I see a post here from 2017 that gives an idea of how it's done, but I would want to use something like this that would allow people to sign their names on forms. I know how to create html/js ...
web master's user avatar
0 votes
1 answer

How to change host from localhost to my network ip in vue-storefront?

I have install Vue-storefront in my local machine(Ubuntu 18) by following these commands git clone vue-storefront cd vue-storefront yarn yarn ...
Bhavesh Prajapati's user avatar
6 votes
2 answers

Magento 2 Vue Storefront error can't start docker in background

I am implementing the vue storefront using the following reference: https://docs....
Hardik Makwana's user avatar
1 vote
0 answers

magento2 facing error during npm install

-- I got this warning during npm install in my local system
Krunal's user avatar
  • 11
1 vote
0 answers

react-select-search - Uncaught TypeError: this.state.value.slice is not a function

I am working on a ReactJS web app and using "react-select-search" package for search & select feature for countries' ISD codes. GitHub link to package used I've cross checked the values from ...
meDeepakJain's user avatar
0 votes
1 answer

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 I have integrated everything but I ...
Ramesh KR's user avatar
  • 866
2 votes
0 answers

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/...
user1840302's user avatar
4 votes
3 answers

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.
Kirby's user avatar
  • 733
2 votes
1 answer

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/...
user3310748's user avatar
0 votes
1 answer

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 ...
Tdotcom's user avatar
  • 27
3 votes
0 answers

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 ...
Atish Goswami's user avatar
6 votes
2 answers

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 ...
s_h's user avatar
  • 989