Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I get an error: The sourceMapTarget option has been removed ... #7

Closed
scharf opened this issue Apr 5, 2018 · 5 comments
Closed

I get an error: The sourceMapTarget option has been removed ... #7

scharf opened this issue Apr 5, 2018 · 5 comments

Comments

@scharf
Copy link

scharf commented Apr 5, 2018

I get the following error and I am not sure how to fix it and if it really has to do with nathantreid:typescript-babel:

While processing files with nathantreid:typescript-babel (for target os.osx.x86_64):

   /Users/scharf/.meteor/packages/meteor-tool/.1.6.1_1.162ni0e.31l7++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/@babel/core/lib/config/validation/options.js:95:11:
   Using removed Babel 6 option: .sourceMapTarget - The `sourceMapTarget` option has been removed because it makes more sense for the tooling
   that calls Babel to assign `map.file` themselves.
   at buildUnknownError
   (/Users/scharf/.meteor/packages/meteor-tool/.1.6.1_1.162ni0e.31l7++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/@babel/core/lib/config/validation/options.js:95:11)
   at
   /Users/scharf/.meteor/packages/meteor-tool/.1.6.1_1.162ni0e.31l7++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/@babel/core/lib/config/validation/options.js:84:57
   at Array.forEach (<anonymous>)
   at validate
   (/Users/scharf/.meteor/packages/meteor-tool/.1.6.1_1.162ni0e.31l7++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/@babel/core/lib/config/validation/options.js:62:21)
   at loadPrivatePartialConfig
   (/Users/scharf/.meteor/packages/meteor-tool/.1.6.1_1.162ni0e.31l7++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/@babel/core/lib/config/partial.js:28:48)
   at loadFullConfig
   (/Users/scharf/.meteor/packages/meteor-tool/.1.6.1_1.162ni0e.31l7++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/@babel/core/lib/config/full.js:33:37)
   at
   /Users/scharf/.meteor/packages/meteor-tool/.1.6.1_1.162ni0e.31l7++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/@babel/core/lib/transform.js:26:33
   at _combinedTickCallback (internal/process/next_tick.js:131:7)
   at process._tickCallback (internal/process/next_tick.js:180:9)
@scharf
Copy link
Author

scharf commented Apr 5, 2018

My guess is that the problem is here

See also the meteor/babel-compiler

@scharf
Copy link
Author

scharf commented Apr 5, 2018

see babel/babel#7500

@scharf
Copy link
Author

scharf commented Apr 5, 2018

I am using meteor 1.6.1, I think they have upgraded babel and fixed the problem for this version...

@scharf
Copy link
Author

scharf commented Apr 5, 2018

I really think, meteor should maintain typescript support

@akanix42
Copy link
Owner

This issue was fixed some time ago, but I forgot to close it. Thanks for the report!

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

No branches or pull requests

2 participants