Comments (2)
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.
Same here!
from cross-var.
Related Issues (19)
- Exit code transmission (1.0.3)
- Throws stderr maxBuffer exceeded error for some commands
- Crashes with version 1.0.3
- Support `${}` syntax HOT 1
- Unable to use in a folder whose name contains "src" HOT 3
- Only works for the first variable HOT 1
- Error if used before source command HOT 4
- Ignore a variable HOT 2
- Doesn´t work with two or more variables
- reducing dependencies HOT 1
- Dependency upgrade
- Cannot find module './_arrayEach' on windows
- Continue maintaining this project
- cross-var doesn't work properly with Powershell
- Handling platform specific delimiters HOT 18
- Error if you have any environment var set with key name having special chars
- Usage as dependency in apps that also use babel HOT 8
- $NODE and $NODE_DEBUG_OPTION get commingled HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cross-var.