Closed sawaca96 closed 9 months ago
I think it's because of the monorepo.
If you look at the function in the link above
function is looking for package.json in ../node_modules
, but it's actually a monorepo, so I think it should be in ../../../node_modules
.
I make PR https://github.com/AppsFlyerSDK/appsflyer-capacitor-plugin/pull/104
check this please ๐
In case you are using nx
you can work your way around that using "nohoist"
inside of the "workspaces"
declaration in your global-level packages.json
. There you can put the path to your app which moves the node_modules
for this one from the global level to the workspace-level.
O-ha....!
@paulisch Thanks๐ I will try
Hey @sawaca96 Can you please try this alpha version and let us know if it solves the issue for you?
npm install appsflyer-capacitor-plugin@6.12.1-alpha-monorepo
I have the exact same problem so I will try version 6.12.1-alpha-monorepo
That version worked fine thankyou
I works me too thanks! ๐
Report
Plugin Version
On what Platform are you having the issue?
android
What did you do?
What did you expect to happen?
no error raised
What happened instead?
below error raised
Please provide any other relevant information.
When I was using version
~6.9.2
, I had no problem, but when I modified the version to~6.12.1
while doing capacitor5 migrate, I got this error.