HTML5 development in 9.1 : Adding custom imx-api-ccc.tgz breaks compilation

Hi,

In v91, according to the documentation and the github project, I've setup a working environment for html5 dev , everything works fine. Node version is 14, all modules are built flawlessly. 

I've added a custom app that builds ok too. Now I've created a custom api with a custom imx-api-ccc.tgz generated by imxclient, placed in the correct folder and added to my custom-app. Nothing wrong so far. The custom api works fine, tested and working with the swagger ui (we're really happy with this, it's been a long way)

My custom app needs qbm among others. Now , whenever I try to compile the qbm (ng build qbm) library I get the following error:

"Heavy multiplication x Compiling with Angular sources in Ivy partial compilation mode.
projects/qbm/src/lib/chart-options/line-chart-options.ts:27:24 - error TS2614: Module '"billboard.js"' has no exported member 'LineOptions'. Did you mean to use 'import LineOptions from "billboard.js"' instead?"

I've created and recreated the same scenario to end up with the same error.  Same happens if I try to compile qer or the custom-app.

Apologies for my lack of angular knowledge.

Any hints?

Parents
  • Hi 
    we ran into the same issue. We fixed it by changing the package.json
    instead of 

    "billboard.js": "^3.1.3",

    we wrote in the package.json

    "billboard.js": "3.1.3",

    Then exceuted another npm install and it worked.
    I assume there is a breaking change in the minor version of billboard.js, so it doesn't work with  "^3.1.3"

    Cheers
    Peter

Reply
  • Hi 
    we ran into the same issue. We fixed it by changing the package.json
    instead of 

    "billboard.js": "^3.1.3",

    we wrote in the package.json

    "billboard.js": "3.1.3",

    Then exceuted another npm install and it worked.
    I assume there is a breaking change in the minor version of billboard.js, so it doesn't work with  "^3.1.3"

    Cheers
    Peter

Children