SalesforceCommerceCloud / b2c-crm-sync

... a contemporary perspective on how to integrate B2C Commerce and the Salesforce Customer 360 Platform to power frictionless customer experiences in the B2C domain.
https://salesforcecommercecloud.github.io/b2c-crm-sync/
BSD 3-Clause "New" or "Revised" License
65 stars 45 forks source link

[BUG] Cannot find module './_createOCAPIAuthRequestDef' #224

Closed L4v closed 1 year ago

L4v commented 1 year ago

Describe the bug When running npm run crm-sync:test:cli the script fails saying: Error: Cannot find module './_createOCAPIAuthRequestDef' This is due to the file in lib/_common/request being named _createOCAPIAUthRequestDef.js (notice the capital 'U')

To Reproduce Steps to reproduce the behavior:

  1. Go to project root
  2. Run npm run crm-sync:test:cli
  3. See error

Expected behavior Expected to see test results

Screenshots image

Your local environment details:

Your remote environment details:

Fix Renaming lib/_common/request/_createOCAPIAUthRequestDef.js to lib/_common/request/_createOCAPIAuthRequestDef.js

jbachelet commented 1 year ago

Hello,

Thanks for opening the issue. I fixed this into the develop version and will release the fix into the v3.0.3 version.

Closing this issue.