EvalAI icon indicating copy to clipboard operation
EvalAI copied to clipboard

evalai_nodejs_1 fails to start with error: Required path doesn't exist: /code/bower_components/trix/dist/trix.css trix

Open JsnowyXu opened this issue 3 years ago • 5 comments

  • the expected behaviour All containers in evalai should run successfully.

  • the observed behaviour image

  • steps to reproduce the problem docker-compose up --build can not visit localhost:8888

  • which operating system and/or browser you're using, if relevant Edge / Chrom

  • (if possible) copies of the console/server logs [02:50:47] 'dev:runserver' errored after 16 ms nodejs_1 | [02:59:13] Using gulpfile /code/gulpfile.js nodejs_1 | [02:59:13] Starting 'dev:runserver'... nodejs_1 | [02:59:13] Starting 'clean'... nodejs_1 | [02:59:13] Finished 'clean' after 3.43 ms nodejs_1 | [02:59:13] Starting ''... nodejs_1 | [02:59:13] Finished '' after 524 μs nodejs_1 | [02:59:13] Starting 'vendorcss'... nodejs_1 | [02:59:13] Starting 'vendorjs'... nodejs_1 | [02:59:13] Starting 'css'... nodejs_1 | [02:59:13] Starting 'js'... nodejs_1 | [02:59:13] Starting 'html'... nodejs_1 | [02:59:13] Starting 'images'... nodejs_1 | [02:59:13] Starting 'fonts'... nodejs_1 | Required path doesn't exist: /code/bower_components/trix/dist/trix.css trix nodejs_1 | [02:59:13] 'vendorcss' errored after 4.31 ms nodejs_1 | [02:59:13] Error: Promise rejected without Error nodejs_1 | at Domain.onError (/usr/local/lib/node_modules/gulp/node_modules/async-done/index.js:49:15) nodejs_1 | at Object.onceWrapper (events.js:520:26) nodejs_1 | at Domain.emit (events.js:400:28) nodejs_1 | at Domain.emit (domain.js:475:12) nodejs_1 | at Domain._errorHandler (domain.js:285:21) nodejs_1 | at Object. (domain.js:172:29) nodejs_1 | at process._fatalException (internal/process/execution.js:166:29) nodejs_1 | [02:59:13] 'dev:runserver' errored after 12 ms nodejs_1 | [03:06:51] Using gulpfile /code/gulpfile.js nodejs_1 | [03:06:51] Starting 'dev:runserver'... nodejs_1 | [03:06:51] Starting 'clean'... nodejs_1 | [03:06:51] Finished 'clean' after 4.03 ms nodejs_1 | [03:06:51] Starting ''... nodejs_1 | [03:06:51] Finished '' after 2.88 ms nodejs_1 | [03:06:51] Starting 'vendorcss'... nodejs_1 | [03:06:51] Starting 'vendorjs'... nodejs_1 | [03:06:51] Starting 'css'... nodejs_1 | [03:06:51] Starting 'js'... nodejs_1 | [03:06:51] Starting 'html'... nodejs_1 | [03:06:51] Starting 'images'... nodejs_1 | [03:06:51] Starting 'fonts'... nodejs_1 | Required path doesn't exist: /code/bower_components/trix/dist/trix.css trix nodejs_1 | [03:06:51] 'vendorcss' errored after 7.05 ms nodejs_1 | [03:06:51] Error: Promise rejected without Error nodejs_1 | at Domain.onError (/usr/local/lib/node_modules/gulp/node_modules/async-done/index.js:49:15) nodejs_1 | at Object.onceWrapper (events.js:520:26) nodejs_1 | at Domain.emit (events.js:400:28) nodejs_1 | at Domain.emit (domain.js:475:12) nodejs_1 | at Domain._errorHandler (domain.js:285:21) nodejs_1 | at Object. (domain.js:172:29) nodejs_1 | at process._fatalException (internal/process/execution.js:166:29) nodejs_1 | [03:06:51] 'dev:runserver' errored after 19 ms evalai_nodejs_1 exited with code 1

I checked the bower.json. It does not contain the trix package. I really have no clue. Please help me to figure it out. Thanks so much!

JsnowyXu avatar Nov 21 '22 03:11 JsnowyXu

I have the same problem.

Ilyushin avatar Nov 28 '22 13:11 Ilyushin

@Ilyushin @JsnowyXu

Hi, We are aware of this issue and have figured out a across a solution for it. This is due to a package deprecation. Once we test the fix, it will be added to the repository.

CC @Ram81

gchhablani avatar Nov 28 '22 13:11 gchhablani

@gchhablani Hi, thanks. I have created the PR with solution.

https://github.com/Cloud-CV/EvalAI/pull/3838

Ilyushin avatar Nov 28 '22 14:11 Ilyushin

I still have this problem. The console logs can be found below.

nodejs_1 | [02:49:17] Using gulpfile /code/gulpfile.js nodejs_1 | [02:49:17] Starting 'dev:runserver'... nodejs_1 | [02:49:17] Starting 'clean'... nodejs_1 | [02:49:17] Finished 'clean' after 54 ms nodejs_1 | [02:49:17] Starting ''... nodejs_1 | [02:49:17] Finished '' after 10 ms nodejs_1 | [02:49:17] Starting 'vendorcss'... nodejs_v2_1 | Browserslist: caniuse-lite is outdated. Please run: nodejs_v2_1 | npx browserslist@latest --update-db nodejs_v2_1 | nodejs_v2_1 | Why you should do it regularly: nodejs_v2_1 | https://github.com/browserslist/browserslist#browsers-data-updating nodejs_1 | [02:49:17] Starting 'vendorjs'... nodejs_1 | [02:49:17] Starting 'css'... nodejs_1 | [02:49:17] Starting 'js'... nodejs_1 | [02:49:17] Starting 'html'... nodejs_1 | [02:49:17] Starting 'images'... nodejs_1 | [02:49:17] Starting 'fonts'... nodejs_1 | Required path doesn't exist: /code/bower_components/trix/dist/trix.css trix nodejs_1 | [02:49:17] 'vendorcss' errored after 37 ms nodejs_1 | [02:49:17] Error: Promise rejected without Error nodejs_1 | at Domain.onError (/usr/local/lib/node_modules/gulp/node_modules/async-done/index.js:49:15) nodejs_1 | at Object.onceWrapper (events.js:520:26) nodejs_1 | at Domain.emit (events.js:400:28) nodejs_1 | at Domain.emit (domain.js:475:12) nodejs_1 | at Domain._errorHandler (domain.js:285:21) nodejs_1 | at Object. (domain.js:172:29) nodejs_1 | at process._fatalException (internal/process/execution.js:166:29) nodejs_1 | [02:49:17] 'dev:runserver' errored after 142 ms evalai_nodejs_1 exited with code 1

matthew-so avatar Dec 20 '22 02:12 matthew-so

did anyone find a solution?

vpozdnyakov avatar Mar 08 '24 13:03 vpozdnyakov