Prerequisites
Describe the issue
Upgrading from 1.2.12 to 1.3.1 and now I'm suddenly getting the following errors about missing themes:
failed Building production JavaScript and CSS bundles - 8.572s
ERROR #98124 WEBPACK.BUILD-JAVASCRIPT
Generating JavaScript bundles failed
Can't resolve '@pierre/theme/pierre-dark' in '/Users/anton/Git/physically-based-web/node_modules/@pierre/theming/dist/collections'
If you're trying to use a package make sure that '@pierre/theme/pierre-dark' is installed. If you're trying to use a local file make sure that the path is correct.
File: node_modules/@pierre/theming/dist/collections/pierre.js:38:22
ERROR #98124 WEBPACK.BUILD-JAVASCRIPT
Generating JavaScript bundles failed
Can't resolve '@pierre/theme/pierre-dark-soft' in '/Users/anton/Git/physically-based-web/node_modules/@pierre/theming/dist/collections'
If you're trying to use a package make sure that '@pierre/theme/pierre-dark-soft' is installed. If you're trying to use a local file make sure that the path is correct.
File: node_modules/@pierre/theming/dist/collections/pierre.js:39:27
ERROR #98124 WEBPACK.BUILD-JAVASCRIPT
Generating JavaScript bundles failed
Can't resolve '@pierre/theme/pierre-dark-vibrant' in '/Users/anton/Git/physically-based-web/node_modules/@pierre/theming/dist/collections'
If you're trying to use a package make sure that '@pierre/theme/pierre-dark-vibrant' is installed. If you're trying to use a local file make sure that the path is correct.
File: node_modules/@pierre/theming/dist/collections/pierre.js:40:30
ERROR #98124 WEBPACK.BUILD-JAVASCRIPT
Generating JavaScript bundles failed
Can't resolve '@pierre/theme/pierre-dark-protanopia-deuteranopia' in '/Users/anton/Git/physically-based-web/node_modules/@pierre/theming/dist/collections'
If you're trying to use a package make sure that '@pierre/theme/pierre-dark-protanopia-deuteranopia' is installed. If you're trying to use a local file make sure that the path is correct.
File: node_modules/@pierre/theming/dist/collections/pierre.js:41:46
ERROR #98124 WEBPACK.BUILD-JAVASCRIPT
Generating JavaScript bundles failed
Can't resolve '@pierre/theme/pierre-dark-tritanopia' in '/Users/anton/Git/physically-based-web/node_modules/@pierre/theming/dist/collections'
If you're trying to use a package make sure that '@pierre/theme/pierre-dark-tritanopia' is installed. If you're trying to use a local file make sure that the path is correct.
File: node_modules/@pierre/theming/dist/collections/pierre.js:42:33
ERROR #98124 WEBPACK.BUILD-JAVASCRIPT
Generating JavaScript bundles failed
Can't resolve '@pierre/theme/pierre-light' in '/Users/anton/Git/physically-based-web/node_modules/@pierre/theming/dist/collections'
If you're trying to use a package make sure that '@pierre/theme/pierre-light' is installed. If you're trying to use a local file make sure that the path is correct.
File: node_modules/@pierre/theming/dist/collections/pierre.js:43:23
ERROR #98124 WEBPACK.BUILD-JAVASCRIPT
Generating JavaScript bundles failed
Can't resolve '@pierre/theme/pierre-light-soft' in '/Users/anton/Git/physically-based-web/node_modules/@pierre/theming/dist/collections'
If you're trying to use a package make sure that '@pierre/theme/pierre-light-soft' is installed. If you're trying to use a local file make sure that the path is correct.
File: node_modules/@pierre/theming/dist/collections/pierre.js:44:28
ERROR #98124 WEBPACK.BUILD-JAVASCRIPT
Generating JavaScript bundles failed
Can't resolve '@pierre/theme/pierre-light-vibrant' in '/Users/anton/Git/physically-based-web/node_modules/@pierre/theming/dist/collections'
If you're trying to use a package make sure that '@pierre/theme/pierre-light-vibrant' is installed. If you're trying to use a local file make sure that the path is correct.
File: node_modules/@pierre/theming/dist/collections/pierre.js:45:31
ERROR #98124 WEBPACK.BUILD-JAVASCRIPT
Generating JavaScript bundles failed
Can't resolve '@pierre/theme/pierre-light-protanopia-deuteranopia' in '/Users/anton/Git/physically-based-web/node_modules/@pierre/theming/dist/collections'
If you're trying to use a package make sure that '@pierre/theme/pierre-light-protanopia-deuteranopia' is installed. If you're trying to use a local file make sure that the path is correct.
File: node_modules/@pierre/theming/dist/collections/pierre.js:46:47
ERROR #98124 WEBPACK.BUILD-JAVASCRIPT
Generating JavaScript bundles failed
Can't resolve '@pierre/theme/pierre-light-tritanopia' in '/Users/anton/Git/physically-based-web/node_modules/@pierre/theming/dist/collections'
If you're trying to use a package make sure that '@pierre/theme/pierre-light-tritanopia' is installed. If you're trying to use a local file make sure that the path is correct.
File: node_modules/@pierre/theming/dist/collections/pierre.js:47:34
Reproduction
- Install @pierre/diffs in a project that uses Webpack
- Use
import { MultiFileDiff } from "@pierre/diffs/react" in a React component
- Compile and observe the issue
What browser(s) are you seeing the problem on?
Firefox
What version of @pierre/diffs are you using?
1.3.1
Prerequisites
Describe the issue
Upgrading from 1.2.12 to 1.3.1 and now I'm suddenly getting the following errors about missing themes:
Reproduction
import { MultiFileDiff } from "@pierre/diffs/react"in a React componentWhat browser(s) are you seeing the problem on?
Firefox
What version of @pierre/diffs are you using?
1.3.1