Existing package-lock.json is missing some modules. In most cases it is not a problem because npm can download missing dependences during install. Sadly, Flatpak builder doesn't have access to the internet during build process, so each module has to be downloaded to the cache earlier. Therefore, it is important for the Flatpaks building process that package-lock contains all modules and its dependences.
New module tree was generated using npm install --package-lock-only
Existing
package-lock.json
is missing some modules. In most cases it is not a problem because npm can download missing dependences during install. Sadly, Flatpak builder doesn't have access to the internet during build process, so each module has to be downloaded to the cache earlier. Therefore, it is important for the Flatpaks building process thatpackage-lock
contains all modules and its dependences. New module tree was generated usingnpm install --package-lock-only