altmp/altv-js-module

Confusing `alt:` import error

xxshady opened this issue · 4 comments

Description of the problem

If you import a resource that does not exist, you will get this confusing error:
изображение

Reproduction steps

import awdawdawdjfds from "alt:addgjdfgkjdkfggdfg"

Expected behaviour

Error should tell you that such resource does not exist

Additional context

No response

Operating system

Windows 11

Version

14.0-rc3

Scope

server

Reproduction tested

  • I confirm that I have made sure that this issue is also present on the newest dev version

imo that's pretty obvious 🤷‍♂️

for me it's not

I have the same problem

Fixed