Skip to content

Cannot migrate to v13.2 #7866

@mehmet-erim

Description

@mehmet-erim

I tried to migrate our repo from v13.1 to v13.2 but I faced the error below:

Running migration migration-v13-testbed-teardown
Successfully finished migration-v13-testbed-teardown
---------------------------------------------------------
Running migration migration-v13
    Could not find TypeScript project for project: account
    Could not find TypeScript project for project: account-core
    Could not find TypeScript project for project: components
    Could not find TypeScript project for project: core
directoryExists is not a function
/Users/user1/Documents/abp/npm/ng-packs/node_modules/@nrwl/workspace/node_modules/yargs/build/lib/yargs.js:1132
                throw err;
                ^

Error: Command failed: /var/folders/_b/1_14x_0j78n6n73jz8w5sw740000gq/T/tmp-47134-STC0t0TWw895/node_modules/.bin/tao migrate --run-migrations
    at checkExecSyncError (child_process.js:616:11)
    at execSync (child_process.js:652:15)
    at Object.handler (/Users/user1/Documents/abp/npm/ng-packs/node_modules/@nrwl/workspace/src/command-line/nx-commands.js:125:42)
    at Object.runCommand (/Users/user1/Documents/abp/npm/ng-packs/node_modules/@nrwl/workspace/node_modules/yargs/build/lib/command.js:196:48)
    at Object.parseArgs [as _parseArgs] (/Users/user1/Documents/abp/npm/ng-packs/node_modules/@nrwl/workspace/node_modules/yargs/build/lib/yargs.js:1043:55)
    at Object.get [as argv] (/Users/user1/Documents/abp/npm/ng-packs/node_modules/@nrwl/workspace/node_modules/yargs/build/lib/yargs.js:986:25)
    at initLocal (/Users/user1/Documents/abp/npm/ng-packs/node_modules/@nrwl/cli/lib/init-local.js:28:79)
    at Object.<anonymous> (/Users/user1/Documents/abp/npm/ng-packs/node_modules/@nrwl/cli/bin/nx.js:43:32)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10) {
  status: 1,
  signal: null,
  output: [ null, null, null ],
  pid: 47148,
  stdout: null,
  stderr: null
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Steps to Reproduce

  • Clone the ABP Framework repo
  • Go to the npm/ng-packs folder
  • Install the packages via yarn command
  • Run the yarn nx migrate latest command
  • Run the yarn nx migrate --run-migrations command

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions