generator-angular-fullstack icon indicating copy to clipboard operation
generator-angular-fullstack copied to clipboard

Showing SyntaxError: Unexpected reserved word for "import"

Open narayand4 opened this issue 10 years ago • 6 comments

Hi,

Showing SyntaxError: Unexpected reserved word for "import" when i'm executing "grunt serve:dist". Please suggest me what i'm doing wrong.

Thanks.

narayand4 avatar Mar 26 '16 06:03 narayand4

Same issue, it has something to do with Babel, I got that far[]

lwensveen avatar Apr 04 '16 17:04 lwensveen

+1

michaelpurnell avatar Apr 05 '16 20:04 michaelpurnell

+1

xggaxlc avatar Apr 17 '16 02:04 xggaxlc

I got this error too after using: yo angular-fullstack:endpoint <name>. is Babel part of the full-stack install? We didn't use Babel before when starting with this generator... Kind of backwards breaking if the generator functions just get modified to use ES6 while the project does not use Babel ?

michahell avatar Apr 20 '16 10:04 michahell

I just tested this on the latest version of the generator and didn't get any errors. If you still think this is an issue, please open an issue and provide details.

Awk34 avatar Apr 22 '16 00:04 Awk34

Thanks @Awk34. Let me try with new version.

narayand4 avatar Apr 22 '16 01:04 narayand4