You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After some digging, I found this commit in a merged Rollup PR stating that imports are case sensitive.
Thus, it seems that because the import statement reads ./Crypto instead of ./crypto, the Rollup error is triggered.
I was able to work around this by using patch-package to fix the casing in the import statement.
To be honest, I'm not sure if this error is a non-issue from Clerk's side (perhaps there's a Rollup setting I overlooked) but hopefully this can help anyone else dealing with the same issue.
If this is a valid oversight from Clerk's side, let me know and I'll submit a PR request :)
The text was updated successfully, but these errors were encountered:
Package + Version
@clerk/clerk-js
@clerk/clerk-react
@clerk/nextjs
@clerk/remix
@clerk/types
@clerk/themes
@clerk/clerk-expo
@clerk/backend-core
@clerk/clerk-sdk-node
@clerk/edge
Version:
Description
Rollup consistently returned the following message from a GitHub Actions job:
Error: Could not resolve './Crypto' from node_modules/@clerk/clerk-sdk-node/esm/utils/index.js
Due to the following import statement:
The file structure for the issue is as follows:
After some digging, I found this commit in a merged Rollup PR stating that imports are case sensitive.
Thus, it seems that because the import statement reads
./Crypto
instead of./crypto
, the Rollup error is triggered.I was able to work around this by using patch-package to fix the casing in the import statement.
To be honest, I'm not sure if this error is a non-issue from Clerk's side (perhaps there's a Rollup setting I overlooked) but hopefully this can help anyone else dealing with the same issue.
If this is a valid oversight from Clerk's side, let me know and I'll submit a PR request :)
The text was updated successfully, but these errors were encountered: