Skip to content

Build failed #39

Description

@janes-r
running transcrypt...

Transcrypt (TM) Python to JavaScript Small Sane Subset Transpiler Version 3.7.17
Copyright (C) Geatec Engineering. License: Apache 2.0


Saving target code in: /home/toor/Desktop/game/screeps-starter-python/screeps-starter-python/src/__target__/org.transcrypt.__runtime__.js
Saving target code in: /home/toor/Desktop/game/screeps-starter-python/screeps-starter-python/src/__target__/defs.js
Saving target code in: /home/toor/Desktop/game/screeps-starter-python/screeps-starter-python/src/__target__/harvester.js
Saving target code in: /home/toor/Desktop/game/screeps-starter-python/screeps-starter-python/src/__target__/main.js

Ready

copying artifacts...
/home/toor/Desktop/game/screeps-starter-python/screeps-starter-python/node_modules/rollup/dist/shared/loadConfigFile.js:536
        return import(pluginPath);
               ^^^^^^

SyntaxError: Unexpected token import
    at createScript (vm.js:80:10)
    at Object.runInThisContext (vm.js:139:10)
    at Module._compile (module.js:616:28)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Module.<anonymous> (/home/toor/Desktop/game/screeps-starter-python/screeps-starter-python/node_modules/rollup/dist/bin/rollup:22:24)

Traceback (most recent call last):
  File "build.py", line 437, in <module>
    main()
  File "build.py", line 432, in main
    build(config)
  File "build.py", line 278, in build
    copy_artifacts(config)
  File "build.py", line 254, in copy_artifacts
    raise Exception("rollup failed. exit code: {}. command line '{}'. working dir: '{}'."
Exception: rollup failed. exit code: 1. command line '/home/toor/Desktop/game/screeps-starter-python/screeps-starter-python/node_modules/.bin/rollup' '--format' 'cjs' '--input' '/home/toor/Desktop/game/screeps-starter-python/screeps-starter-python/src/__target__/main.js'. working dir: '/home/toor/Desktop/game/screeps-starter-python/screeps-starter-python/src'.

how to fix it?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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