Getting the below error when running my first hello world?
The package cache c:\Users\adam.ONSITE\Documents\\./.alpackages could not be found.
Help much appreciated
Try to execute Clear Editor History from command palette and download symbols again.
No joy with the above I'm afraid
Nothing also using AL:Clear Credential Cache?
I have this exact same error and nothing seems to work. I tried it on 2 different machines (thinking the problem could be with user rights)
Clear Credential Cache and Clear Edit History also doesn't work unfortunately. Any suggestions ?
Did you download the symbols ?
Try running the AL:Download Symbols.
Unfortunately no clear commands are working, error received below:
code NotFound. Reason: No published package matches the provided arguments.
[2019-06-09 21:43:32.19] Could not download reference symbols. Please ensure that:
1. The correct server name and instance are specified in the launch.json file.
2. The correct application version is specified in the app.json file.
3. The dependencies are correctly specified in the app.json file.
Is this an online sandbox, a Docker-based sandbox or a local environment? I suspect an error on your configuration because I’ve always fixed this VS Code error with the above solutions. Please post environment details and launch.json.
Check your server name and instance in launch.json. You might be looking at the wrong server.
This is my current file:
"name": "Microsoft cloud sandbox",
I finally could figure out the issue while facing the same error. There were two instances created on my machine. and the launch file was connecting the wrong instance. I have an on premise installation. I corrected the launch file and I could download the symbols. The /.alpackages folder was also created. Maybe some issue with the severinstance in the launch file ?
Are you using cloud sandbox or On-Premise ?
It's the cloud sandbox version.
Where can I locate the launch file?
Under the .vscode folder in your AL files.
Try to use Tenant parameter to specify your tenant
Business Applications communities