Giter Site home page Giter Site logo

Comments (2)

Lawlzer avatar Lawlzer commented on July 1, 2024 4

Yep! This causes an error which stops code from running (it works fine outside of Docker for me, but errors in Docker?)

Posting the error below (for people who also have this issue, as I've spent a few hours trying to fix it. If I knew it came from cross-var, it'd have been a lot easier to debug)

cross-var cross-env NODE_ENV=production ts-node src/index.ts

/usr/src/app/node_modules/babel-core/lib/transformation/file/options/option-manager.js:328
throw e;
^

ReferenceError: Unknown plugin "transform-runtime" specified in "/usr/src/app/node_modules/babel-plugin-transform-regenerator/node_modules/regenerator-transform/package.json" at 0, attempted to resolve relative to "/usr/src/app/node_modules/babel-plugin-transform-regenerator/node_modules/regenerator-transform" (While processing preset: "/usr/src/app/node_modules/babel-preset-es2015/lib/index.js")
at /usr/src/app/node_modules/babel-core/lib/transformation/file/options/option-manager.js:180:17
at Array.map ()
at Function.normalisePlugins (/usr/src/app/node_modules/babel-core/lib/transformation/file/options/option-manager.js:158:20)
at OptionManager.mergeOptions (/usr/src/app/node_modules/babel-core/lib/transformation/file/options/option-manager.js:234:36)
at OptionManager.init (/usr/src/app/node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:12)
at compile (/usr/src/app/node_modules/babel-register/lib/node.js:103:45)
at loader (/usr/src/app/node_modules/babel-register/lib/node.js:144:14)
at Object.require.extensions. [as .js] (/usr/src/app/node_modules/babel-register/lib/node.js:154:7)
at Module.load (node:internal/modules/cjs/loader:1081:32) at Function.Module._load (node:internal/modules/cjs/loader:922:12)

from cross-var.

dfelix avatar dfelix commented on July 1, 2024

Same here!

from cross-var.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.