2023-08-30T15:25:19.279068Z Cloning repository...
2023-08-30T15:25:20.326601Z From
https://github.com/aryangupta0001/notescloud
2023-08-30T15:25:20.327358Z * branch
be1f5be617d6762591f673e4d01a7551c55fd781 -> FETCH_HEAD
2023-08-30T15:25:20.3276Z
2023-08-30T15:25:20.39101Z HEAD is now at be1f5be fixeed dprecated
resources
2023-08-30T15:25:20.391706Z
2023-08-30T15:25:20.502942Z
2023-08-30T15:25:20.536235Z Success: Finished cloning repository files
2023-08-30T15:25:21.246683Z Detected the following tools from environment: npm@9.5.1, nodejs@18.16.1
2023-08-30T15:25:21.247585Z Installing project dependencies: npm clean-
install --progress=false
2023-08-30T15:25:24.308063Z npm ERR! code EUSAGE
2023-08-30T15:25:24.31156Z npm ERR!
2023-08-30T15:25:24.311912Z 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.
2023-08-30T15:25:24.312126Z npm ERR!
2023-08-30T15:25:24.312291Z npm ERR! Invalid: lock file's typescript@5.2.2
does not satisfy typescript@4.9.5
2023-08-30T15:25:24.312429Z npm ERR!
2023-08-30T15:25:24.312573Z npm ERR! Clean install a project
2023-08-30T15:25:24.312704Z npm ERR!
2023-08-30T15:25:24.31284Z npm ERR! Usage:
2023-08-30T15:25:24.312979Z npm ERR! npm ci
2023-08-30T15:25:24.313107Z npm ERR!
2023-08-30T15:25:24.313231Z npm ERR! Options:
2023-08-30T15:25:24.313363Z npm ERR! [-S|--save|--no-save|--save-prod|--
save-dev|--save-optional|--save-peer|--save-bundle]
2023-08-30T15:25:24.313487Z npm ERR! [-E|--save-exact] [-g|--global]
2023-08-30T15:25:24.313636Z npm ERR! [--install-strategy
<hoisted|nested|shallow|linked>] [--legacy-bundling]
2023-08-30T15:25:24.313783Z npm ERR! [--global-style] [--omit
<dev|optional|peer> [--omit <dev|optional|peer> ...]]
2023-08-30T15:25:24.313911Z npm ERR! [--strict-peer-deps] [--no-package-
lock] [--foreground-scripts]
2023-08-30T15:25:24.31404Z npm ERR! [--ignore-scripts] [--no-audit] [--no-
bin-links] [--no-fund] [--dry-run]
2023-08-30T15:25:24.314165Z npm ERR! [-w|--workspace <workspace-name> [-w|--
workspace <workspace-name> ...]]
2023-08-30T15:25:24.314288Z npm ERR! [-ws|--workspaces] [--include-
workspace-root] [--install-links]
2023-08-30T15:25:24.314413Z npm ERR!
2023-08-30T15:25:24.314534Z npm ERR! aliases: clean-install, ic, install-
clean, isntall-clean
2023-08-30T15:25:24.315139Z npm ERR!
2023-08-30T15:25:24.31528Z npm ERR! Run "npm help ci" for more info
2023-08-30T15:25:24.315419Z
2023-08-30T15:25:24.315582Z npm ERR! A complete log of this run can be found
in:
2023-08-30T15:25:24.315742Z npm ERR! /opt/buildhome/.npm/_logs/2023-08-
30T15_25_22_647Z-debug-0.log
2023-08-30T15:25:24.328956Z Error: Exit with error code: 1
2023-08-30T15:25:24.329299Z at ChildProcess.<anonymous>
(/snapshot/dist/run-build.js)
2023-08-30T15:25:24.32947Z at Object.onceWrapper (node:events:652:26)
2023-08-30T15:25:24.329646Z at ChildProcess.emit (node:events:537:28)
2023-08-30T15:25:24.329797Z at ChildProcess._handle.onexit
(node:internal/child_process:291:12)
2023-08-30T15:25:24.337693Z Failed: build command exited with code: 1
2023-08-30T15:25:25.239793Z Failed: error occurred while running build
command
In the error log, there is written that :-
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.
So tried deleting my node_modules folder & run the command npm install
but it didn't worked.