spinframework / spinframework/spin

Component-type version 3 does not match supported version 2

Open
#1,693 4 comments 0 reactions 1 assignee View on GitHub

@rylev is already working on this.

Since Aug 21, 2023.

enhancement
Dominant language
Rust
Stars
6.5k
Forks
310
Avg merge
1d 20h
Merged PRs (30d)
24

Description

In reference to trying and spin up'ing this app: github.com/mikkelhegn/redirect

What's causing this error in Spin?

spin build works fine.

When I do spin up, I see the following error:

sohan@Sohans-MBP redirect % spin up
Logging component stdio to ".spin/logs/"
Storing default key-value data to ".spin/sqlite_key_value.db"
Error: Failed to instantiate component 'api'

Caused by:
    0: decoding custom section component-type:reactor
    1: component-type version 3 does not match supported version 2
Error: exit status: 1

Am I missing something in setup? wasn't able to debug

Originally posted by @sohanmaheshwar in https://github.com/fermyon/developer/issues/779#issuecomment-1677608525

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.