As trying to compile and install Go 1.10 or later, I just faced

% gvm install go1.10
Installing go1.10...
* Compiling...
failed MSpanList_Insert 0x1604000 0x1d937bc57c9a 0x0
fatal error: MSpanList_Insert

so sad


  • Just use go1.8 for bootstrap of your compiling.
  • In case go1.8 cannot be installed because of the same error, just install go1.8 as a binary.


% gvm listgvm gos (installed)go1.4% gvm use go1.4
Now using version go1.4
% gvm install go1.11
Installing go1.11...
* Compiling...
failed MSpanList_Insert 0x5105000 0x1d3f30fb6b0b 0x0
fatal error: MSpanList_Insert

so sad

% gvm uninstall go1.4
Uninstalled version go1.4
% gvm install go1.8

Expecting JavaScript developers who have / will have developed Chrome Extension ever.


The minimum example is working here.

Table of Contents

  1. Why?
  2. Background Script
  3. Content Script
  4. Conclusion


Static files like CSS and JavaScript always have a specific problem to deliver themselves: “How to bundle bunch of dependencies to one file”.

For JavaScript, as you know, there are many bundler middleware, e.g. Browserify, RequireJS and Webpack, can resolve “require” method or “import” keyword and bundle JavaScript (sometimes AltJS) files to a single output.

Thanks to browsers’ support of ES2015 (so called ES6), “import” keyword can be used without using such middleware mentioned above, only…


wanna be died on Mars

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store