<@UEU3GRP5M> <@UAA1TMMTR> <@UFUCXSXCJ> PHPStorm: M...
# sdf
c
@Carlos Olivares (NS DevTools PM) @Albert Margarit (NS Eng Lead) @Ali Syed (NS DevTools QA) PHPStorm: My tiny (one SS file, one script object) account configuration project gives me errors when I try to Compare File With Account Version:
Error: The project "C:\Users\cja\AppData\Local\Temp\nstemp7015366478215171130" does not exist.
Restarting PHPStorm doesn't fix it. It's correct that C:\Users\cja\AppData\Local\Temp\nstemp7015366478215171130 doesn't exist. I'm innocent. How can fix this?
c
Is this path correct?
Copy code
C:\Users\cja\AppData\Local\Temp\nstemp7015366478215171130
which is your SS path?
c
nstemp7015366478215171130 doesn't exist anywhere on my machine. (I checked manually that it doesn't exist in C:\Users\cja\AppData\Local\Temp\ and automatically using Everything)
This is the SS dir in my project: C:\Users\cja\Development\slush.miscnetsuitecustomisations\FileCabinet\SuiteScripts
Is that what you mean?
c
but...
are you using WebStorm? or PHPStorm?
c
PHPStorm
c
ok, thats probably the main reason why I am out of context. We don´t officially have a plugin for PHPStorm
we have WebStorm, Eclipse and SDF CLI
could you check who is the author of the plugin that you are using?
c
You are!
message has been deleted
message has been deleted
I installed the plugin in PHPStorm using the instructions in the NS help and have been using it happily since February
This is the first error I can't get round
PhpStorm 2019.1 Build #PS-191.6183.95, built on March 27, 2019
c
It´s hard for us to test this case in PHPStorm because we don´t support it, I understand that it might work but I would recommend you to try installing WebStrom and check if happens the same
c
Ok, I understand. The error happens when I use Compare File With Account Version. Do you know how I can stop it checking for that file?
If we assume, hypothetically, that the plugin is working the same in PHPStorm as in WebStorm :)
c
Theoretically (very theoretically), if you manage to exclude that path from the deploy.xml file, then this file will not be deployed, validated and compared. (I might be wrong)
c
It works if I create an empty directory called C:\Users\cja\AppData\Local\Temp\nstemp7015366478215171130 But I'm concerned that now my project has some bad data. I can't find a reference to nstemp7015366478215171130 in the project directory
c
I don´t think that´s the solution (creating that folder). and the deploy.xml will exclude that file (which is neither the solution I guess)
this problem goes beyond my understanding, let me see if someone can provide more details on this (but if you try WebStrom it will be 100% proven that something is wrong)
c
Ok, thank you
It looks like that directory is used to store the file downloaded from NS to be used in the comparison
After I created it, I used Compare File With Account Version again and then the following file was created, which is the same as the file in NS and doesn't get updated when I edit the file in PHPStorm: "C:\Users\cja\AppData\Local\Temp\nstemp7015366478215171130\FileCabinet\SuiteScripts\ItemFulfilment\setTransactionItfCost.js"