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
12
S
4
G
1
Posts: 65
Reputation: 1,698

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
12
S
4
G
1
Posts: 65
Reputation: 1,698

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
55
S
20
G
13
Posts: 98
Reputation: 10,278

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
12
S
4
G
1
Posts: 65
Reputation: 1,698

Post » Tue Dec 13, 2016 6:32 pm

Probably re-installing C2 will fix that file.
B
100
S
38
G
134
Posts: 5,552
Reputation: 85,317

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
86
S
26
G
75
Posts: 1,439
Reputation: 47,803

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
414
S
245
G
92
Posts: 25,198
Reputation: 200,327


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest