The current parser options have source maps disabled.
Without those, it's not possible to generate document symbol.
This extensions requires source maps in order to compute symbols presence and their location. This feature is usually enabled by default when installing the extension. If for some reason you're getting this error, it means they are not getting generated.
The option driving the generation is configurable in VSCode. Make sure the option is not being overridden in your user or workspace settings