-
Notifications
You must be signed in to change notification settings - Fork 20
Cannot find module '@sap/cds/bin/build/buildTaskHandlerFactory' #52
Comments
That's because of npm version on cloud foundry instance (not related to cds-dbm). You may manually install cds package by executing: "npm install @sap/[email protected]" on db-deployer instance. |
@Regloom How could this issue be related to the |
@pwasem - cds-dpm version 0.0.27 does not support @sap/cds version 5.4.x. You have to install @sap/cds version < 5.4.0 as cds-dpm needs to be migrated, first. See https://github.com/gregorwolf/cds-dbm/tree/fix/issue-34 |
Sadly I am really head under water kind of busy right now and won't find any time to adjust the library within the next two weeks. I plan on providing an updated version shortly after that. |
Fixed this and also got rid of the I am going to do some more tests tomorrow and then release an new version of |
@mikezaschka - in order to be on the save side in respect to future refactoring I recommend to replace the dependency |
@mikezaschka can you create a release with this adjustment? I'm trying my pg-beershop with the new cds-pg release but currently run into this issue when I try to deploy. |
@mikezaschka, I have same issue as Gregor |
Hi @mikezaschka, regarding this issue, Is there a release with a correction of this matter? |
With the following dependencies in package.json it works fine: p.s. make sure "^" is not present in the beginning of the version otherwise recent versions of packages will be downloaded. |
Having the same problem on SAP BAS. |
@mikezaschka any information when the postgres db can be used with the latest version of SAP CAP ? |
If you have the urgent need you have the option to hire @mikezaschka or invest your own time to bing it to work with the lastest CAP Version. If support from SAP is needed we can involve @ sjvans |
Hi @gregorwolf |
Hi @gregorwolf , Can you clarify who @sjvans is? ie full email address please, so that we can check with them this urgent issue? Thank you, Eman |
I will not provide you an email address. This is an open source project. If you have urgent issues you have either to wait, help yourself or reach out to the contributors if they can help on short term when you pay them. I've just updated the branch test-cds-5.6) of my pg-beershop. There I can now at least get the DB schema deployed to my local docker PostgreSQL instance. You have to make sure that this branch of cds-dbm and pg-beershop have the same main folder. Also make sure that you've built the cds-dbm typescript sources. |
Any word on the new release to resolve this issue? Thanks for all the hard work. |
Hi @ClarkDennison, the main branch is already updated with the latest @sap/cds reference and the issue is therefore fixed. We are waiting for @mikezaschka to release the new package on npm. In the meantime you can refer to this branch and compile the typescript library locally. Regards |
Description
When running
npx cds-dbm deploy
I am getting this error:@sap/cds/bin/build/buildTaskHandlerFactory
has probably been removed with a recent version of@sap/cds
.Dependencies
Versions
Thanks in advance for having a look at this!
The text was updated successfully, but these errors were encountered: