Questions tagged [npm]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

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 ...
0
votes
0answers
83 views

Issue while running install npm in magento2

npm install npm WARN deprecated browserslist@0.4.0: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools. npm WARN deprecated http2@3.3.7: Use the built-in module in ...
0
votes
0answers
53 views

Magento 2 : How To setup 2 vuestorefront demo in single domain?

I have setup Vuestorefront demo using this link Vue storefront Now I want to set up another demo in the same domain on a different port. I have change port and elastic search index name in both ...
0
votes
0answers
161 views

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 https://github.com/DivanteLtd/vue-storefront.git vue-storefront cd vue-storefront yarn yarn ...
5
votes
2answers
983 views

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

I am implementing the vue storefront using the following reference: https://medium.com/the-vue-storefront-journal/vue-storefront-how-to-install-and-integrate-with-magento2-227767dd65b2 https://docs....
1
vote
0answers
45 views

magento2 facing error during npm install

-- I got this warning during npm install in my local system
1
vote
0answers
167 views

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 ...
0
votes
1answer
216 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 ...
2
votes
0answers
126 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
2k 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
128 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
438 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 ...
3
votes
0answers
188 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
2k 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 ...