Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

babel 7 support #174

Closed
FDiskas opened this issue Feb 27, 2018 · 3 comments
Closed

babel 7 support #174

FDiskas opened this issue Feb 27, 2018 · 3 comments

Comments

@FDiskas
Copy link

FDiskas commented Feb 27, 2018

error
errors and so on

@mkapiczy
Copy link

Any update on that? I get the following error, and after removing babel-plugin-tcomb the project compiles:

ERROR in ./src/services/Table.js Module build failed (from ./node_modules/babel-loader/lib/index.js): Error: Unknown substitution "warnOnFailure" given at Object.keys.forEach.key (/Users/michalkapiczynski/Projects/Sirenia/cuesta/node_modules/@babel/template/lib/populate.js:35:15) at Array.forEach (<anonymous>) at populatePlaceholders (/Users/michalkapiczynski/Projects/Sirenia/cuesta/node_modules/@babel/template/lib/populate.js:33:31) at arg (/Users/michalkapiczynski/Projects/Sirenia/cuesta/node_modules/@babel/template/lib/string.js:22:51) at arg (/Users/michalkapiczynski/Projects/Sirenia/cuesta/node_modules/@babel/template/lib/builder.js:77:14) at /Users/michalkapiczynski/Projects/Sirenia/cuesta/node_modules/babel-plugin-tcomb/lib/index.js:246:18 at PluginPass.exit (/Users/michalkapiczynski/Projects/Sirenia/cuesta/node_modules/babel-plugin-tcomb/lib/index.js:696:33) at newFn (/Users/michalkapiczynski/Projects/Sirenia/cuesta/node_modules/@babel/traverse/lib/visitors.js:193:21) at NodePath._call (/Users/michalkapiczynski/Projects/Sirenia/cuesta/node_modules/@babel/traverse/lib/path/context.js:53:20) at NodePath.call (/Users/michalkapiczynski/Projects/Sirenia/cuesta/node_modules/@babel/traverse/lib/path/context.js:40:17) at NodePath.visit (/Users/michalkapiczynski/Projects/Sirenia/cuesta/node_modules/@babel/traverse/lib/path/context.js:97:8) at TraversalContext.visitQueue (/Users/michalkapiczynski/Projects/Sirenia/cuesta/node_modules/@babel/traverse/lib/context.js:118:16) at TraversalContext.visitSingle (/Users/michalkapiczynski/Projects/Sirenia/cuesta/node_modules/@babel/traverse/lib/context.js:90:19) at TraversalContext.visit (/Users/michalkapiczynski/Projects/Sirenia/cuesta/node_modules/@babel/traverse/lib/context.js:146:19) at Function.traverse.node (/Users/michalkapiczynski/Projects/Sirenia/cuesta/node_modules/@babel/traverse/lib/index.js:94:17) at traverse (/Users/michalkapiczynski/Projects/Sirenia/cuesta/node_modules/@babel/traverse/lib/index.js:76:12) ============= at expression (/Users/michalkapiczynski/Projects/Sirenia/cuesta/node_modules/babel-plugin-tcomb/lib/index.js:244:14) at exports.default (/Users/michalkapiczynski/Projects/Sirenia/cuesta/node_modules/babel-plugin-tcomb/lib/index.js:25:24) at loadDescriptor (/Users/michalkapiczynski/Projects/Sirenia/cuesta/node_modules/@babel/core/lib/config/full.js:165:14) at cachedFunction (/Users/michalkapiczynski/Projects/Sirenia/cuesta/node_modules/@babel/core/lib/config/caching.js:33:19) at loadPluginDescriptor (/Users/michalkapiczynski/Projects/Sirenia/cuesta/node_modules/@babel/core/lib/config/full.js:200:28) at config.plugins.reduce (/Users/michalkapiczynski/Projects/Sirenia/cuesta/node_modules/@babel/core/lib/config/full.js:69:20) at Array.reduce (<anonymous>) at recurseDescriptors (/Users/michalkapiczynski/Projects/Sirenia/cuesta/node_modules/@babel/core/lib/config/full.js:67:38) @ ./src/services/index.js 49:0-29 50:0-27 @ ./src/main.js @ multi ./build/dev-client ./src/main.js

@voodee
Copy link

voodee commented Nov 28, 2018

any progress?

@minedeljkovic
Copy link
Collaborator

Fixed in 0.4.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants