Skip to content

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

Open
@AGrzes

Description

@AGrzes

Prerequisites

  • I have searched the open issues to make sure I'm not opening a duplicate issue
  • I have read through the docs before asking a question
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions