Skip to content
This repository was archived by the owner on Jan 26, 2019. It is now read-only.

Error: Cannot find module 'typescript' #241

Closed
BigBrain-AI opened this issue Jan 27, 2018 · 2 comments
Closed

Error: Cannot find module 'typescript' #241

BigBrain-AI opened this issue Jan 27, 2018 · 2 comments

Comments

@BigBrain-AI
Copy link

BigBrain-AI commented Jan 27, 2018

$ yarn start
yarn run v1.3.2
$ react-scripts-ts start
module.js:544
    throw err;
    ^

Error: Cannot find module 'typescript'
    at Function.Module._resolveFilename (module.js:542:15)
    at Function.Module._load (module.js:472:25)
    at Module.require (module.js:585:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (D:\mms\mms-ui\node_modules\fork-ts-checker-webpack-plugin\lib\CancellationToken.js:6:10)
    at Module._compile (module.js:641:30)
    at Object.Module._extensions..js (module.js:652:10)
    at Module.load (module.js:560:32)
    at tryModuleLoad (module.js:503:12)
    at Function.Module._load (module.js:495:3)
    at Module.require (module.js:585:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (D:\mms\mms-ui\node_modules\fork-ts-checker-webpack-plugin\lib\index.js:10:25)
    at Module._compile (module.js:641:30)
    at Object.Module._extensions..js (module.js:652:10)
    at Module.load (module.js:560:32)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Upgraded to 2.13.0 and started getting the error above. I'm not sure it's a bug or not. Can someone help me please?

I've tried yarn cache clean and then yarn install but that did not work either.

@caghand
Copy link

caghand commented Jan 27, 2018

Yeah, I have mentioned this problem in #165 (comment). :)

@BigBrain-AI
Copy link
Author

Thanks.

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

2 participants