on 2023 Dec 13 5:59 PM
Hello,
We haven't deployed our application for a while. Today we tried to re-deploy it via hdi-container and mta build but we're facing this error:
Error: Cannot find module 'core-util-is'
The new version released a few hours ago is most probably the reason. Any solutions?
Request clarification before answering.
Hi dimouzunov,
Try the following steps till sap releases newer version of the package,
Create a package.json under db folder and mention the older stable version of @sap/hdi-deploy, I'm use 4.8.2
After that install the npm package using terminal
__X__
We faced the same issue with previous version 4.8.1,
refer: https://answers.sap.com/questions/13984545/cap-hdi-deployment-error-cannot-find-module-core-u.html
Also please add "SAP Cloud Application Programming Model" in the question tags,,
Regards,
Aakash
Tags: willem.pardaens
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Thank you for your reply. I know about your solution I was just trying to find a "stable" one. However keep in mind the package.json you've screenshot will still produce the same error because it's requesting ^4.8.2 which will serve 4.9.0 and will have the same problem.
Luckily 4.9.1 is live and the issue is fixed.
I may end up with a "hard" version such as 4.9.1 without the ^ symbol in /db to avoid future problems like that.
Regards,
Dimo
User | Count |
---|---|
78 | |
12 | |
9 | |
8 | |
7 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.