npwd icon indicating copy to clipboard operation
npwd copied to clipboard

Warning could not find client_script/server_script

Open kylepearson97 opened this issue 2 years ago • 5 comments

Development Issue

Yes

Phone Version

1.7.0

Issue Description

So upon following the installation guide, when ever I restart my server (hosted via zap-hosting) I get these warnings from NPWD

image

In game the phone doesn't load but in my database, my character does have a phone number etc.

Any advice? Everything else dependency-wise seems to be loading fine

A bit more context, I am trying to integrate this with the ESX framework

Issue Reproduction

Restarting my server

Evidence

No response

kylepearson97 avatar Apr 19 '23 22:04 kylepearson97

The build-detector.js warning is expected, it isn't included on compiled builds

server_script {
	-- This is a file that lives purely in source code and isn't compiled alongside
	-- rest of the release. It's used to detect whether a user can read or not.
	"build-detector.js",
	"resources/dist/server/server.js",
}

However the other error with the manifest is weird, as we don't have apps/game/client/*.lua anywhere in the fxmanifest, can you try re-downloading the latest release and completely delete your old folder.

AvarianKnight avatar Apr 25 '23 01:04 AvarianKnight

I have this too. Anyone got a fix? https://gyazo.com/d711f0d22cecf90c4c25860af1328a4f

Jxsnn27 avatar Jun 30 '23 18:06 Jxsnn27

Hello All, I just install the npwd per the instructions(compiled zip) and I am also receiving the above warning. One thing I did not install was pre-core since I am using EXS Legacy. Any help would be greatly appreciated.

karephre avatar Aug 01 '23 18:08 karephre

The latest release doesn't come with the apps/ directory (not sure that it should've), but taking it from the repo and dropping it in silenced the apps/game/client/*.lua error.

maejok-xx avatar Sep 02 '23 07:09 maejok-xx

I have similar issue with npwd over QB-Core and I cannot run at all. Everytime is stop to isphonevisible in client and for server it's said like this: SCRIPT ERROR: @qb-npwd/server.lua:1: No such export GetCoreObject in resource qb-core

shawny43 avatar Oct 18 '23 14:10 shawny43