Hi, I'm trying to run the supertokens-core from my local system, it was running fine before, now it ...
v
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
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
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
im not sure.. we haven't ever run into this issue before. Can you restup and try again?
v
Yes, on it.
@rp_st looks like the config.yaml got messed up while building or something, correcting it fixed the issue. Thanks
r
cool
14 Views