1

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

1 Answers1

0

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 { ... }
Pterrat
  • 1,682
  • 11
  • 18
  • It works fine locally Sir , there is no issue on the modules and the quill package that was installed. The issue is when I push the code on the pipeline , the pipeline fails with that error An unhandled exception occurred: ENOENT: no such file or directory, lstat 'D:\b\565\s\node_modules\quill' –  Mar 10 '22 at 10:49
  • What's happen when you uninstall all and reinstall locally? (delete all node_modules and npm install) – Pterrat Mar 10 '22 at 10:51
  • I installed "ngx-quill": "^13.4.0" since my angular version is 11 –  Mar 10 '22 at 10:52
  • I did not uninstall and reinstall it locally since there is no issue on the local –  Mar 10 '22 at 10:52