Skip to content

trying to build for linux, but errors #1234

@razorree

Description

@razorree

fatal: 'origin/develop-new' is not a commit and a branch 'develop-new' cannot be created from it
so i'll try with 'develop' branch,
but when I run tests:


    /home/rzr/dev/elevate/desktop/node_modules/axios/index.js:1
    ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){import axios from './lib/axios.js';
                                                                                      ^^^^^^

    SyntaxError: Cannot use import statement outside a module

      1 | import { inject, singleton } from "tsyringe";
      2 | import { Logger } from "../logger";
    > 3 | import axios, { AxiosInstance, AxiosRequestConfig, AxiosResponse } from "axios";
        | ^
      4 | import https from "https";
      5 | import * as rax from "retry-axios";
      6 | import tunnel from "https-proxy-agent";

      at Runtime.createScriptFromCode (node_modules/jest-runtime/build/index.js:1728:14)
      at Object.<anonymous> (src/clients/http.client.ts:3:1)

 PASS  src/backups/objects-stream-compressor.spec.ts (8.883 s)
 FAIL  src/specs/integration/strava/strava-activities.integration.spec.ts
  ● Test suite failed to run

    Jest encountered an unexpected token

and build doesn't work either:


npm error Missing script: "build:publish:linux"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions