FormidableLabs / FormidableLabs/spectacle

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

Open
#1,309 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
10.2k
Forks
700
PR merge metrics
No merged PRs in 30d

Description

### Prerequisites

- [X] I have searched the open [issues](https://www.github.com/FormidableLabs/spectacle/issues) to make sure I'm not opening a duplicate issue
- [X] I have read through the [docs](https://www.formidable.com/open-source/spectacle/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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.