Skip to Content
0
Dec 20, 2022 at 12:01 PM

Can't resolve npm library

180 Views

Hello,
my application uses xlsx npm library.
It has been working several months.
I try deploying it today but the library can't be resolved.

ModuleNotFoundError: Module not found: Error: Can't resolve '/extbin/generators/lib/node_modules/xlsx' in '/home/user/build.definitions/ZFSA_INT/Rules/CrearP'

undefined


In the terminal, I install the library:
npm install xlsx

image.png

The documentation of that library:
https://www.npmjs.com/package/xlsx

image.png

Tried both, none worked.

How can I fix this?

Thanks.

Attachments

image.png (3.0 kB)
image.png (20.6 kB)