package-lock.json is out of date with package.json
The project's package-lock.json does not match its package.json (npm: Missing: @types/[email protected] from lock file), and npm ci installs only from a lockfile that does. Regenerate it with npm install and commit it.
TypeErrorAn error that occurred in the deployed application. It is not necessarily a PanelAlpha Engine error, but we keep working on improvements so you run into fewer of them.
Seen2 times
WhereExpress
StatusResolve ReadyOur team will look into this soon, verify the cause and try to fix it in an upcoming release.
Why it happens
npm ci installs only from a lockfile that matches package.json, and this lockfile is missing a package that package.json now requires (the React type definitions). The engine showed npm's usage text instead of this reason; that is being fixed.
What the log looks like
Deploy log
npm error [--allow-scripts <package-list> [--allow-scripts <package-list> ...]]npm error [--strict-allow-scripts] [--dangerously-allow-all-scripts] [--no-audit]npm error [--no-bin-links] [--no-fund] [--dry-run]npm error [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]npm error [--workspaces] [--include-workspace-root] [--install-links]npm errornpm error --install-strategynpm error Sets the strategy for installing packages in node_modules.npm errornpm error --legacy-bundlingnpm error Instead of hoisting package installs in `node_modules`, install pac…