-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Expected Nothing" in all JSON files and NBT tags #1609
Comments
Could you run the |
Can you try resetting your project cache? You can do this by running the If this doesn't fix it, you can try the second option: Run the |
Resetting and Clearing the cache did not work. it all just tells me the same error agian |
Do you only have this issue with tags? Or also with other json files or NBT in mcfunctions? |
I'm only seeing it effect my Functions and Tags |
Happens to me as well, but only on one project I'm working on. Resetting the cache did not work. |
@Tschipcraft Thanks for the info! I still have very little idea what causes this. Could you try the following:
|
log.txt |
I tried, but same problems. My log: https://mclo.gs/7bZQUEa |
Were both of those logs from the first restart after following all those steps? Because I still see |
Yeah, I saw those in mine too. I had to restart VS Code for the extension to fully load after reinstalling. I could do it again and get the log right after if that's helpful |
Same with above |
For me it depends on how I open the datapack. If I open it a) directly or the datapack(s) and spyglass load fine for me. However, when I open the world folder with the Edit to add: spyglass output.txt For me all JSON files (advancements, recipes, item modifiers, loot tables, tags) are affected. As for commands, it seems that only those that include NBT data (summon, data, execute store storage), item components (item replace) or JSON text (title, tellraw) are affected by this issue. (not macro lines) Another issue that seems to come in tandem with this (as it's not there if the folder is loaded directly as described above), is that all my functions are unrecognized and thus a warning is shown: |
I keep getting "expected nothing" errors on all of my tags. from my knowledge these tags should be correct as they load perfectly fine in game.
The text was updated successfully, but these errors were encountered: