'An unhandled exception occurred: ENOENT: no such file or directory, lstat 'D:\a\1\s\node_modules\quill'

ngx-quill on prod does not work anyone has an idea ? I have using "ngx-quill": "^13.4.0", it could not find quill but does work locally.

It does not work on the pipeline..

An unhandled exception occurred: ENOENT: no such file or directory, lstat 'D:\b\565\s\node_modules\quill'

how do we run npm install again on the pipeline badi ?

enter image description here

enter image description here



Solution 1:[1]

It's better to use the package of quill specially for ngx. So you can uninstall quill or ngx-quill before and clean what you installed.

Then :

npm install ngx-quill

import the QuillModule

import { QuillModule } from 'ngx-quill'

And QuillModule in the NgModule you want use quill :

@NgModule({
  imports: [
    ...,

    QuillModule.forRoot()
  ],
  ...
})
class YourModule { ... }

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Pterrat