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

Compilation Takes a Long Time When Using Data Mapper in the Project #4018

Open
a0529gox opened this issue Feb 14, 2025 · 0 comments
Open

Compilation Takes a Long Time When Using Data Mapper in the Project #4018

a0529gox opened this issue Feb 14, 2025 · 0 comments

Comments

@a0529gox
Copy link

Current Limitation

The DataMapper Mediator is very effective and often clearer than the PayloadFactory in some use cases. However, it significantly increases the compilation time in VS Code Extensions. When I click "Build and Run," Maven starts by removing all files in the "./target" directory, downloading Node.js and npm, and running "npm install" before packaging the ".car" archive. This process can take more than 10 minutes. After the initial compilation, subsequent compilations also take a long time because Node.js, npm, and the node_modules directory, which are downloaded during "npm install," are all removed as they reside in the "./target" folder. If I use DataMapper, every time I compile the project, I have to wait more than 10 minutes for downloading Node.js, npm, and running "npm install." This is quite frustrating.

Suggested Improvement

  1. Change the location of Node.js and node_modules.
  2. Allow users to configure the location of Node.js and node_modules.
  3. Stop removing Node.js and node_modules from the ./target folder.

Version

4.3.0

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

No branches or pull requests

1 participant