# Can't publish package

**URL:** <https://forums.sui.io/t/cant-publish-package/45558>\
**Category:** SDK\
**Created:** [May 11, 2024, 7:59am UTC](https://forums.sui.io/t/cant-publish-package/45558 "2024-05-11T07:59:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fomotoshi](https://dub1.discourse-cdn.com/sui/user_avatar/forums.sui.io/fomotoshi/32/30774_2.png) [@fomotoshi](https://forums.sui.io/u/fomotoshi)\
**Post date:** [May 11, 2024, 7:59am UTC](https://forums.sui.io/t/cant-publish-package/45558/1 "2024-05-11T07:59:57Z")

</div>

Hi, I get error when I try to publish my second contract.

```auto
BUILDING BobContract
Failed to publish the Move module(s), reason: [warning] Local version of dependency a99fbab1ed9aad696819562b070cecfb1d5b13e077b83bb29004ebe965cdbedb::alice_contract was not found.

This may indicate that the on-chain version(s) of your package's dependencies may behave differently than the source version(s) your package was built against.

```

`alice_contract` has been published and this is the same with the source package on the github and local.  
you can find it in devnet network: `a99fbab1ed9aad696819562b070cecfb1d5b13e077b83bb29004ebe965cdbedb`

```toml
[dependencies]
Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "framework/testnet" }
AliceContract = { git = "git@github.com:ChzenChzen/alice_contract.git", rev = "main" }

```

help me to solve it please
