Closed GhostRock37 closed 6 years ago
I can reproduce the problem. I have to look for the cause. Maybe it takes a while, because I'm on vacation for the next three weeks.
I've found the cause:
In .angular-cli.json
stands in line 35: "../node_modules/save-svg-as-png/saveSvgAsPng.js",
yarn install
to build node/modules
.npm install
installs it in "../node_modules/save-svg-as-png/lib/saveSvgAsPng.js"
. That's the cause of the error message.So I have to rework the docker configuration to use yarn
instead of npm
.
Added yarn
. It's working again.
I had a problem when building with docker: for PIA FRONT, a library appeared missing:
I had to copy saveSvgAsPng.js manually from /var/lib/docker/overlay2/l/XVUEUD2R34B5445PIEWT5WW6TJ/var/www/pia/node_modules/save-svg-as-png/lib/ to /var/lib/docker/overlay2/l/XVUEUD2R34B5445PIEWT5WW6TJ/var/www/pia/node_modules/save-svg-as-png/,
and the rest went well!
thank you