Addons are not deploying after ember build in ember-cli@2.18

Currently, I am updating my Ember app and Ember addon from Ember-cli@2.4 to Ember-cli@2.18. Now I am facing an issue related to deploying addons after the Ember build, even though my app and addon have the same Ember-cli version, which is 2.18. I have found the reason for the issue: if I remove the outputPaths option from my ember-cli-build, the deployment works properly, but if specified, I am facing the issue. I am quite confused about sorting out this problem. Can anyone help me?

Package.json:-

{
  "name": "myapp",
  "version": "0.0.0",
  "private": true,
  "author": "",
  "license": "MIT",
  "repository": "",
  "directories": {
    "doc": "doc",
    "test": "tests"
  },
  "scripts": {
    "build": "ember build",
    "lint:js": "eslint ./*.js app config lib server tests",
    "start": "ember serve",
    "test": "ember test"
  },
  "devDependencies": {
    "broccoli-asset-rev": "^2.4.5",
    "broccoli-clean-css": "^2.0.1",
    "broccoli-concat": "^4.2.5",
    "broccoli-static-compiler": "^0.2.2",
    "broccoli-uglify-js": "^0.2.0",
    "broccoli-unwatched-tree": "^0.1.3",
    "ember-ajax": "^3.0.0",
    "ember-cli": "~2.18.2",
    "ember-cli-app-version": "^3.0.0",
    "ember-cli-babel": "^6.6.0",
    "ember-cli-content-security-policy": "1.0.0",
    "ember-cli-dependency-checker": "^2.0.0",
    "ember-cli-eslint": "^4.2.1",
    "ember-cli-htmlbars": "^2.0.1",
    "ember-cli-htmlbars-inline-precompile": "^1.0.0",
    "ember-cli-inject-live-reload": "^1.4.1",
    "ember-cli-qunit": "^4.1.1",
    "ember-cli-release": "^1.0.0-beta.2",
    "ember-cli-sass": "7.1.7",
    "ember-cli-shims": "^1.2.0",
    "ember-cli-sri": "^2.1.0",
    "ember-cli-uglify": "^2.0.0",
    "ember-data": "~2.18.0",
    "ember-disable-proxy-controllers": "^1.0.2",
    "ember-export-application-global": "^2.0.0",
    "ember-load-initializers": "^1.0.0",
    "ember-resolver": "^4.0.0",
    "ember-source": "~2.18.0",
    "ember-welcome-page": "^3.0.0",
    "eslint-plugin-ember": "^5.0.0",
    "express": "^4.18.2",
    "glob": "^7.1.7",
    "loader.js": "^4.2.3"
  },
  "dependencies": {
    "@addons/addon1": "file:../addons/addon1",
    "@addons/addon2": "file:../addons/addon2"
  },
  "engines": {
    "node": "^4.5 || 6.* || >= 7.*"
  }
}

Ember-cli-build.js:-

/* global require, module */
'use strict';
var EmberApp = require('ember-cli/lib/broccoli/ember-app');
const path = require('path');
module.exports = function(defaults) {
	var sourceTree = [];
	var app = new EmberApp({		
		fingerprint : {
			enabled : false
		},
		sourcemaps : {
			enabled : false
		},
		trees : {
			vendor : '../app2/vendor'
		},
		vendorFiles : {
			'jquery.js' : 'vendor/tplibs/jquery-1.8.3.js',
		},
		outputPaths : {
			app : {
				js : '/js/app.js',
				css : {
					app: '/styles/app.css' // No I18N
				}
			},
			vendor : {
				js : '/js/vendor.js'
			}
		},
		sassOptions: {
			extension: 'scss',// No I18N
      		includePaths: [ 'app/styles' ]// No I18N
	    }
	});
	app.import('vendor/tplibs/bootstrap.js');
	return app.toTree();
}

Though bower.json is deprecated, I have removed the configuration from it.