Hi, I'm trying to run the supertokens-core from my local system, it was running fine before, now it is throwing this error.
Copy code
What caused the crash: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of `io.supertokens.config.CoreConfig` (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('git update-index --skip-worktree modules.txt git update-index --skip-worktree settings.gradle git update-index --skip-worktree .idea/runConfigurations/CLI_Main.xml git update-index --skip-worktree .idea/compiler.xml git update-index --skip-worktree .idea/vcs.xml
prefix=`./utils/project-prefix`
url=https://bitbucket.org/vrai-labs if [[ $1 = "--ssh" ]] then url=git@bitbucket.org:vrai-labs fi
if [ $prefix == "supertokens" ]; then')
at [Source: (File); line: 4, column: 1]
I'm using this command,
Copy code
java -classpath "./core/*:./plugin-interface/*:./ee/*" io.supertokens.Main ./ DEV
r
rp_st
04/24/2023, 6:39 AM
hey @vigneshkumar5238 where you are running the java command from? Have you run the
startTestingEnv --wait
on another terminal? Have you copied the config file into the supertokens-root dir?
v
vigneshkumar5238
04/24/2023, 7:01 AM
Yes. the
startTestingEnv --wait
is running in the other terminal and config file is also copied. I'm trying to run this from the supertokens-root directory
r
rp_st
04/24/2023, 7:29 AM
im not sure.. we haven't ever run into this issue before. Can you restup and try again?
v
vigneshkumar5238
04/24/2023, 8:14 AM
Yes, on it.
vigneshkumar5238
04/24/2023, 9:54 AM
@rp_st looks like the config.yaml got messed up while building or something, correcting it fixed the issue. Thanks
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).