fractal: fratal fails to start with 'Microsoft JScript compilation error'

was just starting this for the first time: C:\DEV\2016\style\project-name>fractal start --watch

and this was the result:

Windows Script Host
---------------------------
Script: C:\DEV\2016\style\project-name\fractal.js
Line:   6
Char:   1
Error:  Syntax error
Code:   800A03EA
Source:     Microsoft JScript compilation error

my version of nodejs is 4.4.2. Any other idea? thanks

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 15 (2 by maintainers)

Most upvoted comments

+1

windows 7 node : 4.4.7 npm 3.10.2

EDIT: running fractal.cmd will start everything correctly

Thanks for the report guys. I’m no Windows expert but from a bit of research it sounds like the Fractal is not being run through Node but rather the Windows Script Host interpreter - probably due to the .js file extension.

I’m not quite sure why this is the case (or what I can do about it!), but I’ll do some more research and let you know if once I’ve managed to find a solution.

This seems to be working for people now after a small tweak to the bin file

@allmarkedup it would have been helpful to point to the tweak you made… trying to figure out an issue in my entirely unrelated project and any other examples are helpful