question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Cannot find module 'vinyl-source-stream'

See original GitHub issue
const comms = {
	requestData: async function (method, url, requestBody) {
		return await r2[method](url, requestBody)
	}
}

RequestData results in

Welcome to 3VOT
module.js:457
    throw err;
    ^

Error: Cannot find module 'vinyl-source-stream'
    at Function.Module._resolveFilename (module.js:455:15)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (***/node_modules/r2/tasks/dist.js:10:20)
    at Module._compile (module.js:556:32)
    at Module._extensions..js (module.js:565:10)
    at Object.require.extensions.(anonymous function) [as .js] (***/node_modules/babel-register/lib/node.js:152:7)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:7

github_iconTop GitHub Comments

1reaction
gr2mcommented, Feb 27, 2018

all fixed now 😃

1reaction
g8upcommented, Sep 5, 2017

thx for reminding! I have installed by this way:

npm i git+https://github.com/mikeal/r2.git

Read more comments on GitHub >

github_iconTop Results From Across the Web

vinyl-source-stream - npm
Creates a through stream which takes text as input, and emits a single vinyl file instance for streams down the pipeline to consume....
Read more >
Cannot find module 'vinyl-source-stream' · Issue #80 - GitHub
Getting this error when running updated code (against May release) using gulp run --view ... Error: Cannot find module 'vinyl-source-stream'
Read more >
Why do I have to use vinyl-source-stream with gulp?
I am trying to use gulp and browserify to transform my . jsx files into . js files. var source = require('vinyl-source-stream'); ......
Read more >
vinyl-source-stream - npm Package Health Analysis - Snyk
Is vinyl-source-stream safe to use? The npm package vinyl-source-stream was scanned for known vulnerabilities and missing license, and no issues were found. ...
Read more >
Homestead gulp/npm not working - Laracasts
Hello! I'm on a windows box, installed Oracle VM, git bash, vagrant. And then I ran the following commands on the VM: Copy...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found