I started a new NextJS14 project and tried to deploy it on Pages, but I just keep on getting errors, I already tried what ever I find on google but nothing worked, is Next14 not supported yet or I’m just missing something?
Thanks
2024-02-28T19:05:08.087976Z | Cloning repository… |
---|---|
2024-02-28T19:05:08.872626Z | |
2024-02-28T19:05:08.873202Z | |
2024-02-28T19:05:08.873338Z | |
2024-02-28T19:05:08.905451Z | HEAD is now at 3ed1c82 … |
2024-02-28T19:05:08.905935Z | |
2024-02-28T19:05:09.010191Z | |
2024-02-28T19:05:09.010811Z | Using v2 root directory strategy |
2024-02-28T19:05:09.041088Z | Success: Finished cloning repository files |
2024-02-28T19:05:09.846896Z | Detected the following tools from environment: [email protected], [email protected] |
2024-02-28T19:05:09.847604Z | Installing project dependencies: npm clean-install --progress=false |
2024-02-28T19:05:11.722942Z | npm ERR! code EUSAGE |
2024-02-28T19:05:11.726064Z | npm ERR! |
2024-02-28T19:05:11.726312Z | npm ERR! npm ci can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with npm install before continuing. |
2024-02-28T19:05:11.726485Z | npm ERR! |
2024-02-28T19:05:11.727162Z | npm ERR! Missing: [email protected] from lock file |
2024-02-28T19:05:11.727322Z | npm ERR! |
2024-02-28T19:05:11.727459Z | npm ERR! Clean install a project |
2024-02-28T19:05:11.727599Z | npm ERR! |
2024-02-28T19:05:11.727923Z | npm ERR! Usage: |
2024-02-28T19:05:11.728039Z | npm ERR! npm ci |
2024-02-28T19:05:11.728149Z | npm ERR! |
2024-02-28T19:05:11.728256Z | npm ERR! Options: |
2024-02-28T19:05:11.728357Z | npm ERR! [–install-strategy <hoisted |
2024-02-28T19:05:11.728465Z | npm ERR! [–global-style] [–omit <dev |
2024-02-28T19:05:11.728575Z | npm ERR! [–strict-peer-deps] [–no-package-lock] [–foreground-scripts] |
2024-02-28T19:05:11.728679Z | npm ERR! [–ignore-scripts] [–no-audit] [–no-bin-links] [–no-fund] [–dry-run] |
2024-02-28T19:05:11.72879Z | npm ERR! [-w |
2024-02-28T19:05:11.728932Z | npm ERR! [-ws |
2024-02-28T19:05:11.729042Z | npm ERR! |
2024-02-28T19:05:11.729151Z | npm ERR! aliases: clean-install, ic, install-clean, isntall-clean |
2024-02-28T19:05:11.729251Z | npm ERR! |
2024-02-28T19:05:11.729355Z | npm ERR! Run npm help ci for more info |
2024-02-28T19:05:11.730263Z | |
2024-02-28T19:05:11.730515Z | npm ERR! A complete log of this run can be found in: /opt/buildhome/.npm/_logs/2024-02-28T19_05_10_719Z-debug-0.log |
2024-02-28T19:05:11.741641Z | Error: Exit with error code: 1 |
2024-02-28T19:05:11.741888Z | at ChildProcess. (/snapshot/dist/run-build.js) |
2024-02-28T19:05:11.742256Z | at Object.onceWrapper (node:events:652:26) |
2024-02-28T19:05:11.742384Z | at ChildProcess.emit (node:events:537:28) |
2024-02-28T19:05:11.742602Z | at ChildProcess._handle.onexit (node:internal/child_process:291:12) |
2024-02-28T19:05:11.752351Z | Failed: build command exited with code: 1 |
2024-02-28T19:05:12.821196Z | Failed: error occurred while running build command |