安装Atom和atom-typescript包时出现Babel错误

时间:2015-07-03 01:29:31

标签: typescript atom-editor

我收到了这个奇怪的错误:

\v

我见过其他人报告过,但不是在Typescript和Atom的背景下。有人知道吗?

1 个答案:

答案 0 :(得分:1)

  

但不是在Typescript和Atom的上下文中。有人知道吗?

两件事:

  • Atom提供compact作为内置的转换器。所有JavaScript文件都传递给了babel。
  • Babel删除文件发出时的空格&gt; 100kb(可以使用<?xml version="1.0" encoding="UTF-8" ?> <npidata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.npi.gov.au/includes/download/npi-data-download.xsd"> <report> <year>2014</year> <registered_business_name>W H HECK &amp; SONS PTY LTD</registered_business_name> - IGNORE <abn>91009661401</abn> - IGNORE <acn>009661401</acn> - IGNORE <sub_threshold>N</sub_threshold> <data_start_date>2013-07-01</data_start_date> <data_end_date>2014-06-30</data_end_date> <first_published_date>2015-03-31</first_published_date> <last_updated_date>2015-03-31</last_updated_date> <number_of_employees>55</number_of_employees> - IGNORE <facility_name>Rocky Point Sugarmill</facility_name> <jurisdiction_facility_id>Q014HEK001</jurisdiction_facility_id> - PRIMARY KEY <jurisdiction>QLD</jurisdiction> - IGNORE <site_address_street>MILL RD</site_address_street> - IGNORE <site_address_suburb>Woongoolba</site_address_suburb> <site_address_state>QLD</site_address_state> <site_address_postcode>4207</site_address_postcode> <main_activities>Sugarmilling</main_activities> <site_latitude>-27.735666</site_latitude> <site_longitude>153.327611</site_longitude> <anzsic_codes> - IGNORE <anzsic_code> - IGNORE <type>Primary</type><code>1181</code> - IGNORE <name>Sugar Manufacturing</name> - IGNORE </anzsic_code> - IGNORE </anzsic_codes> - IGNORE <public_contact> - IGNORE <title>Mr</title> <name>David</name> - IGNORE <surname>Heck</surname> - IGNORE <position>Managing Director</position> - IGNORE <phone>(07) 5547 4500</phone> - IGNORE <fax>(07) 5546 1233</fax> - IGNORE <email>david@heckgroup.com.au</email> - IGNORE </public_contact> - IGNORE <emissions> <emission> <substance>Ethanol</substance> <destination>Water</destination> <quantity_in_kg>19518</quantity_in_kg> <mass_balance_estimation>N</mass_balance_estimation> <engineering_calculations_estimation>Y</engineering_calculations_estimation> <direct_measurement_estimation>N</direct_measurement_estimation> <emission_factors_estimation>N</emission_factors_estimation> <approved_alternative_estimation>N</approved_alternative_estimation> </emission> <emission> <substance>Ethanol</substance> <destination>Air Fugitive</destination> <quantity_in_kg>2114.45</quantity_in_kg> <mass_balance_estimation>N</mass_balance_estimation> <engineering_calculations_estimation>Y</engineering_calculations_estimation> <direct_measurement_estimation>N</direct_measurement_estimation> <emission_factors_estimation>N</emission_factors_estimation> <approved_alternative_estimation>N</approved_alternative_estimation> </emission> <emission> <substance>Ethanol</substance> <destination>Air Total</destination> <quantity_in_kg>2114.45</quantity_in_kg> </emission> <emission> <substance>Hydrochloric acid</substance> <destination>Land</destination> <quantity_in_kg>2282.95</quantity_in_kg> <mass_balance_estimation>N</mass_balance_estimation> <engineering_calculations_estimation>Y</engineering_calculations_estimation> <direct_measurement_estimation>N</direct_measurement_estimation> <emission_factors_estimation>N</emission_factors_estimation> <approved_alternative_estimation>N</approved_alternative_estimation> </emission> <emission> <substance>Particulate Matter 10.0 um</substance> <destination>Air Fugitive</destination> <quantity_in_kg>398.91285</quantity_in_kg> <mass_balance_estimation>N</mass_balance_estimation> <engineering_calculations_estimation>Y</engineering_calculations_estimation> <direct_measurement_estimation>N</direct_measurement_estimation> <emission_factors_estimation>N</emission_factors_estimation> <approved_alternative_estimation>N</approved_alternative_estimation> </emission> <emission> <substance>Particulate Matter 10.0 um</substance> <destination>Air Total</destination> <quantity_in_kg>398.91285</quantity_in_kg> </emission> </emissions> <transfers></transfers> - IGNORE <pollution_control_devices></pollution_control_devices> - IGNORE <cleaner_production_activities></cleaner_production_activities> - IGNORE </report> 选项控制)。这就是你看到这条消息的原因。

可以安全地忽略它。