ng-packagr / ng-packagr

Compile and package Angular libraries in Angular Package Format (APF)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

i upgraded my angular project from v11 to v16.

valliyalla11 opened this issue · comments

          This issue has been automatically locked due to inactivity.<br> Please file a new issue if you are encountering a similar or related problem.<br><br> <sub>_This action has been performed automatically by a bot._</sub>

Originally posted by @github-actions[bot] in #2225 (comment)

image

im migrating angular v11 to v16 i got this error .i have added "preserveSymlinks": true in my angular.json but no luck.

please suggest me a solution .thanks in advance

Object.defineProperty(exports, "__esModule", { value: true });
exports.AngularWebpackLoaderPath = exports.AngularWebpackPlugin = exports.default = void 0;
var loader_1 = require("./loader");
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return loader_1.angularWebpackLoader; } });
var plugin_1 = require("./plugin");
Object.defineProperty(exports, "AngularWebpackPlugin", { enumerable: true, get: function () { return plugin_1.AngularWebpackPlugin; } });
exports.AngularWebpackLoaderPath = __filename;

this is the content in my ./node_modules/@angular-devkit/build-angular/node_modules/@ngtools/webpack/src/ivy/index.js

Please see angular/angular#52520 (comment).

This may happen when a dependency doesn't specify its (peer) dependencies correctly, which may result in a situation where its .d.ts files import from a module that is not reachable (because a dependency requirement was missing), causing this error to be reported.

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

This action has been performed automatically by a bot.