1. Incompatible pnpm versions
Vaadin wants pnpm versions in a determinate range. So DO NOT install pnpm. Vaadin will install it for you.
2. pnpm fails when downloading resources
2.1 See previous error (1)
2.2 Delete these files from the main folder of the project:
- package.json
- pnpmfile.js
- pnpm-lock.yaml
- {}tsconfig.json
- types.d.ts
- webpack.config.js
- webpack.generated.js
- mode_modules (folder)
2.3 reset the project as follows:
2.3.1 Select the parent project and Run As - Maven Clean
2.3.2 Select the parent project and Maven - Update Project
2.3.3 Select the parent project and Run As - Maven Build .. - and goals: "clean package" and profiles: "production"
2.3.4. Select the vaadin (child) project and Run As - Maven Clean
2.3.5 Select the vaadin (child) project and Maven - Update Project (select all the project that is a dependant)
3. Errors in some json files in the node_modules folder
These errors are causes by comments and duplicate assignments of parameters.
Modify these files and remove commends and duplicated assignments
4. Java 14.!!!!
There can be some problems in Eclipse using Java 14+. see My Spanish blog Informatica Dantesca.
5. @Push annotation and Vaadin 17.0.x
The @Push annotation does not work still in Vaadin 17.0.1 unless you use it in the appropriate class. It is a problem with new versions. It should be used in another class. See the previous post
No hay comentarios:
Publicar un comentario