The latest npm package available for this project is 0.2.4 (https://www.npmjs.com/package/@sinequa/ngx-ui-builder?activeTab=versions) so when we running the following command ng generate ngx-ui-builder:make-static -- --config=my-config.json to generate static templates as suggested at the following page in the docs https://github.com/sinequa/ngx-ui-builder?tab=readme-ov-file#static-export it results in the following exception An unhandled exception occurred: Collection ".....\\ngx-ui-builder\\node_modules\\@sinequa\\ngx-ui-builder\\schematics\\collection.json" cannot be resolved. which is due to not having published the latest project version (1.0.0) on npm. The latest version on npm (0.2.4) is missing schematics folder containg collection.json file mentioned in the error I reported above in the text.
...but it works fine if I build the library locally, copy the build artifacts to the node_modules\@sinequa\ngx-ui-builder and then run ng generate ngx-ui-builder:make-static -- --config=my-config.json again since now there is schematics folder with collection.json file in library build output folder:
I would say the latest project version should be deployed to npm.
The latest npm package available for this project is 0.2.4 (https://www.npmjs.com/package/@sinequa/ngx-ui-builder?activeTab=versions) so when we running the following command
ng generate ngx-ui-builder:make-static -- --config=my-config.json
to generate static templates as suggested at the following page in the docs https://github.com/sinequa/ngx-ui-builder?tab=readme-ov-file#static-export it results in the following exceptionAn unhandled exception occurred: Collection ".....\\ngx-ui-builder\\node_modules\\@sinequa\\ngx-ui-builder\\schematics\\collection.json" cannot be resolved.
which is due to not having published the latest project version (1.0.0) on npm. The latest version on npm (0.2.4) is missingschematics
folder containgcollection.json
file mentioned in the error I reported above in the text....but it works fine if I build the library locally, copy the build artifacts to the
node_modules\@sinequa\ngx-ui-builder
and then runng generate ngx-ui-builder:make-static -- --config=my-config.json
again since now there isschematics
folder withcollection.json
file in library build output folder:I would say the latest project version should be deployed to npm.
Thanks.