Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package.json -> 'main' is not correct #37

Open
herkemer2 opened this issue May 22, 2020 · 1 comment
Open

package.json -> 'main' is not correct #37

herkemer2 opened this issue May 22, 2020 · 1 comment

Comments

@herkemer2
Copy link

I believe the location listed under main in your package.json is incorrect. It is listed as "index.jsx", but should be listed as "src/index.jsx". This error was noted in the process to upload to Cognigy. After making this update I could upload to Cognigy without errors.

@alexteusz
Copy link
Member

Hi @herkemer2,

We recommend using the following source: "main": "build/plugin.js",. Since we are using parcel as a builder, the built information will be stored in the build/ folder. Please have a look at the following module: https://github.com/Cognigy/WebchatPlugins/blob/master/plugins/rating/package.json

Thank you for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants