Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Error when upgrade to lockFileVersion 3 #16

@andirsun

Description

@andirsun

Hey, I am trying to upgrade this package-lock.json to the version 3 so I generate a new package-lock and then generate the generated-sources.json but after try build the flatpak manifest I am facing this error

flatpak-builder build org.flathub.electron-sample-app.yml --install --force-clean --user
Downloading sources
Downloading https://registry.npmjs.org/@types/plist/-/plist-3.0.5.tgz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1839  100  1839    0     0   2797      0 --:--:-- --:--:-- --:--:--  2794
Downloading https://registry.npmjs.org/@types/verror/-/verror-1.10.10.tgz
100  2512  100  2512    0     0   4614      0 --:--:-- --:--:-- --:--:--  817k
Downloading https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz
100  3943  100  3943    0     0  85422      0 --:--:-- --:--:-- --:--:-- 85422
Downloading https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz
100  1803  100  1803    0     0  49846      0 --:--:-- --:--:-- --:--:-- 49846
Downloading https://registry.npmjs.org/cli-truncate/-/cli-truncate-2.1.0.tgz
100  3513  100  3513    0     0  72683      0 --:--:-- --:--:-- --:--:-- 72683
Downloading https://registry.npmjs.org/crc/-/crc-3.8.0.tgz
100 19779  100 19779    0     0   518k      0 --:--:-- --:--:-- --:--:--  518k
Downloading https://registry.npmjs.org/dmg-license/-/dmg-license-1.0.11.tgz
100 24561  100 24561    0     0   780k      0 --:--:-- --:--:-- --:--:--  780k
Downloading https://registry.npmjs.org/extsprintf/-/extsprintf-1.4.1.tgz
100 10978  100 10978    0     0   270k      0 --:--:-- --:--:-- --:--:--  270k
Downloading https://registry.npmjs.org/iconv-corefoundation/-/iconv-corefoundation-1.1.7.tgz
100 65652  100 65652    0     0  1636k      0 --:--:-- --:--:-- --:--:-- 1636k
Downloading https://registry.npmjs.org/node-addon-api/-/node-addon-api-1.7.2.tgz
100  140k  100  140k    0     0  3617k      0 --:--:-- --:--:-- --:--:-- 3617k
Downloading https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz
100  2915  100  2915    0     0  37491      0 --:--:-- --:--:-- --:--:-- 37491
Downloading https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz
100 21539  100 21539    0     0   569k      0 --:--:-- --:--:-- --:--:--  569k
Downloading https://registry.npmjs.org/verror/-/verror-1.10.1.tgz
100 12165  100 12165    0     0   343k      0 --:--:-- --:--:-- --:--:--  343k
Initializing build dir
Committing stage init to cache
Starting build of org.flathub.electron-sample-app
========================================================================
Building module electron-sample-app in /home/andirsun/projects/electron-sample-app/flatpak/.flatpak-builder/build/electron-sample-app-1
========================================================================
Running: npm install --offline
npm info using [email protected]
npm info using [email protected]

up to date, audited 305 packages in 627ms

48 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
npm info ok 
Running: . ../flatpak-node/electron-builder-arch-args.sh
npm run dist -- $ELECTRON_BUILDER_ARCH_ARGS  --linux --dir

/bin/sh: line 1: ../flatpak-node/electron-builder-arch-args.sh: No such file or directory
Error: module electron-sample-app: Child process exited with code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions