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
I wanted to run the example Nuxt app and my expectation was that I can run yarn install either in the root folder or the example app folder, a then just go yarn dev and it would work. Instead, I got this error:
ERROR Failed to resolve entry for package "@fingerprintjs/fingerprintjs-pro-vue-v3". The package may have incorrect main/module/exports specified in its package.json: Failed to resolve entry for package "@fingerprintjs/fingerprintjs-pro-vue-v3". The package may have incorrect main/module/exports specified in its package.json.
That's because the example package.json refers to the package in the packages folder and assumes it's already built, which it is not.
Would it be possible to adjust the monorepo setup in a way where running yarn install or a different command in the root would install everything needed to run the examples, including building the SDKs? (assuming main inside SDK package.json must keep pointing to the dist folder).
Either way, we should add a short section to the README describing how to run the examples :) Thanks!
The text was updated successfully, but these errors were encountered:
Hi 👋
I wanted to run the example Nuxt app and my expectation was that I can run
yarn install
either in the root folder or the example app folder, a then just goyarn dev
and it would work. Instead, I got this error:ERROR Failed to resolve entry for package "@fingerprintjs/fingerprintjs-pro-vue-v3". The package may have incorrect main/module/exports specified in its package.json: Failed to resolve entry for package "@fingerprintjs/fingerprintjs-pro-vue-v3". The package may have incorrect main/module/exports specified in its package.json.
That's because the example
package.json
refers to the package in thepackages
folder and assumes it's already built, which it is not.Would it be possible to adjust the monorepo setup in a way where running
yarn install
or a different command in the root would install everything needed to run the examples, including building the SDKs? (assumingmain
inside SDK package.json must keep pointing to thedist
folder).Either way, we should add a short section to the README describing how to run the examples :) Thanks!
The text was updated successfully, but these errors were encountered: