This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
After getting the latest version and supplying the license key my company purchased, I am still unable to create a Coffee Script file from an existing JavaScript file. I am simply right-clicking a .js file in the solution explorer and looking for an option in the context menu. I have also tried this in the Web Workbench Settings. Please advise. Thanks. |
|
|
Can you confirm which version you have installed? And are you developing using a Web Application or a Website project?
|
|
|
I am using 3.2.419.21172 and it is a Website project. |
|
|
Thanks - it looks to be an issue with Website projects so I have added in a fix and this will be available in the next nightly build.
|
|
|
Thanks for the quick response! I downloaded the latest and am now seeing an option to "Convert to CoffeeScript". Unfortunately, when I click it I get the following message: The system cannot find the file specified The file is certainly there as I can open it. Let me know if I need to do anything else for this to take affect. Thanks again for such a quick response. You guys are doing a great job! |
|
|
Are you getting that message in the output window? (if possible can you post a quick screenshot of what you are seeing as this will help for context). Does the .coffee file actually get generated? Also can you check if you have a folder in your AppData\Local\Temp directory called Mindscape (and then there should be a WebWorkbench folder underneath that). If that exists can you let me know what the contents are? e.g. Mine is C:\Users\jeremy\AppData\Local\Temp\Mindscape\WebWorkbench
|
|
|
No .coffee file is being generated and I have attached a capture of the error. As for that folder, it contains Less and nodejs sub folders. |
|
|
Thanks - I have added some additional checks to try and help diagnose this further and this update will be in the next nightly build. If you are able to install that and let me know if you see a change in behavior - in particular if the alert is still present or if you are seeing a message in the output window.
|
|
|
I have the same issue going on with a new install. Running in administrator not .coffee output and a simple visual studio alert saying "The system cannot find the file specified" Running the latest nightly build (Oct 17) |
|
|
Are you seeing any messages showing in the "Output Window" after the command fails? We are aware of this issue but we are still trying to track down what circumstances are leading to this triggering as it appears to be an environmental issue.
|
|
|
I updated yesterday and am still seeing this behavior. Nothing in the Output window. One thing that is likely not related, but happens almost every time, is that the extension is crashing Visual Studio. If I select "Web Workbench Settings ..." from the top menu bar, then close the settings window by clicking the "x", VS crashes. |
|
|
What is the full pathname for your Web Workbench temp folder? Does it contain any unicode characters?
|
|
|
Nope. C:\Users\ggilmore\AppData\Local\Temp\Mindscape\WebWorkbench I attached a snapshot of the contents of that folder. |
|
|
I am also seeing this issue. In my case, the MindScape folder is not present at all in the temp data folder. |
|
|
What is the full path to your temp directory - do you have any unicode characters present in the path? Also can you confirm if this is on VS2010 or VS2012?
|
|
|
Thanks for getting back. The path is C:\users{username}\AppData\Local\Temp\2\MindScape\WebWorkbench\caed0j0ye.js. The environment is VS 2012 on Windows Server 2008 R2. As a side note, after I logged in to reply to this thread from the link in the email, I was not redirected to the thread, but sent to the home page. It's a minor point but a peeve of mine :) |
|
|
Hi BTurkE, Thanks for the heads up about the redirect issue -- we'll see if we can get that tidied up. It appears there's no unicode characters, however you censored out your username which is often where a dodgy character exists (no pun intended!). If you're not comfortable posting your username publicly please email it to support@mindscape.co.nz so we can cross off the path not being supported properly. Thanks, John-Daniel |
|
|
Same issue! Path as requested above is: C:\Users\stephen.WEBSILK\AppData\Local\Temp\Mindscape\WebWorkbench Using VS 2010SP1, Win7, Web Workbench Pro 3.2.528.21592 |
|
|
Hi Stephen, Can you update to a nightly build and check if this resolves the issue and let us know what is in the output window if you are continuing to see an error.
|
|
|
Sure, how do I get the nightly build? |
|
|
You can download the nightlies from under the Downloads for your Web Workbench subscription in your My Account.
|
|
|
I just downloaded the nightly build and installed it in VS 2010 Premium. When I try to convert to coffeescript, I get the following in the output window: I:\Users\Richard\AppData\Local\Temp\Mindscape\WebWorkbench\nodejs\nodejs\node_modules\js2coffee\lib\command:58
Error: Implement me. Unknown stdin file type!
|
|
|
I have added what hopefully will be a fix for this and this will be available in the next nightly build. Please make sure you delete your I:\Users\Richard\AppData\Local\Temp\Mindscape\WebWorkbench folder after installing the updated build prior to rechecking this and please let me know if this manages to cover off this issue for you.
|
|
|
Jeremy, I've downloaded the January 11th nightly build and am still getting an exception. Are there any other external dependencies that I need to be aware of? I:\Users\Richard\AppData\Local\Temp\Mindscape\WebWorkbench\nodejs\nodejs\nodemodules\js2coffee\lib\command:58
throw e;
^
Error: Implement me. Unknown stdin file type!
at process.startup.processStdio.process.openStdin [as stdin] (node.js:393:17)
at Object.runFiles (I:\Users\Richard\AppData\Local\Temp\Mindscape\WebWorkbench\nodejs\nodejs\nodemodules\js2coffee\lib\command:33:27)
at Object.module.exports.run (I:\Users\Richard\AppData\Local\Temp\Mindscape\WebWorkbench\nodejs\nodejs\nodemodules\js2coffee\lib\command:54:18)
at Object. |
|
|
Can you post a copy of your I:\Users\Richard\AppData\Local\Temp\Mindscape\WebWorkbench\nodejs\nodejs\nodemodules\js2coffee\lib\command file as this was where the change was made so I would just like to check that it has been updated. Also just to confirm you deleted your I:\Users\Richard\AppData\Local\Temp\Mindscape\WebWorkbench folder prior to installing the new version?
|
|