Hello,

not sure why this is addressed directly to me, but Stefan H. knows the most
about the current state of npm (which is not great).

Alex

On Wed, 16 Feb 2022 at 18:58, Christian Eggers <[email protected]> wrote:

> I have created a recipe for quicktype ([1], [2]) according to the wiki
> article [3]. The recipe (attached) builds fine under dunfell, gatesgarth,
> hardknott and honister, but not on master:
>
> npm ERR! code 1
> npm ERR! path
> /home/<...>/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-quicktype/15.0.260-r0/npm/node_modules/acorn
> npm ERR! command failed
> npm ERR! command sh -c cd ..; npm run build:main && npm run build:bin
> npm ERR! npm ERR! Missing script: "build:main"
> npm ERR! npm ERR!
> npm ERR! npm ERR! To see a list of scripts, run:
> npm ERR! npm ERR! npm run
> npm ERR!
> npm ERR! npm ERR! A complete log of this run can be found in:
> npm ERR! npm ERR!
> /home/<...>/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-quicktype/15.0.260-r0/npm-cache/_logs/2022-02-16T17_17_32_448Z-debug.log
>
>
> from the debug.log:
> -----------------------------8<-----------------------------
> 28 verbose stack Error: command failed
> 28 verbose stack at ChildProcess.<anonymous>
> (/home/eggers/Projekte/jupiter/yocto-warrior/build/devel-kirkstone/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-quicktype/15.0.260-r0/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
> 28 verbose stack at ChildProcess.emit (node:events:390:28)
> 28 verbose stack at maybeClose (node:internal/child_process:1064:16)
> 28 verbose stack at Process.ChildProcess._handle.onexit
> (node:internal/child_process:301:5)
> 29 verbose pkgid [email protected]
> 30 verbose cwd /tmp/tmpho3n0y1c
> 31 verbose Linux 5.3.18-150300.59.49-default
> 32 verbose argv
> "/home/<...>/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-quicktype/15.0.260-r0/recipe-sysroot-native/usr/bin/node"
> "/home/<...>/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-quicktype/15.0.260-r0/recipe-sysroot-native/usr/bin/npm"
> "pack"
> "/home/<...>/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-quicktype/15.0.260-r0/npm/node_modules/acorn"
> "--ignore-scripts=true"
> 33 verbose node v16.11.1
> 34 verbose npm v8.0.0
> 35 error code 1
> ----------------------------->8-----------------------------
>
> I have absolutely no idea about NPM, but it looks like the script included
> in acorn's package.json causes this error:
>
> -----------------------------8<-----------------------------
> "scripts": {
> "prepare": "cd ..; npm run build:main && npm run build:bin"
> },
> ----------------------------->8-----------------------------
>
> Any ideas?
>
> regards,
> Christian
>
>
> [1] https://quicktype.io/
> [2] https://github.com/quicktype/quicktype
> [3] https://wiki.yoctoproject.org/wiki/TipsAndTricks/NPM
> _______________________________________________________
> Christian
> Eggers
> Software Engineer
> ARRI
> Arnold & Richter Cine Technik GmbH & Co. Betriebs KG
> Arriweg 17 ,
> 83071
> Stephanskirchen
>
>
> *www.arri.com * <http://www.arri.com/>
> *+49 8036 3009-3118* <+49%208036%203009-3118>
> *[email protected]* <[email protected]>
>
> [image: Orbiter Docking Ring]
> <https://www.arri.com/en/lighting/led/orbiter-accessories/orbiter-dockingring/>
> Get all the latest information from *www.arri.com* <http://www.arri.com/>
> , *Facebook* <https://www.facebook.com/TeamARRI>, *Twitter*
> <https://twitter.com/ARRIChannel>, *Instagram* <http://instagram.com/arri>
>  and *YouTube* <http://www.youtube.com/user/ARRIChannel>.
>
> Arnold & Richter Cine Technik GmbH & Co. Betriebs KG
>
> Sitz: München ‑ Registergericht: Amtsgericht München ‑ Handelsregisternummer: 
> HRA 57918
> Persönlich haftender Gesellschafter: Arnold & Richter Cine Technik GmbH
>
> Sitz: München ‑ Registergericht: Amtsgericht München ‑ Handelsregisternummer: 
> HRB 54477
>
> Geschäftsführer: Dr. Michael Neuhäuser; Stephan Schenk; Walter Trauninger; 
> Markus Zeiler
>
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95345): 
https://lists.openembedded.org/g/openembedded-devel/message/95345
Mute This Topic: https://lists.openembedded.org/mt/89191170/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to