Coder Social home page Coder Social logo

Comments (6)

tinesoft avatar tinesoft commented on May 26, 2024

Hi @ProfEibe ,

Thanks for using the plugin, and reporting the issue.
Can you please, provide all the parameters you set when generating the app? (i.e application name, build type, java version, etc)

from nxrocks.

ProfEibe avatar ProfEibe commented on May 26, 2024

This is the whole part in the console:

> Executing task: npx nx generate @nxrocks/nx-spring-boot:project --name=SGNennungen-Rest --artifactId=SGNennungen-Rest --dependencies=web --descriptionwarzgold --packageName=at.schwarzgold.sgnennungen.rest --no-interactive <

Downloading Spring Boot project zip from : https://start.spring.io/starter.zip?type=maven-project&language=java&name=SGNennungen-Rest&groupId=at.schwarzackageName=at.schwarzgold.sgnennungen.rest&javaVersion=11&packaging=jar&dependencies=web&description=SGNennungen-Rest...
Extracting Spring Boot project zip to 'C:\Users\Jakob\IdeaProjects\nennungen-rest/apps/sgnennungen-rest'...
The string contains invalid characters. 
The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command npx nx generate @nxrocks/nx-spring-boot:project --name=SGNennunRest --dependencies=web --description=SGNennungen-Rest --groupId=at.schwarzgold --packageName=at.schwarzgold.sgnennungen.rest --no-interactive" terminat

or like this in interactive mode:

C:\Users\Jakob\IdeaProjects\nennungen-rest>nx g @nxrocks/nx-spring-boot:new
√ What name would you like to use? · SGNennungen-Rest
√ What kind of project are you generating? · application
√ Which build system would you like to use? · maven-project
√ Which packaging would you like to use? · jar
√ Which version of Java would you like to use? · 11
√ Which language would you like to use? · java
√ What groupId would you like to use? · at.schwarzgold
√ What artifactId would you like to use? · SGNennungen-Rest
√ What package name would you like to use? · at.schwarzgold.sgnennungen
√ What is the project about? · SGNennungen-Rest
√ What dependencies would you like to use (comma separated)?
👉 Go to https://start.spring.io/dependencies to get the ids needed here · web
Downloading Spring Boot project zip from : https://start.spring.io/starter.zip?type=maven-project&language=java&name=SGNennungen-Rest&groupId=at.schwarzgold&artifactId=SGNennungen-Rest&packageName=at.schwarzgold.sgnennungen&javaVersion=11&packaging=jar&dependencies=web&description=SGNennungen-Rest...
Extracting Spring Boot project zip to 'C:\Users\Jakob\IdeaProjects\nennungen-rest/apps/sgnennungen-rest'...
The string contains invalid characters.

from nxrocks.

tinesoft avatar tinesoft commented on May 26, 2024

Thanks for the detailed log output.
Unfortunately, I cannot reproduce the issue with the parameters you provided...

Could you try generating an app without changing the default parameters of the generator (i.e by just pressing "Enter" at each prompt)? Also, what version of NodeJS are you using? (node --version)

from nxrocks.

ProfEibe avatar ProfEibe commented on May 26, 2024

Hm sadly the same problem.
Maybe it is, because the generated springboot-app would be the first in this repository?
Because creating one in an nx-workspace where already an angular-app exists is working without any error. But in an empty nx-workspace I get this error.

Node-Version is 16.14.2

from nxrocks.

tinesoft avatar tinesoft commented on May 26, 2024

I've just noticed you are using a version of Nx (v12) which is not compatible with current version of the nx-spring-boot plugin (v4). See compatibility matrix

Please update your Nx workspace and try again.

Closing the issue for now.

from nxrocks.

ProfEibe avatar ProfEibe commented on May 26, 2024

Oh... I'm sorry for bothering you. Should have seen this myself.
Maybe someone could build in a check with an speaking error message for this, but it was clearly my fault this time.

Thanks for your support.

from nxrocks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.