This is out dated script we will update it soon.
cp: dependency: No such file or directory
audited 721 packages in 2.845s
52 packages are looking for funding
run `npm fund` for details
found 2 moderate severity vulnerabilities
run `npm audit fix` to fix them, or `npm audit` for details
lerna notice cli v5.1.6
lerna info versioning independent
lerna info Bootstrapping 13 packages
lerna info Symlinking packages and binaries
lerna success Bootstrapped 13 packages
lerna notice cli v5.1.6
lerna info versioning independent
lerna info Executing command in 2 packages: "npm run pack"
lerna info run Ran npm script 'pack' in '@contentstack/cli-cm-import' in 2.2s:
> @contentstack/cli-cm-import@0.1.1-beta.18 prepack /Users/user/code/csdx-source/packages/contentstack-import
> oclif-dev manifest && oclif-dev readme
wrote manifest to /Users/user/code/csdx-source/packages/contentstack-import/oclif.manifest.json
replacing <!-- usage --> in README.md
replacing <!-- commands --> in README.md
replacing <!-- toc --> in README.md
> @contentstack/cli-cm-import@0.1.1-beta.18 pack /Users/user/code/csdx-source/packages/contentstack-import
> npm pack && mv *.tgz ../../build
> @contentstack/cli-cm-import@0.1.1-beta.18 prepack /Users/user/code/csdx-source/packages/contentstack-import
> oclif-dev manifest && oclif-dev readme
wrote manifest to /Users/user/code/csdx-source/packages/contentstack-import/oclif.manifest.json
replacing <!-- usage --> in README.md
replacing <!-- commands --> in README.md
replacing <!-- toc --> in README.md
> @contentstack/cli-cm-import@0.1.1-beta.18 postpack /Users/user/code/csdx-source/packages/contentstack-import
> rm -f oclif.manifest.json
contentstack-cli-cm-import-0.1.1-beta.18.tgz
> @contentstack/cli-cm-import@0.1.1-beta.18 postpack /Users/user/code/csdx-source/packages/contentstack-import
> rm -f oclif.manifest.json
lerna info run Ran npm script 'pack' in '@contentstack/cli-cm-seed' in 12.8s:
> @contentstack/cli-cm-seed@1.0.11 prepack /Users/user/code/csdx-source/packages/contentstack-seed
> rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme
wrote manifest to /Users/user/code/csdx-source/packages/contentstack-seed/oclif.manifest.json
replacing <!-- commands --> in README.md
> @contentstack/cli-cm-seed@1.0.11 pack /Users/user/code/csdx-source/packages/contentstack-seed
> npm pack --dry-run
> @contentstack/cli-cm-seed@1.0.11 prepack /Users/user/code/csdx-source/packages/contentstack-seed
> rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme
wrote manifest to /Users/user/code/csdx-source/packages/contentstack-seed/oclif.manifest.json
replacing <!-- commands --> in README.md
> @contentstack/cli-cm-seed@1.0.11 postpack /Users/user/code/csdx-source/packages/contentstack-seed
> rm -f oclif.manifest.json
contentstack-cli-cm-seed-1.0.11.tgz
> @contentstack/cli-cm-seed@1.0.11 postpack /Users/user/code/csdx-source/packages/contentstack-seed
> rm -f oclif.manifest.json
lerna success run Ran npm script 'pack' in 2 packages in 15.0s:
lerna success - @contentstack/cli-cm-import
lerna success - @contentstack/cli-cm-seed
Building CLI package...
lerna notice cli v5.1.6
lerna info versioning independent
lerna info Executing command in 1 package: "npm run build"
lerna info run Ran npm script 'build' in '@contentstack/cli-cm-bootstrap' in 4.4s:
> @contentstack/cli-cm-bootstrap@1.0.7 build /Users/user/code/csdx-source/packages/contentstack-bootstrap
> npm run clean && npm run compile
> @contentstack/cli-cm-bootstrap@1.0.7 clean /Users/user/code/csdx-source/packages/contentstack-bootstrap
> rm -rf ./lib && rm -rf tsconfig.build.tsbuildinfo
> @contentstack/cli-cm-bootstrap@1.0.7 compile /Users/user/code/csdx-source/packages/contentstack-bootstrap
> tsc -b tsconfig.json
lerna success run Ran npm script 'build' in 1 package in 4.4s:
lerna success - @contentstack/cli-cm-bootstrap
Built CLI package, Done!!!
./install-from-code.sh: line 32: cd: build/@contentstack/packages: No such file or directory
Installing Contentstack CLI globally
npm ERR! code ENOENT
npm ERR! syscall stat
npm ERR! path /Users/user/code/csdx-source/contentstack-cli.tgz
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, stat '/Users/user/code/csdx-source/contentstack-cli.tgz'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/user/.npm/_logs/2022-07-08T11_40_16_426Z-debug.log
\e[31mGlobal installation failed for CLI module!!!```
Tested on several versions of Node: