# Migration trouble related to DiscourseJsProcessor?

**URL:** <https://meta.discourse.org/t/migration-trouble-related-to-discoursejsprocessor/276480>\
**Category:** Bug\
**Created:** [August 24, 2023, 4:52pm UTC](https://meta.discourse.org/t/migration-trouble-related-to-discoursejsprocessor/276480 "2023-08-24T16:52:56Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [August 24, 2023, 4:52pm UTC](https://meta.discourse.org/t/migration-trouble-related-to-discoursejsprocessor/276480/1 "2023-08-24T16:52:56Z")

</div>

Hey @david Having trouble with a bootstrap:

```plaintext
I, [2023-08-24T16:50:36.568059 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'                                          
rake aborted!                                                                                                                                                                                 
Errno::ENOENT: No such file or directory @ rb_sysopen - tmp/js-processor.js                                                                                                                   
/var/www/discourse/lib/discourse_js_processor.rb:140:in `read'                                                                                                                                
/var/www/discourse/lib/discourse_js_processor.rb:140:in `create_new_context'                                                                                                                  
/var/www/discourse/lib/discourse_js_processor.rb:156:in `block in v8'                                                                                                                         
/var/www/discourse/lib/discourse_js_processor.rb:154:in `synchronize'                                                                                                                         
/var/www/discourse/lib/discourse_js_processor.rb:154:in `v8'                                                                                                                                  
/var/www/discourse/lib/discourse_js_processor.rb:169:in `block in v8_call'                                                                                                                    
/var/www/discourse/lib/discourse_js_processor.rb:168:in `synchronize'                                                                                                                         
/var/www/discourse/lib/discourse_js_processor.rb:168:in `v8_call'                                                                                                                             
/var/www/discourse/lib/discourse_js_processor.rb:193:in `perform'                                  

```

Is this related to [DEV: Use esbuild to make DiscourseJsProcessor by cvx · Pull Request #23223 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/23223)

---

_[View the full topic](https://meta.discourse.org/t/migration-trouble-related-to-discoursejsprocessor/276480)._
