Closed stepman0 closed 2 years ago
i managed to compile it in WSL2 (Ubunutu 20.04) on Windows 11. but i was using nodejs v 16.
i just setup an github action which also compiles: https://github.com/HeikoGr/Sonos-Kids-Controller/actions/runs/1828624874
according to github: Node 16.13.2
~~I'm wondering if (and why) you override the package.json file?
Step 4/17 : COPY src/package.json /sonos-kids-controller/package.json
~~
Your log file sent this related warnings:
npm WARN @ionic-native/splash-screen@5.36.0 requires a peer of @ionic-native/core@^5.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/status-bar@5.36.0 requires a peer of @ionic-native/core@^5.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular-devkit/build-angular@12.2.16 requires a peer of @angular/compiler-cli@^12.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular-devkit/build-angular@12.2.16 requires a peer of typescript@~4.2.3 || ~4.3.2 but none is installed. You must install peer dependencies yourself.
npm WARN @ngtools/webpack@12.2.16 requires a peer of @angular/compiler-cli@^12.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ngtools/webpack@12.2.16 requires a peer of typescript@~4.2.3 || ~4.3.2 but none is installed. You must install peer dependencies yourself.
npm WARN ajv-keywords@3.5.2 requires a peer of ajv@^6.9.1 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: nice-napi@1.0.2 (node_modules/nice-napi):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: nice-napi@1.0.2 install: `node-gyp-build`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
I figured it out: I used the alpine-images of node, but with the normal (debian?) edition of v16 it works.
@HeikoGr : The copying of package.json is a leftover, when I update dependencies before they are integrated into the main repository.
Hi @Thyraz,
I updated my docker repo to your latest version 1.6 - thanks for your fixes.
Unfortunately, the build does not suceed. It gets stuck at
ionic build --prod
. I tried node12, node14 and node16.Any hint?
build-log-node14.txt