Ask a question about the deployment of a project.

when testing the project locally, the younger brother did not report any errors, including the normal use of the local background, but put the project on the server, after port 8000, the front end reported an error

Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0
    at VM27 index.js:1
    at <anonymous>

I don"t know, so I have one more thing to ask you. Do you need to uninstall this plug-in when you use a proxy plug-in, npm build when you package it due to cross-domain problems when you are local?

Apr.03,2021

is there a problem of requesting backend data that looks like the returned data is cross-domain?


No, plug-ins are placed under dev dependencies

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37a40-2b5f9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37a40-2b5f9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?