Enduro icon indicating copy to clipboard operation
Enduro copied to clipboard

[!] All tests failing: A/B testing -> ENOENT _generated/_prebuilt/brick_admin_settings.js

Open CosmoMyzrailGorynych opened this issue 7 years ago • 3 comments

So the full log is here: https://travis-ci.org/Gottwik/Enduro/jobs/326702774

  Abstractor
    ✓ should register all the abstractors
  A/B testing
Unhandled rejection Error: ENOENT: no such file or directory, open '/home/travis/build/Gottwik/Enduro/testfolder/abtest/_generated/_prebuilt/brick_admin_settings.js'
    1) "before all" hook
  1 passing (9s)
  1 failing

I'm working on a today fetched and npm-linked copy from the repository, and it shows the same error. This issue effectively blocks all other tests, which makes any further contributions potentially dangerous.

CosmoMyzrailGorynych avatar Jan 14 '18 03:01 CosmoMyzrailGorynych

Oh my

┌—————————————————~—Enduro theme service—~—————————————————┐
│ getting info for 'mirror' theme                        ✓ │
? choose project name: mirrortest
? choose your admin login: admin
? choose your admin password: [hidden]
│ downloading and extracting theme                       ✓ │
│ starting enduro                                        ✓ │
│ setting up admin credentials                           ✓ │
│ getting project dependencies                           ✓ │
│ installing npm dependencies                            ✓ │
[15:37:22 | +   72.16] Production server started at port 5000
Unhandled rejection Error: ENOENT: no such file or directory, open '/mnt/36c3db7c-dce7-48e9-8d90-14e14b8433ce/_namespace/Endurotests/mirrortest/_generated/_prebuilt/brick_admin_settings.js'

Enblog fails too. Older sites made with enduro are working, though.

CosmoMyzrailGorynych avatar Jan 14 '18 03:01 CosmoMyzrailGorynych

#202. Was fixed, but seems that https://github.com/Gottwik/Enduro/commit/91e9c7869dd251d7c3fc047548f06cc6ff3b943e broke it again

I suppose that this is a timing issue and generator fails because it is trying to get a file that haven't been generated yet. And it is never generated because the generator fails... This is just a suggestion, though, because I missed introduction of bricks and don't know the code.

CosmoMyzrailGorynych avatar Jan 14 '18 03:01 CosmoMyzrailGorynych

I suspect this may be related to #231. In particular, note the changes to libs/bricks/brick_handler.js

tekwiz avatar Feb 02 '18 14:02 tekwiz