# Package not being picked up through NPM Package Manager

**URL:** <https://forum.wixstudio.com/t/package-not-being-picked-up-through-npm-package-manager/61108>\
**Category:** Ask the community\
**Tags:** wix-studio, question, code\
**Created:** [July 24, 2024, 10:46am UTC](https://forum.wixstudio.com/t/package-not-being-picked-up-through-npm-package-manager/61108 "2024-07-24T10:46:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ronan\_Morgan](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/ronan_morgan/32/94726_2.png) [@Ronan\_Morgan](https://forum.wixstudio.com/u/Ronan_Morgan)\
**Post date:** [July 24, 2024, 10:46am UTC](https://forum.wixstudio.com/t/package-not-being-picked-up-through-npm-package-manager/61108/1 "2024-07-24T10:46:41Z")

</div>

**Question:**  
I am trying to import a package "xlm2js’. I have gone to NPM package manager and imported the latest version, “0.6.2”. When l go into the WIX code editor and look at the package.json file. It is in there as a dependancy. However when l import the code into my backend file, using “import { parseStringPromise } from ‘xml2js’;”. It gives me an error “Cannot find module ‘xml2js’ or its corresponding type declarations.ts(2307).”

![Screenshot 2024-07-24 at 13.10.52](https://us1.discourse-cdn.com/wix/original/3X/6/d/6d67dcb5fa271001a6d7d0c16ccb4a58fa288d22.png)  
Am l importing this wrong? Or have l missed a step?

**Product:**  
Wix Studio Editor
