Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Error during npm install #617

Open
bbpcoforge opened this issue Aug 12, 2024 · 1 comment
Open

Getting Error during npm install #617

bbpcoforge opened this issue Aug 12, 2024 · 1 comment

Comments

@bbpcoforge
Copy link

Hi Team,
I am getting below error, can someone please help me to resolve this.
I am using below libraries
@angular-architects/native-federation@17.1.8

+-- @angular/animations@17.3.12
| -- @angular/core@17.3.12 deduped +-- @angular/common@17.3.12 | -- @angular/core@17.3.12 deduped
+-- @angular/compiler@17.3.12
| -- @angular/core@17.3.12 deduped +-- @angular/core@17.3.12 +-- @angular/forms@17.3.12 | -- @angular/core@17.3.12 deduped
+-- @angular/platform-browser-dynamic@17.3.12
| -- @angular/core@17.3.12 deduped +-- @angular/platform-browser@17.3.12 | -- @angular/core@17.3.12 deduped
-- @angular/router@17.3.12 -- @angular/core@17.3.12 deduped

Below error I am getting

D:\poc\Angular\native-federation-mfe\angular-mfe>npm i

angular-mfe@0.0.0 postinstall
node node_modules/@angular-architects/native-federation/src/patch-angular-build.js

node:internal/modules/cjs/loader:1148
throw err;
^

Error: Cannot find module 'D:\poc\Angular\native-federation-mfe\angular-mfe\node_modules@angular-architects\native-federation\src\patch-angular-build.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
at Module._load (node:internal/modules/cjs/loader:986:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}

Node.js v20.16.0
npm error code 1
npm error path D:\poc\Angular\native-federation-mfe\angular-mfe
npm error command failed

@diandsonc
Copy link

@bbpcoforge could you please share a sample code reproducing the error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants