-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
"Unexpected token import" when using symlinks #830
Comments
Looks like it does not get transpiled correctly. I just tried on node 8.5 and it worked as it should.
] |
@quooston have you been able to resolve your issue? |
No I haven't. My work machine is on an older version of Node and it worked
there. So, there is some issue with the latest version(s).
Thanks for the tip though, I will try it at home.
Q
…On 9 March 2018 at 03:57, Alexander-Taran ***@***.***> wrote:
@quooston <https://github.com/quooston> have you been able to resolve
your issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#830 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAD4tKzDIzlBbIJIZKGO4jHjDan7Iie7ks5tcWL6gaJpZM4SR1dx>
.
|
@quooston might me npm issue btw. |
Ok I'll give that a go.
…On Mon, 12 Mar 2018, 21:19 Alexander-Taran, ***@***.***> wrote:
@quooston <https://github.com/quooston> might me npm issue btw.
do you have yarn installed?
If not can you try with installing yarn and rescaffolding with au new?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#830 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAD4tCi--4F38CJDNmixvzPzm3d08OdQks5tdkumgaJpZM4SR1dx>
.
|
Keep me posted (-: |
Unfortunately installing yarn did not resolve the issue. I also uninstalled
node and installed 8.1 to no avail. It's a windows box, so I used the
control panel to do those things.
So, I will try to debug it as you pointed out before and let you know how I
go.
Thanks
…On 13 March 2018 at 10:06, Alexander-Taran ***@***.***> wrote:
Keep me posted (-:
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#830 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAD4tPp3G8ZOTl4aioaK5obt_rwbRGlnks5tdv-AgaJpZM4SR1dx>
.
|
@quooston this one is very strange. Might also try on another box? |
Perhaps try a different folder as well, maybe on the C disk |
@quooston Another thought is that you might be behind a proxy. |
same here. Win7 / node-8.11.1 / npm-5.6.0 / au-0.33.1 I did
|
@joonhwan looks like npm issue from here.. also run anyway try to update npm to latest (5.8 I think) with |
Hi again,
No proxy here, I'm at home.
I've recently had to reinstall my box because my mobo died... and arrived
at the exact same issue.
Q
…On 20 March 2018 at 05:37, Alexander Taran ***@***.***> wrote:
@quooston <https://github.com/quooston> Another thought is that you might
be behind a proxy.
There is new version of CLI that just came out
can you update yours and try again?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#830 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAD4tBllvK-yHRJ01fv4cDnFq_lk5bTnks5tf_rVgaJpZM4SR1dx>
.
|
where au =>
C:\Program Files\nodejs\au
C:\Program Files\nodejs\au.cmd
…On 10 April 2018 at 19:46, Qerim Shahini ***@***.***> wrote:
Hi again,
No proxy here, I'm at home.
I've recently had to reinstall my box because my mobo died... and arrived
at the exact same issue.
Q
On 20 March 2018 at 05:37, Alexander Taran ***@***.***>
wrote:
> @quooston <https://github.com/quooston> Another thought is that you
> might be behind a proxy.
> There is new version of CLI that just came out
> can you update yours and try again?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#830 (comment)>, or mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/AAD4tBllvK-yHRJ01fv4cDnFq_lk5bTnks5tf_rVgaJpZM4SR1dx>
> .
>
|
SOLVED!
It's a path issue.
My code is at c:\users\q\code\... But that code folder is actually a
symlink to e:\code.
When I run au build from c:\users\q\code\... it fails.
When I run au build from e:\code\... it works!
Don't know why, but there you have it.
Q
…On 10 April 2018 at 19:49, Qerim Shahini ***@***.***> wrote:
where au =>
C:\Program Files\nodejs\au
C:\Program Files\nodejs\au.cmd
On 10 April 2018 at 19:46, Qerim Shahini ***@***.***> wrote:
> Hi again,
>
> No proxy here, I'm at home.
>
> I've recently had to reinstall my box because my mobo died... and arrived
> at the exact same issue.
>
> Q
>
> On 20 March 2018 at 05:37, Alexander Taran ***@***.***>
> wrote:
>
>> @quooston <https://github.com/quooston> Another thought is that you
>> might be behind a proxy.
>> There is new version of CLI that just came out
>> can you update yours and try again?
>>
>> —
>> You are receiving this because you were mentioned.
>> Reply to this email directly, view it on GitHub
>> <#830 (comment)>, or mute
>> the thread
>> <https://github.com/notifications/unsubscribe-auth/AAD4tBllvK-yHRJ01fv4cDnFq_lk5bTnks5tf_rVgaJpZM4SR1dx>
>> .
>>
>
>
|
@joonhwan do you also use symlinks ? |
I'm submitting a bug report
CLI: 0.32.0
Please tell us about your environment:
Operating System:
Windows 10 Pro
Node Version:
9.5.0
NPM Version:
5.6.0
Browser:
N/A
Language:
ESNext
Loader/bundler:
SystemJS and RequireJS
Current behavior:
au new --here
does it's thing. After installing dependencies, I runau build
, and get the error:I have just recently reformatted my machine, this is a fresh box with everything installed first time.
I have a .babelrc file (put there by the CLI):
What is the expected behavior?
I'd like it to build!
What is the motivation / use case for changing the behavior?
:|
The text was updated successfully, but these errors were encountered: