I'm trying to install quill-image-resize-module via NPM. I have tried these commands npm install --save quill-image-resize-module, npm install quill-image-resize-module, npm install -g quill-image-resize-module.
All of them resulted in the same result. The result is, that the folder quill-image-resize-module getting created inside node_modules, then another node_modules gets created inside quill-image-resize-module. Inside this new, sub node_modules, many folders get created, e.g. acorn, array-uniq, lodash.
To sum up the issue, the NPM isn't installing the package, instead he's downloading many packages and putting them in a new folder inside quill-image-resize-module. Therefore, I'm unable to import the package.
import ImageResize from 'quill-image-resize-module'
This results in an error. The package does exist, but it doesn't have the files. It has another subfolder, and inside it, many other folders.
from Installing quill-image-resize-module results in creating "node_modules" inside of it with many modules
No comments:
Post a Comment