playcanvas / playcanvas-sync

Real-time synchronization of files between PlayCanvas and your local machine
https://playcanvas.com/
MIT License
75 stars 19 forks source link

PCWatch can duplicate files and show weird behavior #12

Closed yorschor closed 3 years ago

yorschor commented 4 years ago

PCWatch once duplicated the ammo folder and its scripts as well as 3 other script files in various places. The console output showed PCWatch updating seemingly random files every second without me changing the file. This only happend once to me. Still a bit scary ^^

yorschor commented 4 years ago

Here is a example of pcWatch updating random files. My machine was generally in idle when this happened, though chrome, ChromiumEdge, VS Code and Windows Explorer were opened.

PS C:\Users\myUserFolder\Desktop\ha150> pcwatch --force    
PLAYCANVAS_TARGET_DIR: C:\Users\myUserFolder\Desktop\ha150
PLAYCANVAS_BRANCH_ID: myBranchID
Started
Updated Scripts/GameSpecific/Scenes/Root/Gui/Btn_ChangeScene_Playmode.js
Updated Scripts/GameSpecific/Scenes/Root/Gui/Btn_ChangeScene_Playmode.js
Updated Scripts/GameSpecific/Scenes/Root/Gui/Btn_ChangeScene_Playmode.js
Updated Scripts/GameSpecific/Scenes/Root/Gui/Btn_ChangeScene_Playmode.js
Updated Scripts/GameSpecific/Scenes/LevelEditor/LE_Utility.js
Updated Scripts/GameSpecific/Scenes/LevelEditor/LE_Utility.js
Updated Scripts/GameSpecific/Scenes/LevelEditor/LE_Utility.js
Updated Scripts/GameSpecific/Scenes/LevelEditor/LE_Utility.js
Updated Scripts/GameSpecific/Scenes/LevelEditor/LE_Utility.js
Updated Scripts/GameSpecific/Scenes/LevelEditor/LE_Utility.js
Updated Scripts/GameSpecific/Scenes/LevelEditor/LE_Utility.js
Updated Scripts/GameSpecific/Scenes/LevelEditor/UI/btn_LE_Event.js
Updated Scripts/GameSpecific/Scenes/LevelEditor/UI/btn_LE_Event.js
Updated Scripts/GameSpecific/Scenes/LevelEditor/UI/btn_LE_Event.js
Updated Scripts/GameSpecific/Scenes/LevelEditor/UI/btn_LE_Event.js
Updated Scripts/GameSpecific/Scenes/Shared/Serialization/PartsLoader.js
Updated Scripts/GameSpecific/Scenes/Shared/Tutorials/TutorialManager.js
(node:15904) UnhandledPromiseRejectionWarning: RequestError: Error: form-data: EISDIR: illegal operation on a directory, read
    at new RequestError (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request-promise-core\lib\errors.js:14:15)
    at Request.plumbing.callback (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request-promise-core\lib\plumbing.js:87:29)
    at Request.RP$callback [as _callback] (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request-promise-core\lib\plumbing.js:46:31)    
    at self.callback (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request\request.js:185:22)
    at Request.emit (events.js:327:22)
    at FormData.<anonymous> (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request\request.js:1254:10)
    at FormData.emit (events.js:327:22)
    at FormData.CombinedStream._emitError (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\combined-stream\lib\combined_stream.js:207:8)  
    at DelayedStream.<anonymous> (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\combined-stream\lib\combined_stream.js:133:10)
    at DelayedStream.emit (events.js:327:22)
(node:15904) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 
1)
(node:15904) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Updated Scripts/GameSpecific/Scenes/Shared/Tutorials/Components/ITutorial.js
Updated Scripts/GameSpecific/Scenes/Shared/Tutorials/Components/Tutorial_RegionMapSwipe.js
Updated Scripts/GameSpecific/Scenes/Shared/Tutorials/Lockables/ITutorialLockable.js
Updated Scripts/GameSpecific/Scenes/Shared/Tutorials/StateMachine/StateMachine.js
Updated Scripts/GameSpecific/Scenes/Shared/Tutorials/Components/IDialogTutorial.js
Updated Scripts/GameSpecific/Scenes/Shared/Tutorials/States/IState.js
Updated Scripts/Shaders/scrollTest.js
Updated Scripts/GameSpecific/Scenes/Shared/Tutorials/Components/Tutorial_MoveMarble.js
Updated Scripts/Stencil/StencilMask.js
Updated Scripts/GameSpecific/Scenes/Shared/Tutorials/Trigger/IStateTrigger.js
(node:15904) UnhandledPromiseRejectionWarning: RequestError: Error: form-data: EISDIR: illegal operation on a directory, read
    at new RequestError (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request-promise-core\lib\errors.js:14:15)
    at Request.plumbing.callback (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request-promise-core\lib\plumbing.js:87:29)
    at Request.RP$callback [as _callback] (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request-promise-core\lib\plumbing.js:46:31)    
    at self.callback (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request\request.js:185:22)
    at Request.emit (events.js:327:22)
    at FormData.<anonymous> (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request\request.js:1254:10)
    at FormData.emit (events.js:327:22)
    at FormData.CombinedStream._emitError (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\combined-stream\lib\combined_stream.js:207:8)  
    at DelayedStream.<anonymous> (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\combined-stream\lib\combined_stream.js:133:10)
    at DelayedStream.emit (events.js:327:22)
(node:15904) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 
2)
Updated Scripts/Stencil/insidePortal.js
Updated Scripts/GameSpecific/Scenes/Shared/Tutorials/States/State_Game.js
Updated Scripts/Stencil/MaskedByStencil.js
Updated Scripts/GameSpecific/Scenes/Shared/Tutorials/Trigger/Trigger_Click.js
Updated Scripts/Stencil/outsidePortal.js
Updated Scripts/GameSpecific/Scenes/Shared/Tutorials/States/State_Tutorial.js
Updated Scripts/Stencil/portal.js
Updated Scripts/GameSpecific/Scenes/Shared/Tutorials/Trigger/Trigger_Event.js
Updated Scripts/Template/Core/CloudBuild/CloudBuild_Configuration.js
Updated Scripts/GameSpecific/Scenes/Shared/Tutorials/Trigger/Trigger_Swipe.js
Updated Scripts/Template/Core/GUI/Buttons/Behaviours/IBtn_Behaviour.js
Updated Scripts/Template/Core/Audio/AudioManager.js
Updated Scripts/GameSpecific/Scenes/Shared/UI/Btn_ChangeToPreviousScene.js
Updated Scripts/Template/Core/CloudBuild/CloudBuild_Localization.js
Updated Scripts/Template/Core/GUI/Buttons/Behaviours/Btn_ResetGame.js
Updated Scripts/GameSpecific/Scenes/Shared/UI/TabSystem/TabGroup.js
Updated Scripts/Template/Core/CloudBuild/VersionNumber.js
Updated Scripts/Template/Core/GUI/Buttons/Behaviours/Btn_ToggleText.js
Updated Scripts/GameSpecific/Scenes/Shared/Tutorials/Trigger/Trigger_Timed.js
(node:15904) UnhandledPromiseRejectionWarning: RequestError: Error: form-data: EISDIR: illegal operation on a directory, read
    at new RequestError (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request-promise-core\lib\errors.js:14:15)
    at Request.plumbing.callback (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request-promise-core\lib\plumbing.js:87:29)
    at Request.RP$callback [as _callback] (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request-promise-core\lib\plumbing.js:46:31)    
    at self.callback (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request\request.js:185:22)
    at Request.emit (events.js:327:22)
    at FormData.<anonymous> (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request\request.js:1254:10)
    at FormData.emit (events.js:327:22)
    at FormData.CombinedStream._emitError (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\combined-stream\lib\combined_stream.js:207:8)  
    at DelayedStream.<anonymous> (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\combined-stream\lib\combined_stream.js:133:10)
    at DelayedStream.emit (events.js:327:22)
(node:15904) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 
3)
Updated Scripts/Template/Core/GUI/Tutorial/TutorialSwipeHandController.js
Updated Scripts/Template/Core/CloudBuild/CloudBuild_Utility.js
Updated Scripts/Template/Core/GUI/Tutorial/TutorialTapHandController.js
Updated Scripts/Template/Core/Constants/Const_ColorCode.js
Updated Scripts/Template/Core/InputInteraction/InteractionEvent.js
Updated Scripts/Template/Core/Extensions/RdxMath.js
Updated Scripts/Template/Core/InputInteraction/Interactions/IInteraction.js
Updated Scripts/Template/Core/Extensions/RdxUtility.js
Updated Scripts/Template/Core/InputInteraction/Interactions/Interaction_ChangeScene.js
Updated Scripts/Template/Core/Extensions/RdxArray.js
Updated Scripts/Template/Core/InputInteraction/Interactions/Interaction_DragAndDrop.js
Updated Scripts/Template/Core/Extensions/RdxRandomPool.js
Updated Scripts/GameSpecific/PermanentLogic/HTML Wrapper/Button Behaviours/btn_Login.js
Updated Scripts/Template/Core/InputInteraction/Interactions/Interaction_Draggable.js
Updated Scripts/Template/Core/Extensions/PC/RdxPrintHierarchy.js
Updated Scripts/GameSpecific/PermanentLogic/HTML Wrapper/Button Behaviours/btn_SettingsMenu.js
Updated Scripts/Template/Core/InputInteraction/Interaction_Controller.js
Updated Scripts/Template/Core/Extensions/PC/RdxTimings.js
Updated Scripts/GameSpecific/PermanentLogic/HTML Wrapper/Button Behaviours/btn_Register.js
Updated Scripts/Template/Core/GUI/Buttons/Button_Controller.js
Updated Scripts/Template/Core/LoadingScreen/LoadingScreen.js
Updated Scripts/GameSpecific/PermanentLogic/HTML Wrapper/Button Behaviours/btn_Logout.js
Updated Scripts/Template/Core/GUI/ModalDialog.js
Updated Scripts/Template/Core/SceneTransition/AutoSceneTransition.js
Updated Scripts/GameSpecific/PermanentLogic/HTML Wrapper/Button Behaviours/btn_ShowTeam.js
Updated Scripts/Template/Core/GUI/Buttons/Behaviours/Btn_BuyCosmetic.js
Updated Scripts/GameSpecific/PermanentLogic/Marble/MarbleRig.js
Updated Scripts/Template/Core/SceneTransition/LoadAdditiveScenes.js
Updated Scripts/Template/Core/GUI/Buttons/Behaviours/Btn_ChangeScene.js
Updated Scripts/GameSpecific/PermanentLogic/OfflineStorage/IOfflineStoreable.js
Updated Scripts/Template/Core/GUI/Buttons/Behaviours/Btn_ChangeTab.js
Updated Scripts/Template/Core/SceneTransition/SceneLoadingManager.js
Updated Scripts/GameSpecific/PermanentLogic/Marble/CustomizationController.js
Updated Scripts/Template/Core/GUI/Buttons/Behaviours/Btn_ClickSound.js
Updated Scripts/Template/Core/SceneTransition/Transition_Controller.js
Updated Scripts/GameSpecific/Scenes/HelixJump/LevelParts/Helix_PlatformCollider.js
Updated Scripts/GameSpecific/Scenes/Customization/AccessoryCosmetic.js
Updated Scripts/Template/Core/GUI/Buttons/Behaviours/Btn_CloseDialog.js
Updated Scripts/scrolling-texture.js
Updated Scripts/GameSpecific/Scenes/HelixJump/Score/Helix_Score.js
Updated Scripts/Template/Core/GUI/Buttons/Behaviours/Btn_Cosmetic.js
Updated Scripts/GameSpecific/Scenes/Customization/CosmeticManager.js
Updated Scripts/GameSpecific/PermanentLogic/AssetLoadingManager.js
Updated Scripts/GameSpecific/Scenes/Level/RegularMarbleController.js
Updated Scripts/Template/Core/GUI/Buttons/Behaviours/Btn_MuteGame.js
Updated Scripts/GameSpecific/Scenes/Customization/DynamicCustomizationLayout.js
Updated Scripts/Template/Core/InputInteraction/InteractionManager.js
Updated Scripts/GameSpecific/Scenes/Level/AlphaMilestone_TempScripts/TrackPartInitialization.js
Updated Scripts/GameSpecific/Scenes/Customization/CustomizationTabController.js
Updated Scripts/Template/Core/GUI/Buttons/Behaviours/Btn_OnButtonClicked.js
Updated Scripts/GameSpecific/PermanentLogic/GameMaster.js
Updated Scripts/GameSpecific/Scenes/Customization/GUICustomization.js
Updated Scripts/GameSpecific/Scenes/Level/Camera/CameraTrigger.js
Updated Scripts/Template/Core/GUI/Buttons/Behaviours/Btn_PlayLipsync.js
Updated Scripts/GameSpecific/PermanentLogic/LocalizationManager.js
Updated Scripts/GameSpecific/Scenes/Level/Camera/FollowEntity.js
Updated Scripts/Template/Core/GUI/Buttons/Behaviours/Btn_Pulse.js
(node:15904) UnhandledPromiseRejectionWarning: RequestError: Error: form-data: EISDIR: illegal operation on a directory, read
    at new RequestError (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request-promise-core\lib\errors.js:14:15)
    at Request.plumbing.callback (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request-promise-core\lib\plumbing.js:87:29)
    at Request.RP$callback [as _callback] (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request-promise-core\lib\plumbing.js:46:31)    
    at self.callback (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request\request.js:185:22)
    at Request.emit (events.js:327:22)
    at FormData.<anonymous> (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request\request.js:1254:10)
    at FormData.emit (events.js:327:22)
    at FormData.CombinedStream._emitError (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\combined-stream\lib\combined_stream.js:207:8)  
    at DelayedStream.<anonymous> (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\combined-stream\lib\combined_stream.js:133:10)
    at DelayedStream.emit (events.js:327:22)
(node:15904) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 
4)
Updated Scripts/GameSpecific/Scenes/Customization/HatCosmetic.js
Updated Scripts/GameSpecific/PermanentLogic/SettingsManager.js
Updated Scripts/GameSpecific/Scenes/Level/Camera/TweenAnimations/ChangeDistanceAnimationAsset.js
Updated Scripts/GameSpecific/Scenes/Customization/ICosmetic.js
Updated Scripts/GameSpecific/PermanentLogic/HTML Wrapper/Authentication.js
Updated Scripts/GameSpecific/Scenes/Level/Camera/TweenAnimations/InstantResetAnimationAsset.js
Updated Scripts/GameSpecific/Scenes/Customization/SkinCosmetic.js
Updated Scripts/GameSpecific/Scenes/Level/Camera/TweenAnimations/MoveViewToTargetAnimationAsset.js
Updated Scripts/GameSpecific/PermanentLogic/CoinManager.js
Updated Scripts/GameSpecific/Scenes/Level/Track/DynamicTrackparts/SlowpadTrackpart.js
Updated Scripts/GameSpecific/Scenes/HelixJump/Helix_CameraController.js
Updated Scripts/GameSpecific/Scenes/Level/Camera/TweenAnimations/ITweenAnimationAsset.js
Updated Scripts/GameSpecific/PermanentLogic/HTML Wrapper/HTMLWrapperManager.js
Updated Scripts/GameSpecific/Scenes/Level/Track/DynamicTrackparts/MovementPlatformTrackpart.js
Updated Scripts/GameSpecific/Scenes/HelixJump/Helix_CoinSpawner.js
Updated Scripts/GameSpecific/Scenes/Level/Checkpoints/Btn_CheckpointReset.js
Updated Scripts/GameSpecific/Scenes/Level/Track/DynamicTrackparts/robotController.js
Updated Scripts/GameSpecific/Scenes/HelixJump/Helix_LevelManager.js
Updated Scripts/GameSpecific/PermanentLogic/HTML Wrapper/Leaderboard.js
Updated Scripts/GameSpecific/Scenes/Level/Checkpoints/Checkpoint_Finish.js
Updated Scripts/GameSpecific/PermanentLogic/HTML Wrapper/SettingsMenu.js
Updated Scripts/GameSpecific/Scenes/Level/Track/DynamicTrackparts/Addons/ConveyorBeltAddon.js
Updated Scripts/GameSpecific/Scenes/HelixJump/Endscreen/Btn_RestartHelixLevel.js
Updated Scripts/GameSpecific/Scenes/Level/Checkpoints/Checkpoint.js
Updated Scripts/GameSpecific/Scenes/HelixJump/Endscreen/Helix_CoinCollector.js
Updated Scripts/GameSpecific/PermanentLogic/HTML Wrapper/Teams.js
Updated Scripts/GameSpecific/Scenes/Level/Track/DynamicTrackparts/Addons/PushButtonAddon.js
Updated Scripts/GameSpecific/Scenes/Level/Checkpoints/Checkpoint_Start.js
Updated Scripts/GameSpecific/Scenes/HelixJump/Endscreen/Helix_EndScreen.js
Updated Scripts/GameSpecific/PermanentLogic/HTML Wrapper/Button Behaviours/btn_Leaderboard.js
(node:15904) UnhandledPromiseRejectionWarning: RequestError: Error: form-data: EISDIR: illegal operation on a directory, read
    at new RequestError (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request-promise-core\lib\errors.js:14:15)
    at Request.plumbing.callback (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request-promise-core\lib\plumbing.js:87:29)
    at Request.RP$callback [as _callback] (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request-promise-core\lib\plumbing.js:46:31)    
    at self.callback (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request\request.js:185:22)
    at Request.emit (events.js:327:22)
    at FormData.<anonymous> (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request\request.js:1254:10)
    at FormData.emit (events.js:327:22)
    at FormData.CombinedStream._emitError (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\combined-stream\lib\combined_stream.js:207:8)  
    at DelayedStream.<anonymous> (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\combined-stream\lib\combined_stream.js:133:10)
    at DelayedStream.emit (events.js:327:22)
(node:15904) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 
5)
Updated Scripts/GameSpecific/Scenes/Level/Track/DynamicTrackparts/Addons/SlowdownAddon.js
Updated Scripts/GameSpecific/Scenes/Level/Checkpoints/ICheckpoint.js
Updated Scripts/GameSpecific/Scenes/HelixJump/Endscreen/Helix/Helix_EndScreen_StarController.js
Updated Scripts/GameSpecific/Scenes/Level/Track/DynamicTrackparts/Addons/SpeedpadAddon.js
Updated Scripts/GameSpecific/Scenes/Level/Collectible/Coin.js
Updated Scripts/GameSpecific/Scenes/HelixJump/Input/ColumnController.js
Updated Scripts/GameSpecific/Scenes/Level/Track/DynamicTrackparts/Addons/TriggerableAnimationAddon.js
Updated Scripts/GameSpecific/Scenes/Level/Collectible/CoinCollector.js
Updated Scripts/GameSpecific/Scenes/HelixJump/Helix_Coin.js
Updated Scripts/GameSpecific/Scenes/LevelEditor/LE_Input.js
Updated Scripts/GameSpecific/Scenes/Level/Collectible/ICollectible.js
Updated Scripts/GameSpecific/Scenes/Level/Trigger/DeathTrigger.js
Updated Scripts/GameSpecific/Scenes/HelixJump/Input/ColumnInput_Swipe.js
Updated Scripts/GameSpecific/Scenes/LevelEditor/LE_Grid.js
Updated Scripts/GameSpecific/Scenes/Level/Cosmetics/BallDresser.js
Updated Scripts/GameSpecific/Scenes/Level/Trigger/Activatable/IActivatable.js
Updated Scripts/GameSpecific/Scenes/HelixJump/Input/ColumnInput_Keyboard.js
Updated Scripts/GameSpecific/Scenes/LevelEditor/LE_Part.js
Updated Scripts/GameSpecific/Scenes/Level/Singletons/CheckpointManager.js
Updated Scripts/GameSpecific/Scenes/Level/UI/IngameGUIController.js
Updated Scripts/GameSpecific/Scenes/HelixJump/Input/ColumnMovementManager.js
Updated Scripts/GameSpecific/Scenes/LevelEditor/LE_Manager.js
Updated Scripts/GameSpecific/Scenes/Level/UI/Endscreen/EndScreen.js
Updated Scripts/GameSpecific/Scenes/Level/Singletons/RegularMovementManager.js
Updated Scripts/Template/Core/GUI/Buttons/Behaviours/Btn_ShowDialog.js
Updated Scripts/GameSpecific/Scenes/HelixJump/Input/IColumn_Input.js
Updated Scripts/GameSpecific/Scenes/Level/Cosmetics/CustomizationManager.js
Updated Scripts/GameSpecific/Scenes/Level/UI/Endscreen/Multiplayer/Endscreen_TeamScoreController.js
Updated Scripts/GameSpecific/Scenes/LevelEditor/Extension/Rdx_Entity.js
Updated Scripts/GameSpecific/Scenes/HelixJump/LevelParts/Helix_ObjectPool.js
(node:15904) UnhandledPromiseRejectionWarning: RequestError: Error: form-data: EISDIR: illegal operation on a directory, read
    at new RequestError (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request-promise-core\lib\errors.js:14:15)
    at Request.plumbing.callback (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request-promise-core\lib\plumbing.js:87:29)
    at Request.RP$callback [as _callback] (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request-promise-core\lib\plumbing.js:46:31)    
    at self.callback (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request\request.js:185:22)
    at Request.emit (events.js:327:22)
    at FormData.<anonymous> (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request\request.js:1254:10)
    at FormData.emit (events.js:327:22)
    at FormData.CombinedStream._emitError (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\combined-stream\lib\combined_stream.js:207:8)  
    at DelayedStream.<anonymous> (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\combined-stream\lib\combined_stream.js:133:10)
    at DelayedStream.emit (events.js:327:22)
(node:15904) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 
6)
Updated Scripts/GameSpecific/Scenes/Level/Singletons/LevelManager/LevelManager.js
Updated Scripts/GameSpecific/Scenes/Level/UI/Endscreen/Singleplayer/Endscreen_Checkmark.js
Updated Scripts/GameSpecific/Scenes/LevelEditor/UI/DrawCompoundCollider.js
Updated Scripts/GameSpecific/Scenes/Level/UI/Endscreen/Singleplayer/Endscreen_CheckmarkController.js
Updated Scripts/GameSpecific/Scenes/Level/Track/EntityFollowModel.js
Updated Scripts/GameSpecific/Scenes/LevelEditor/Extension/Rdx_Vec3.js
Updated Scripts/GameSpecific/Scenes/Level/UI/Endscreen/Singleplayer/Endscreen_HighscoreController.js
Updated Scripts/GameSpecific/Scenes/Level/Track/IDynamicTrackpart.js
Updated Scripts/GameSpecific/Scenes/LevelEditor/UI/LE_PartSpotlight.js
Updated Scripts/GameSpecific/Scenes/Level/UI/Endscreen/Singleplayer/Endscreen_Star.js
Updated Scripts/GameSpecific/Scenes/HelixJump/LevelParts/Helix_Platform.js
Updated Scripts/Test/MeshTest.js
Updated Scripts/GameSpecific/Scenes/LevelEditor/UI/LE_PartsRack.js
Updated Scripts/GameSpecific/Scenes/Level/UI/Endscreen/Singleplayer/Endscreen_StarController.js
Updated Scripts/GameSpecific/Scenes/Level/Track/ITrackpart.js
Updated Scripts/TemplateNew/RenderToTexture.js
Updated Scripts/GameSpecific/Scenes/LevelEditor/UI/LE_ScrollUI.js
Updated Scripts/GameSpecific/Scenes/Level/UI/Input/DeviceMotionPermission.js
Updated Scripts/GameSpecific/Scenes/LevelEditor/UI/btn_LE_ChangePartHeight.js
Updated Scripts/GameSpecific/Scenes/Level/Track/DynamicTrackparts/ConvexyorbeltTrackpart.js
Updated Scripts/Template/Utility/SuperRTL/Toggo/Midloader/Toggo_MidloaderEvent.js
Updated Scripts/GameSpecific/Scenes/Level/UI/Input/InputType_Gyroscope.js
Updated Scripts/Template/Core/GUI/Buttons/Behaviours/Btn_SetCosmetic.js
Updated Scripts/GameSpecific/Scenes/Level/Singletons/LevelManager/States/LM_Multiplayer.js
Updated Scripts/GameSpecific/Scenes/Region Map/Star Counter/StarCounter.js
Updated Scripts/GameSpecific/Scenes/Level/UI/Input/IInputType.js
Updated Scripts/GameSpecific/Scenes/LevelEditor/UI/btn_LE_PickUiPart.js
Updated Scripts/GameSpecific/Scenes/Level/Singletons/LevelManager/States/LM_Singleplayer.js
(node:15904) UnhandledPromiseRejectionWarning: RequestError: Error: form-data: EISDIR: illegal operation on a directory, read
    at new RequestError (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request-promise-core\lib\errors.js:14:15)
    at Request.plumbing.callback (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request-promise-core\lib\plumbing.js:87:29)
    at Request.RP$callback [as _callback] (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request-promise-core\lib\plumbing.js:46:31)    
    at self.callback (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request\request.js:185:22)
    at Request.emit (events.js:327:22)
    at FormData.<anonymous> (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request\request.js:1254:10)
    at FormData.emit (events.js:327:22)
    at FormData.CombinedStream._emitError (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\combined-stream\lib\combined_stream.js:207:8)  
    at DelayedStream.<anonymous> (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\combined-stream\lib\combined_stream.js:133:10)
    at DelayedStream.emit (events.js:327:22)
(node:15904) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 
7)
Updated Scripts/GameSpecific/Scenes/Level/UI/Input/InputType_Mouse.js
Updated Scripts/Template/Utility/SuperRTL/Toggo/Midloader/Toggo_Midloader.js
Updated Scripts/GameSpecific/Scenes/LevelEditor/UI/btn_LE_ScrollUI.js
Updated Scripts/GameSpecific/Scenes/Level/UI/Input/InputType_Simple.js
Updated Scripts/Template/Utility/SuperRTL/Toggo/Toggo_Tracking.js
Updated Scripts/GameSpecific/Scenes/Main_Menu/MainMenu_PlaymodeListener.js
Updated Scripts/GameSpecific/Scenes/Level/UI/Input/btn_CalibrateGyroscope.js
Updated Scripts/Template/Utility/SuperRTL/Toggo/Toggo_HighscoreAPI.js
Updated Scripts/GameSpecific/Scenes/Region Map/MapProgressManager.js
Updated Scripts/GameSpecific/Scenes/Level/UI/Input/DPad/InputType_Dpad.js
Updated Scripts/Template/Utility/SuperRTL/toggolino-game-interface.js
Updated Scripts/GameSpecific/Scenes/Level/UI/Input/DPad/VirtualDpad.js
Updated Scripts/GameSpecific/Scenes/Region Map/Debug/Btn_ResetRegion.js
Updated Scripts/Template/Utility/Grid/Cell/Cell_Interaction.js
Updated Scripts/Template/Utility/Stencil/Stencil_Subject.js
Updated Scripts/GameSpecific/Scenes/Level/UI/Input/Joystick/InputType_Joystick.js
Updated Scripts/GameSpecific/Scenes/Region Map/Map/Region.js
Updated Scripts/GameSpecific/Scenes/Root/Gui/Multiplayer/ToggleElement.js
Updated Scripts/TemplateNew/SafespaceAdjustment.js
Updated Scripts/GameSpecific/Scenes/Level/UI/Input/Joystick/VirtualJoystick.js
Updated Scripts/GameSpecific/Scenes/Region Map/Map/RegionMap.js
Updated Scripts/GameSpecific/Scenes/Shared/APIs/ControllerAPI.js
Updated Scripts/Template/Utility/Miscellaneous/ScaleWithScreen.js
Updated Scripts/GameSpecific/Scenes/Level/UI/Time/TimeTracker.js
Updated Scripts/GameSpecific/Scenes/Region Map/Map/RegionMap_Scrolling.js
Updated Scripts/GameSpecific/Scenes/Shared/APIs/Parsed Models/Model_Level_Completed.js
Updated Scripts/Template/Utility/Miscellaneous/FixedScreenPosition.js
Updated Scripts/GameSpecific/Scenes/LevelEditor/LE_Camera.js
Updated Scripts/GameSpecific/Scenes/Region Map/Debug/Btn_UnlockLevel.js
Updated Scripts/GameSpecific/Scenes/Shared/APIs/Parsed Models/Model_Level.js
Updated Scripts/Template/Utility/Stencil/Stencil_Mask.js
Updated Scripts/GameSpecific/Scenes/Region Map/Map/Nodes/Btn_EnterLevel.js
Updated Scripts/GameSpecific/Scenes/Shared/APIs/Parsed Models/Model_Settings.js
Updated Scripts/Template/Utility/Miscellaneous/EnableInScenes.js
Updated Scripts/GameSpecific/Scenes/Region Map/Map/Nodes/LevelNode.js
Updated Scripts/GameSpecific/Scenes/Shared/APIs/Parsed Models/Model_Team.js
Updated Scripts/Template/Utility/Helper/Debugging/DrawCollider.js
Updated Scripts/GameSpecific/Scenes/Region Map/Map/Nodes/LevelNode_Star.js
Updated Scripts/Template/Utility/Miscellaneous/PositionPerAspectRatio.js
Updated Scripts/GameSpecific/Scenes/Shared/APIs/Parsed Models/Model_WeeklyTrial.js
Updated Scripts/GameSpecific/Scenes/Region Map/Map/Nodes/LevelNode_StarController.js
Updated Scripts/Template/Utility/Animations/Rdx/Behaviours/Anim_Rotate.js
Updated Scripts/Template/Utility/Helper/Cheats/Behaviours/Cheat_SpeedUp.js
Updated Scripts/GameSpecific/Scenes/Shared/APIs/Parsed Models/Model_WeeklyTrial_Completed.js
Updated Scripts/GameSpecific/Scenes/Region Map/Map/Nodes/NodeAnchor.js
Updated Scripts/Template/Utility/Animations/Rdx/Behaviours/Anim_Scale.js
Updated Scripts/Template/Utility/Helper/Cheats/Behaviours/Cheat_SlowDown.js
Updated Scripts/GameSpecific/Scenes/Shared/APIs/Specifics/AuthenticationAPI.js
Updated Scripts/GameSpecific/Scenes/Region Map/Map/Nodes/NodeMap.js
Updated Scripts/Template/Utility/Animations/Rdx/Behaviours/Anim_SoundTiming.js
Updated Scripts/GameSpecific/Scenes/Shared/APIs/Specifics/CustomizationAPI.js
Updated Scripts/GameSpecific/Scenes/Region Map/Map/Nodes/StarAnimationAttributes.js
(node:15904) UnhandledPromiseRejectionWarning: RequestError: Error: form-data: EISDIR: illegal operation on a directory, read
    at new RequestError (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request-promise-core\lib\errors.js:14:15)
    at Request.plumbing.callback (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request-promise-core\lib\plumbing.js:87:29)
    at Request.RP$callback [as _callback] (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request-promise-core\lib\plumbing.js:46:31)    
    at self.callback (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request\request.js:185:22)
    at Request.emit (events.js:327:22)
    at FormData.<anonymous> (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\request\request.js:1254:10)
    at FormData.emit (events.js:327:22)
    at FormData.CombinedStream._emitError (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\combined-stream\lib\combined_stream.js:207:8)  
    at DelayedStream.<anonymous> (C:\Users\myUserFolder\Desktop\playcanvas-sync\node_modules\combined-stream\lib\combined_stream.js:133:10)
    at DelayedStream.emit (events.js:327:22)
(node:15904) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 
8)
Updated Scripts/Template/Utility/Helper/Cheats/Behaviours/Cheat_SkipVoiceOver.js
Updated Scripts/GameSpecific/Scenes/Shared/APIs/Specifics/LocalizationAPI.js
Updated Scripts/Template/Utility/Animations/Rdx/Behaviours/Anim_Fade.js
Updated Scripts/Template/Utility/Helper/Cheats/Behaviours/Cheat_ClearLocalStorage.js
Updated Scripts/GameSpecific/Scenes/Shared/APIs/Specifics/LeaderboardAPI.js
Updated Scripts/Template/Utility/Animations/Rdx/RdxAnimationHandler.js
Updated Scripts/Template/Utility/Helper/Cheats/ICheat.js
Updated Scripts/Template/Utility/Animations/Model/Model_AttachToBone.js
Updated Scripts/Template/Utility/Grid/Cell/Cell.js
Updated Scripts/Template/Utility/Helper/Cheats/CheatsManager.js
Updated Scripts/GameSpecific/Scenes/Shared/APIs/Specifics/PlayerAPI.js
Updated Scripts/Template/Utility/Animations/Lipsyncing/LipsyncController_Spine.js
Updated Scripts/Template/Utility/Helper/Cheats/Btn_CheatBase.js
Updated Scripts/GameSpecific/Scenes/LevelEditor/UI/btn_LE_Event.js
Updated Scripts/Template/Utility/Animations/Lipsyncing/LipsyncShape.js
Updated Scripts/Template/Utility/Helper/DisabledInReleaseBuild.js
PS C:\Users\myUserFolder\Desktop\ha150> 
yorschor commented 4 years ago

Example output of when seemingly random a file gets duplicated into root. The actual MovieTextureController.js is 3 levels down my folder structure. "Updated CinemaController.js" is also incorrect. No changes where made to that file and it was never opened on this pc before.

PS C:\Users\myUserFolder\Desktop\ha150> pcwatch --force
PLAYCANVAS_TARGET_DIR: C:\Users\myUserFolder\Desktop\ha150
PLAYCANVAS_BRANCH_ID: MyBranchID
Started
Updated Scripts/GameSpecific/Scenes/LevelEditor/UI/btn_LE_Event.js
Updated Scripts/GameSpecific/Scenes/LevelEditor/UI/btn_LE_Event.js
Updated Scripts/GameSpecific/Scenes/LevelEditor/UI/btn_LE_Event.js
Updated Scripts/GameSpecific/Scenes/LevelEditor/UI/btn_LE_Event.js
Updated CinemaController.js
Created MovieTextureController.js

Edit It seems while duplicating MovieTextureController and updating CinemaController the file I was actually editing at the time "LE_Grid" was corrupted. (Corrupted meaning: It cant be opened in the online editor anymore. Any attempts to sync the file will result in a "UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'filename' of null ") (Steps to fix are deleting the script online and creating a new one copy pasting my local copy)

zachpeterpaul commented 3 years ago

All should now work correctly on Windows, please try the latest version of playcanvas-sync

willeastcott commented 3 years ago

Closing since pcwatch now works on Windows. Please reopen if you continue to experience problems with this.