-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create the directory before creating the file #39
Comments
Same issue persists in other ezsandbox/Lesson 2/upnp-basics/after/prod-debug.js Lines 63 to 69 in efafc2d
Presumably all of them needs updating. |
Some of it has been fixed here: https://github.com/labrocadabro/ezsandbox/pull/1/files |
I've made a merge request to the task template (which is where this needs to be changed). But instead of creating the directory, prod-debug will provide a more informative message and exit. This is because there are two reasons this error usually occurs - one is running prod-debug before adding the task to the desktop node. This fix sort of deals with that but it's wonky - when I tested this and added the task after running prod-debug, I couldn't see the task until I restarted the node. But the second reason it occurs is that the developer is using the wrong task ID. Creating a directory in that situation wouldn't help them diagnose the problem. |
I thought that's the default way... Run Bottom line: that should be smooth, simple, intuitive, just works :) |
Error I was getting:
Here:
ezsandbox/Lesson 1/EZ-testing-task/prod-debug.js
Lines 63 to 69 in 53ca97a
Need to add:
And on top of the file:
const path = require('path');
The text was updated successfully, but these errors were encountered: