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

Missing dependency issue: Error: Cannot find module 'source-map-support/register' #14

Open
SebastianMetzger opened this issue Jan 12, 2019 · 0 comments

Comments

@SebastianMetzger
Copy link
Contributor

I included the 1.0.0 version into my project.
image

Unfortunately there was a dependency issue on runtime:

module.js:549
    throw err;
    ^

Error: Cannot find module 'source-map-support/register'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (C:\MY_PROJECT\node_modules\ganache-core\index.js:2:1)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (C:\MY_PROJECT\node_modules\@0x\subproviders\lib\src\subpro
viders\ganache.js:51:15)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (C:\MY_PROJECT\node_modules\@0x\subproviders\lib\src\index.
js:74:17)
    at Module._compile (module.js:652:30)

I could fix it by manually adding the dependecy:
npm install --save-dev source-map-support

NPM version: 5.6.0

@SebastianMetzger SebastianMetzger changed the title Missing dependency issue: rror: Cannot find module 'source-map-support/register' Missing dependency issue: Error: Cannot find module 'source-map-support/register' Jan 12, 2019
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

1 participant