-
Notifications
You must be signed in to change notification settings - Fork 7
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
Problem with node paths #1
Comments
Howdy rozaev, I'm seeing
which means you'll definitely want to use |
Closed for #2 |
Howdy @devpaul !
But I want notice that now intern-visual just broken, even if I will use
It didn't work and I you will got
Which happen because we didn't have define in CommonJS. My message is: hey guys it's never worked before 😄 , we should fix it asap until someone else notice that. |
Sorry, I took a quick look at this one and missed a large part of the problem. https://github.com/theintern/intern-visual/blob/master/tests/intern.ts#L15-L16 |
@devpaul okay, I got the idea. But maybe can do something with it? I mean, look at form my point of view: for example I am a new developer, I want to use intern-visual. I add intern-visual to my existing intern tests and surprise: I should also define custom loader. Can we do something and make set-up process more user-friendly? Other intern features didn't require custom loaders. (Please correct me if I am not right). Anyway, thank you for your pull request, seems it's works. I will continue to write demo app. |
It may be possible to use Intern's default loader. We would need to use an AMD
Dojo's AMD loader is flexible enough to do whatever you need, even if you have to write an AMD plugin to do it, it's just not always practical. In this case it was easier to use the As far as providing a better user experience, I would love to see that. We would need something that reduces configuration time, maybe reduces external dependencies, and any PR would need to avoid using AMD plugins like We should see if it's possible to load |
Hello! I trying make a demo application for intern-visual and I have a problem with paths:
Error: Failed to load module fs from /Users/rozaev/work/intern-visual-demo/fs.js (parent: intern-visual/assert).
How-to reproduce:
I did something wrong or intern-visual didn't work standalone right now?
It seems that problem is somewhere in loader.
Maybe intern-visual should use "intern/dojo/node!" for loading node modules?
The text was updated successfully, but these errors were encountered: