Comments (5)
Probably same issue, but I get different error:
dfx.json:
{
"version": 1,
"canisters": {
"staging": {
"type": "motoko",
"main": "src/main.mo",
"declarations": {
"output": "declarations/main"
},
"dependencies": [
"ledger"
]
},
"ledger": {
"type": "custom",
"wasm": "./declarations/ledger/ledger.wasm",
"candid": "./declarations/ledger/ledger.private.did",
"remote": {
"candid": "./declarations/ledger/ledger.public.did",
"id": {
"ic": "ryjl3-tyaaa-aaaaa-aaaba-cai"
}
}
},
"production": {
"type": "motoko",
"main": "src/main.mo",
"dependencies": [
"ledger"
]
}
},
"defaults": {
"build": {
"packtool": "vessel sources",
"args": "--trap-on-call-error"
}
}
}
dfx deploy works well
from vscode-motoko.
@rvanasa seems like the .dfx/local/lsp
files don't get updated when you deploy a canister using --mode reinstall
.
steps to reproduce:
- deploy ledger with private did
- update
dfx.json
to public did - deploy ledger dependent canister with
--mode reinstall
- above error message is shown
from vscode-motoko.
sure :)
from vscode-motoko.
Thank you for all these bug reports! I will include this in the backlog for the next time I get a chance to improve the extension (currently juggling a lot of projects).
If anyone else encounters this issue, please feel free to +1 this issue so I can get a sense for how this should be prioritized. Thanks!
from vscode-motoko.
Thanks for the repro; this appears to be directly caused by the issue tracked in dfinity/sdk#2996, dfinity/sdk#2969, and SDK-1019. Would it be okay if I closed this to help consolidate the conversation?
from vscode-motoko.
Related Issues (20)
- 100% CPU load with this extension HOT 10
- Do you support showing an outline? HOT 1
- performance improvements HOT 8
- extension don't see mops packages HOT 8
- multi line strings HOT 2
- keyword `catch` is not highlighted HOT 1
- [Request] Please add option to disable context menu "Motoko: Deploy (20 Minutes)" HOT 2
- How to disable autoformating of comments? HOT 3
- Import can't find files HOT 9
- Continuous "Reference not found from AST node:" errors HOT 5
- Motoko deploy command ERROR HOT 2
- No wigglies on https://github.dev HOT 2
- No wigglies on https://github.dev HOT 1
- management canister did file not found HOT 7
- Language server not working/Heap out of memory HOT 8
- Error while importing a canister HOT 19
- Cannot find module '@napi-rs/lzma-linux-x64-gnu' in WSL HOT 2
- Autocomplete non-functional. HOT 2
- Feature Request: Data type on variable hover HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-motoko.