title: BrowserStack cypress Run > error with cypress-cucumber-preprocessor dependency graph + cypress folder
body: <p>When launching tests with cypress to browserstack</p>
  <p>At the moment, debuging it by runnning the command on my dev environment (ubuntu)</p>
  <pre><code>npm run browserstack
  
  it calls the script from package.json &quot;browserstack&quot;: &quot;./node_modules/.bin/browserstack-cypress run --sync&quot;
  </code></pre>
  <p>My feature log execution shows the following error in browerstack build dashboard</p>
  <pre><code>Running:  features\desktop.feature                                              (NaN of undefined)
  
  Oops...we found an error preparing this test file:
  
    cypress\integration\features\desktop.feature
  
  The error was:
  
  Error: Can't walk dependency graph: Cannot find module 'C:UsershelloDocumentsdocumentscypress_testcypress_test_folder
  ode_modulescypress-cucumber-preprocessorlib
  esolveStepDefinition' from 'cypress_test_folder\cypress\integration\features'
      required by cypress_test_folder\cypress\integration\features\desktop.feature
      at cypress_test_folder\node_modules\browser-resolve\node_modules\resolve\lib\async.js:46:17
      at process (cypress_test_folder\node_modules\browser-resolve\node_modules\resolve\lib\async.js:173:43)
      at ondir (cypress_test_folder\node_modules\browser-resolve\node_modules\resolve\lib\async.js:188:17)
      at load (cypress_test_folder\node_modules\browser-resolve\node_modules\resolve\lib\async.js:69:43)
      at onex (cypress_test_folder\node_modules\browser-resolve\node_modules\resolve\lib\async.js:92:31)
      at cypress_test_folder\node_modules\browser-resolve\node_modules\resolve\lib\async.js:22:47
      at callback (C:\Windows\cypress_package\6.8.0\node_modules\graceful-fs\polyfills.js:289:20)
      at FSReqCallback.oncomplete (fs.js:172:21)
  
  This occurred while Cypress was compiling and bundling your test code. This is usually caused by:
  
  - A missing file or dependency
  - A syntax error in the file or one of its dependencies
  
  Fix the error in your code and re-run your tests.
  
    (Results)
  
    ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
    │ Tests:        0                                                                                │
    │ Passing:      0                                                                                │
    │ Failing:      1                                                                                │
    │ Pending:      0                                                                                │
    │ Skipped:      0                                                                                │
    │ Screenshots:  0                                                                                │
    │ Video:        false                                                                            │
    │ Duration:     0 seconds                                                                        │
    │ Spec Ran:     features\desktop.feature                                                         │
    └────────────────────────────────────────────────────────────────────────────────────────────────┘
  
  
    (Uploading Results)
  
    - Nothing to Upload
  </code></pre>
  <p>My browserstack.json is the following</p>
  <pre><code>{
      &quot;auth&quot;: {
          &quot;username&quot;: &quot;&lt;username&gt;&quot;,
          &quot;access_key&quot;: &quot;&lt;access_key&gt;&quot;
      },
      &quot;browsers&quot;: [
          {
              &quot;os&quot;: &quot;Windows 10&quot;,
              &quot;browser&quot;: &quot;chrome&quot;,
              &quot;versions&quot;: [&quot;latest&quot;]
          }
      ],
      &quot;run_settings&quot;: {
          &quot;cypress_version&quot; : &quot;6&quot;,
          &quot;cypress_config_file&quot;: &quot;./cypress.json&quot;,
          &quot;project_name&quot;: &quot;myproject&quot;,
          &quot;build_name&quot;: &quot;ui-automation&quot;,
          &quot;specs&quot;: [&quot;cypress/integration/features/desktop.feature&quot;,&quot;cypress/integration/features/desktop/desktop.js&quot;],
          &quot;exclude&quot;: [],
          &quot;parallels&quot;: &quot;Here goes the number of parallels you want to run&quot;,
          &quot;npm_dependencies&quot;: {
              &quot;cypress-cucumber-preprocessor&quot;: &quot;^1.19.2&quot;,
              &quot;browserstack-cypress-cli&quot;: &quot;^1.8.1&quot;,
              &quot;cypress&quot;: &quot;^3.8.3&quot;,
              &quot;cypress-xpath&quot;: &quot;^1.6.2&quot;          
          },
          &quot;package_config_options&quot;: {
              &quot;cypress_options&quot;: {
                  &quot;testFiles&quot;: &quot;**/*.feature&quot;,
                  &quot;ignoreTestFiles&quot;: &quot;*.js&quot;,
                  &quot;chromeWebSecurity&quot;: false
              },             
              &quot;cypress-cucumber-preprocessor_options&quot;: {
                  &quot;nonGlobalStepDefinitions&quot;: true,
                  &quot;step_definitions&quot;: &quot;cypress/integration/features/dekstop/&quot;
              }            
          },
          &quot;headless&quot;: false
      },
      &quot;connection_settings&quot;: {
          &quot;local&quot;: false,
          &quot;local_identifier&quot;: null,
          &quot;local_mode&quot;: null,
          &quot;local_config_file&quot;: null
      },
      &quot;disable_usage_reporting&quot;: false
  }
  </code></pre>
  <p>Following the start guide and any else tips, I did not find out what's going on, especially seems that on browserstack log, it's trying to locate a module with a windows path whereas all my testing env is on linux ubuntu &gt; I aim next to run all these on gitlab</p>