Closed anaibol closed 8 years ago
Hi @anaibol !
atom-riot
was written ES6.
The error is, what error of the package itself? Or is error when you try to build on save a riot source? If the first, I can solve soon.
Hi! It's the second one, when trying to build on save a riot source. I noticed that sometimes it work, sometimes not, not sure why.. I could give you more details next week.
The issue is related with the es6 scripts, it's failing only with them
<catalog>
<script type="es6">
console.log(opts);
</script>
</catalog>
@anaibol OK,
Here is Global riot path definition.
Do you know the riot command path that has been npm global installed in Windows?
It's '%USERPROFILE%\AppData\Roaming\npm\riot'
I tryed with
const RIOT_PATH = '%USERPROFILE%\\AppData\\Roaming\\npm\\riot'
and reopened Atom, but didn't worked
Maybe need extract %USERPROFILE%
variable in riot.es6.
@anaibol We released atom-riot v0.3.0.
Support environment variable RIOT_PATH
.
Please try it.
@anaibol Hi!
v0.4.1: Support package setting 'Riot-CLI path'.
Please try it.
Hi, I am trying with or without custom Riot cli path, but there is no compilation or error. I think that Atom in general is not working properly on Windows.
@anaibol
Hi, Do not work with the following settings?
Riot-CLI path: "C:\Users\AppData\Roaming\npm\riot"
Please error messages or screen shots.
Mmm, I see no errors, neither the console.log of the path you put. Tried compiling on save and compiling via command.
OK.
To execute the command, please the text editor view to active.
Click the text editor section, and run the command.
Ohh it was the Atom grammar that was autosetted to JavaServer Pages.. I setted to HTML (Riot).
Now it fails to find Babel. Is it compatible with Babel 6?
Oh yeah! (^0^)/
I write the blog article (Japanese) http://jumilla.me/atom-package-riot-updated-for-riot23
Now it fails to find Babel. Is it compatible with Babel 6?
Please look at the issue. https://github.com/riot/riot/issues/1339
Perfect! Thanks man, great work!
Good! Thank you very much to me dating to the last!
Hi, I am sadly using windows OS and having installed globally the Babel package, I am receiving this error trying to compile on save: Error: Cannot find module 'babel' at Function.Module._resolveFilename
Do you know anything I can do?
Thanks!