hello, before i get to my question i must say this website is amazing and has taught me a lot of things, i need to use JavaScript for my project but the backend file cant recognize a some of the functions i need.that’s why i need to use a NPM for the functions to work, can someone please explain on how can i do that? thanks!
Using npm install
(and then ‘require()’) is currently not supported. We are aware of the importance of this feature and it should be available sometime in the future. Meanwhile, consider trying a RESTful API. Take a look at the article Accessing 3rd Party Services for more information. You can also look at these examples:
-
How to Use Google Maps Services in Wix Code
I hope this helps.
Yisrael
@yisrael-wix We really can use this feature!
@webmasterq have a look here https://www.wix.com/corvid/forum/community-discussion/how-do-i-install-a-npm
@plomteuxquentin That’s exactly this post…
@webmasterq
https://support.wix.com/en/article/corvid-managing-external-code-libraries-with-the-package-manager
https://www.wix.com/corvid/feature/npm-packages
Oh I meant npm install, not the Package manager
@webmasterq
That is how you add Nodes to Wix,
https://support.wix.com/en/article/corvid-managing-external-code-libraries-with-the-package-manager#installing-a-new-package
Yeah but it’s not in the Package manager and it probably will never be, support for npm install would be much better to have.
@webmasterq
https://support.wix.com/en/article/corvid-managing-external-code-libraries-with-the-package-manager#installing-a-new-package
You already sent that