Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Getting "module not found 'typescript' when running with DEBUG=* #73

Closed
Aghassi opened this issue Feb 13, 2019 · 2 comments
Closed

Getting "module not found 'typescript' when running with DEBUG=* #73

Aghassi opened this issue Feb 13, 2019 · 2 comments

Comments

@Aghassi
Copy link

Aghassi commented Feb 13, 2019

  @oclif/config Cannot find typescript { Error: Cannot find module 'typescript'
    at Function.Module._resolveFilename (module.js:548:15)
    at Function.Module._load (module.js:475:25)
    at Module.require (module.js:597:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/Users/daghassi/git/cli/node_modules/@oclif/config/lib/ts-node.js:9:18)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3) code: 'MODULE_NOT_FOUND' } +0ms

I assume this is an easy fix as right now typescript is a dev dependency in this repo, and it needs to be a dependency since this relies on it directly.

@softmarshmallow
Copy link

can you share us your solution?

@RasPhilCo
Copy link
Contributor

This was fixed in oclif/config. Are you updated and still experiencing it?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants