project-error / npwd

NPWD is a FiveM phone resource written entirely in TypeScript and React.
https://projecterror.dev
Other
336 stars 277 forks source link

Bug: import.sql is not working #1089

Open InvalidLenni opened 8 months ago

InvalidLenni commented 8 months ago

Development Issue

Yes

Phone Version

latest

Issue Description

Hello guys,

if I'm trying to run the import.sql file, it's not working. With weird errors.

./import.sql: line 14: npwd_twitter_profiles: command not found
./import.sql: line 14: CREATE: command not found
./import.sql: line 17: syntax error near unexpected token `('
./import.sql: line 17: `    `profile_name` varchar(90) NOT NULL,'

Therefore because of permission denied error, I used chmod +x import.sql.

Issue Reproduction

  1. Go to 'npwd'
  2. Run 'import.sql'
  3. See error

Evidence

No response

itschip commented 8 months ago

Interesting. There is nothing odd with the syntax or file itself.