microsoft / microsoft/arcade-sprite-data

invalid upgrade rule

Open
#6 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
7
Forks
9
Avg merge
21d 21h
Merged PRs (30d)
1

Description

I'm getting this error in the github actions and locally when using this plugin.
I'm not sure if it's this plugin or something with pxt itself, although other dependencies like arcade-background-scroll seems to work fine.

Run:

npm add -g pxt 
pxt target arcade
pxt clean
pxt install

You will see the following error, it seems like a parsing issue "min:v0.0.6"

Using target arcade with build engine codal
  target: v2.0.59 
  pxt-core: v11.3.63 
installing dependencies...
invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> m
invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> i
invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> n
invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> :
invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> v
invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> 0
invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> .
invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> 0
invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> .
invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> 6
Downloading microsoft/arcade-background-scroll/v0.1.2 -> 941e0a3afee4cd4097c1f9853a9ee7299622c7e5
Downloading microsoft/arcade-timers/v1.1.0 -> f378fb8b9b7fadb4ad1a38ca91ada5f9b4efdf4c
Downloading microsoft/arcade-sprite-data/v0.2.1 -> 61a8caa503dcd83a192d935f6251f61013d60848

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Reproduce the issue with the listed npm and pxt commands, then inspect the dependency installation and upgrade-rule handling that emits the invalid-rule messages. Compare the plugin behavior with the working arcade-background-scroll dependency; done means installation completes without the character-by-character upgrade-rule errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.