ar-cutpaste
ar-cutpaste copied to clipboard
Pasting - Syntax Error
Hey, I'm getting a syntax error as shown below, while pasting the image, seems like everything was going smoothly until the last step which is pasting on PS. NOTE : pictures received in /server/ NOTE : I don't see the picture when i copy . EDIT: getting this error when i do and do not pointing the camera to the photoshop document.
Thanks for help !
Logs :
Cut
undefined
> taking image...
update
> resizing...
> sending to /cut...
> converting...
Done in 1.931s
Paste
> taking image...
update
> resizing...
> sending to /paste...
Done in 4.428s
**error pasting:, [SyntaxError: JSON Parse error: Unrecognized token '<']**
- node_modules\react-native\Libraries\YellowBox\YellowBox.js:63:8 in console.error
* http://192.168.1.2:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:105013:24 in error
* App.tsx:102:2 in paste
- node_modules\regenerator-runtime\runtime.js:45:44 in tryCatch
- node_modules\regenerator-runtime\runtime.js:274:30 in invoke
- node_modules\regenerator-runtime\runtime.js:45:44 in tryCatch
- node_modules\regenerator-runtime\runtime.js:135:28 in invoke
- node_modules\regenerator-runtime\runtime.js:147:19 in PromiseImpl.resolve.then$argument_1
- node_modules\promise\setimmediate\core.js:5:0 in noop
- node_modules\promise\setimmediate\core.js:110:1 in <global>
- node_modules\react-native\Libraries\Core\Timers\JSTimers.js:146:14 in _callTimer
- node_modules\react-native\Libraries\Core\Timers\JSTimers.js:194:17 in _callImmediatesPass
- node_modules\react-native\Libraries\Core\Timers\JSTimers.js:458:30 in callImmediates
* [native code]:null in callImmediates
- node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:407:6 in __callImmediates
- node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:143:6 in __guard$argument_0
- node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:384:10 in __guard
- node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:142:17 in __guard$argument_0
* [native code]:null in flushedQueue
* [native code]:null in invokeCallbackAndReturnFlushedQueue
also how do i change those settings in PS ?
SCREEN_PIXELS_DENSITY = 2 DOC_OFFSET_X = 74 * SCREEN_PIXELS_DENSITY DOC_OFFSET_Y = 130 * SCREEN_PIXELS_DENSITY
also how do i change those settings in PS ?
SCREEN_PIXELS_DENSITY = 2 DOC_OFFSET_X = 74 * SCREEN_PIXELS_DENSITY DOC_OFFSET_Y = 130 * SCREEN_PIXELS_DENSITY
Same question. Please someone help us!
#24
you can find the answer from here,i using windows 10 + android + localhost