We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
node.js: v9.2.0 webpack: v4.29.6
There is a problem with downloading related modules. Output below:
webpack.config.js
const ImportHttpWebpackPlugin = require('import-http/webpack') module.exports = { plugins: [new ImportHttpWebpackPlugin()] }
src/index.js
import request from 'https://unpkg.com/axios' const result = request.get('https://google.com'); console.log(result);
~$ webpack
pako@b00s:~/projects/testrevolution/testrevolution/extension/test$ /home/pako/projects/testrevolution/testrevolution/extension/node_modules/.bin/webpack Downloading https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/stream-http/index.js... Downloading https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/https-browserify/index.js... Downloading https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/url/url.js... Downloading https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/browserify-zlib/lib/index.js... Downloading https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/url/url.js... Downloading https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/stream-http/index.js... Downloading https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/https-browserify/index.js... Downloading https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/assert/assert.js... Downloading https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/stream-browserify/index.js... Failed to download https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/browserify-zlib/lib/index.js... Downloading https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/browserify-zlib/lib/index.js... Failed to download https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/url/url.js... Downloading https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/url/url.js... Failed to download https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/https-browserify/index.js... Downloading https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/https-browserify/index.js... Failed to download https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/https-browserify/index.js... Downloading https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/https-browserify/index.js... Failed to download https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/stream-http/index.js... Downloading https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/stream-http/index.js... Failed to download https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/url/url.js... Downloading https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/url/url.js... Failed to download https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/stream-http/index.js... Downloading https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/stream-http/index.js... Failed to download https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/browserify-zlib/lib/index.js... Failed to download https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/https-browserify/index.js... Failed to download https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/url/url.js... Failed to download https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/stream-http/index.js... Failed to download https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/https-browserify/index.js... Failed to download https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/url/url.js... Failed to download https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/stream-http/index.js... Failed to download https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/stream-browserify/index.js... Downloading https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/stream-browserify/index.js... Failed to download https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/assert/assert.js... Downloading https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/assert/assert.js... Failed to download https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/stream-browserify/index.js... Failed to download https://unpkg.com//home/pako/projects/testrevolution/testrevolution/extension/node_modules/assert/assert.js... Hash: e7cdd1139d49c8d453d6 Version: webpack 4.29.6 Time: 1935ms Built at: 2019-03-19 21:41:22 1 asset Entrypoint main = main.js [0] /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/utils 7.36 KiB {0} [built] [1] /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/defaults 2.38 KiB {0} [built] [3] /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/helpers/bind 256 bytes {0} [built] [9] /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/cancel/isCancel 102 bytes {0} [built] [10] /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/cancel/Cancel 385 bytes {0} [built] [11] /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/index.js 40 bytes {0} [built] [12] ./src/index.js 117 bytes {0} [built] [13] /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/axios 1.34 KiB {0} [built] [14] /home/pako/.cache/import-http/deps/https/unpkg.com/is-buffer@2.0.3/index.js 301 bytes {0} [built] [15] /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/core/Axios 2.14 KiB {0} [built] [16] /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/helpers/normalizeHeaderName 357 bytes {0} [built] [17] /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/adapters/xhr 6.03 KiB {0} [built] [22] /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/adapters/http 7.17 KiB {0} [built] [35] /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/cancel/CancelToken 1.21 KiB {0} [built] [36] /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/helpers/spread 564 bytes {0} [built] + 22 hidden modules WARNING in configuration The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment. You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/concepts/mode/ ERROR in /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/adapters/http Module not found: Error: Not Found @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/adapters/http 11:11-26 @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/defaults @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/axios @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/index.js @ ./src/index.js ERROR in /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/adapters/http Module not found: Error: Not Found @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/adapters/http 7:12-28 @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/defaults @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/axios @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/index.js @ ./src/index.js ERROR in /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/adapters/http Module not found: Error: Not Found @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/adapters/http 10:10-24 @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/defaults @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/axios @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/index.js @ ./src/index.js ERROR in /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/adapters/http Module not found: Error: Not Found @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/adapters/http 6:11-26 @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/defaults @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/axios @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/index.js @ ./src/index.js ERROR in /home/pako/.cache/import-http/deps/https/unpkg.com/follow-redirects@1.7.0/index.js Module not found: Error: Not Found @ /home/pako/.cache/import-http/deps/https/unpkg.com/follow-redirects@1.7.0/index.js 4:12-28 @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/adapters/http @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/defaults @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/axios @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/index.js @ ./src/index.js ERROR in /home/pako/.cache/import-http/deps/https/unpkg.com/follow-redirects@1.7.0/index.js Module not found: Error: Not Found @ /home/pako/.cache/import-http/deps/https/unpkg.com/follow-redirects@1.7.0/index.js 1:10-24 @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/adapters/http @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/defaults @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/axios @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/index.js @ ./src/index.js ERROR in /home/pako/.cache/import-http/deps/https/unpkg.com/follow-redirects@1.7.0/index.js Module not found: Error: Not Found @ /home/pako/.cache/import-http/deps/https/unpkg.com/follow-redirects@1.7.0/index.js 3:11-26 @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/adapters/http @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/defaults @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/axios @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/index.js @ ./src/index.js ERROR in /home/pako/.cache/import-http/deps/https/unpkg.com/follow-redirects@1.7.0/index.js Module not found: Error: Not Found @ /home/pako/.cache/import-http/deps/https/unpkg.com/follow-redirects@1.7.0/index.js 6:15-32 @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/adapters/http @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/defaults @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/axios @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/index.js @ ./src/index.js ERROR in /home/pako/.cache/import-http/deps/https/unpkg.com/follow-redirects@1.7.0/index.js Module not found: Error: Not Found @ /home/pako/.cache/import-http/deps/https/unpkg.com/follow-redirects@1.7.0/index.js 5:13-30 @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/adapters/http @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/defaults @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/lib/axios @ /home/pako/.cache/import-http/deps/https/unpkg.com/axios@0.18.0/index.js @ ./src/index.js pako@b00s:~/projects/testrevolution/testrevolution/extension/test$
The text was updated successfully, but these errors were encountered:
No branches or pull requests
node.js: v9.2.0
webpack: v4.29.6
There is a problem with downloading related modules. Output below:
webpack.config.js
src/index.js
~$ webpack
The text was updated successfully, but these errors were encountered: