Bug with all my project in construct 2

Bugs will be moved here once resolved.

Post » Mon Dec 12, 2016 1:50 pm

Problem Description
Problem with all project run on construct 2

Attach a Capx
the problem is with all my project so I suppose there is no problem with capx. that was working 2 weeks ago, then I don't know why but preview any of my project doesn't work
http://image.noelshack.com/fichiers/201 ... -bugcn.png





Affected Browsers
  • Chrome: (YES)
  • FireFox: (YES)
  • Internet Explorer: (YES)

Operating System and Service Pack
____ Windows 10 professional ____

Construct 2 Version ID
____ release 239 ____
B
9
S
3
Posts: 53
Reputation: 997

Post » Mon Dec 12, 2016 1:58 pm

here is another message :
Javascript error!
SyntaxError: identifier starts immediately after numeric literal
http://localhost:50000/preview.js, line 1 (col 0)

different message, noway to run preview of the project. I did'nt made any change since 2 weeks ago, when all my project was running with no problem on preview
B
9
S
3
Posts: 53
Reputation: 997

Post » Tue Dec 13, 2016 2:15 am

Your 'Construct 2\exporters\html5\preview.js' file must have been modified in some way, either by you, by another program, or maybe even by a failing hard drive.

The first line in that file is supposed to look like this:
Code: Select all
// ECMAScript 5 strict mode


This is just a comment, so it should be impossible to have an error here. Since you got 2 different error messages, whatever modified it must still be doing so. It's probably a failing hard drive.
B
54
S
19
G
13
Posts: 97
Reputation: 10,146

Post » Tue Dec 13, 2016 12:59 pm

okay thanks for repply, I've done a hard disk error fix with windows 2 weeks ago, should I reformat my computer?
B
9
S
3
Posts: 53
Reputation: 997

Post » Tue Dec 13, 2016 6:32 pm

Probably re-installing C2 will fix that file.
B
91
S
31
G
103
Posts: 5,235
Reputation: 67,756

Post » Wed Dec 14, 2016 1:16 am

frayt wrote:here is another message :
Javascript error!
SyntaxError: identifier starts immediately after numeric literal
http://localhost:50000/preview.js, line 1 (col 0)

different message, noway to run preview of the project. I did'nt made any change since 2 weeks ago, when all my project was running with no problem on preview



i dont think is a C2 related bug, more of a plugin/behavior bug, either u installed or modified a plugin or behavior either u have something incomplete in behaviors and plugins.

also, the localhost:5000/preview.js only applies to you not for everybody, or atleast ur version of preview.js is in ur computer on localhost:5000 while on my computer the localhost:5000/preview.js shows my preview.js not yours.
B
70
S
20
G
67
Posts: 1,316
Reputation: 42,305

Post » Tue Dec 20, 2016 6:08 pm

Check your browser addons, they can sometimes interfere with C2. This most likely isn't a C2 bug though, so closing.
Scirra Founder
B
387
S
230
G
88
Posts: 24,249
Reputation: 192,450


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests