Questions tagged [npm]
The npm tag has no usage guidance.
13
questions
1
vote
0answers
30 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
117 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
1answer
269 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 ...
6
votes
2answers
1k 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
46 views
magento2 facing error during npm install
-- I got this warning during npm install in my local system
1
vote
0answers
216 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
244 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
139 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
129 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
449 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
205 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 ...