spectacle icon indicating copy to clipboard operation
spectacle copied to clipboard

Project created using `create-spectacle` is missing `raw-loader` dependency.

Open AGrzes opened this issue 2 years ago • 0 comments

Prerequisites

  • [X] I have searched the open issues to make sure I'm not opening a duplicate issue
  • [X] I have read through the docs before asking a question
  • [X] I am using the latest version of Spectacle

Describe Your Environment

What version of Spectacle are you using? 10.1.7

What version of React are you using? 18.2.0

What browser are you using? Not Applicable

What platform are you on? linux

Describe the Problem

Project created using create-spectacle is missing raw-loader dependency.

Expected behavior: After creating project and installing declared dependencies the project is able ti start

Actual behavior: There is an error during start

[webpack-cli] Error: Cannot find module 'raw-loader'

Additional Information

Raw loader package is referenced here https://github.com/FormidableLabs/spectacle/blob/main/packages/create-spectacle/src/templates/webpack.ts#L25 But not mentioned here https://github.com/FormidableLabs/spectacle/blob/main/packages/create-spectacle/src/templates/package.ts#L25-L44

AGrzes avatar Dec 19 '23 20:12 AGrzes