Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Errors using es6-module-loader from iojs on Windows #342

@randomdevpete

Description

@randomdevpete

Have tried all of following:
a) installing babel locally to module
b) installing traceur locally to module
c) installing babel globally
d) installing traceur globally

With any of the above, es6-module-loader still reports an error when I try and import a file which using ES6 syntax. The same same file works fine transpiling for Either it can't find traceur (apparently never attempts to use babel) or I see the following error from Traceur:

Error loading "filename" at file: C:/Path/to/project/filename.js
Error loading "traceur" at C:/Path/to/project/node_modules/traceur/bin/traceur.js
Only file URLs of the form file: allowed running in Node.

It's that last bit "Only file URLs of the form file: allowed running in Node." ,,, not sure where this error derives from.

But the main issue is that I can't seem to use Babel here at all. I just get "ENOENT: no such file or directory, open 'C:\Path\to\project\babel.js'" with either global or local install of Babel (after setting System.transpiler = "babel").

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions