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

Updating to 2.13.0 breaks the build  #244

Closed
@rprimet

Description

@rprimet

Is this a bug report?

Yes

Environment

  1. node -v: 8.9.4
  2. npm -v: 3.10.8

Then, specify:

  1. Operating system: Linux
  2. Browser and version (if relevant): Irrelevant

Steps to Reproduce

  1. set the react-script-ts version of an existing project to0.2.13
  2. run npm install
  3. run npm start

Expected Behavior

The project installs updated dependencies, then builds and starts

Actual Behavior

  • During the npm install phase:
├─┬ react-scripts-ts@2.13.0 
│ ├─┬ tsconfig-paths-webpack-plugin@2.0.0 
│ │ ├─┬ chalk@2.3.0 
│ │ │ └── supports-color@4.5.0 
│ │ └─┬ tsconfig-paths@3.1.1 
│ │   ├── deepmerge@2.0.1 
│ │   └── strip-bom@3.0.0 
│ └── UNMET PEER DEPENDENCY typescript@^2.1.0
└── UNMET PEER DEPENDENCY typescript@2.x

During the npm start phase:

> react-scripts-ts start

module.js:540
    throw err;
    ^

Error: Cannot find module 'typescript'
    at Function.Module._resolveFilename (module.js:538:15)
    at Function.Module._load (module.js:468:25)
    at Module.require (module.js:587:17)
    at require (internal/module.js:11:18)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions