Commit 4ec289e
authored
Pin sass-embedded to 1.62.0 to avoid "Cannot find module 'sass'" error (#35)
Pin sass-embedded to 1.62.0 to avoid "Cannot find module 'sass'" error.
Also, remove the yarn.lock as it is not used transitively anyways.
```
ERROR in ./workspace.scss (./workspace.scss.webpack[javascript/auto]!=!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[7].use[1]!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[7].use[2]!../../node_modules/resolve-url-loader/index.js??ruleSet[1].rules[1].oneOf[7].use[3]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[7].use[4]!./workspace.scss)
Module build failed (from ../../node_modules/sass-loader/dist/cjs.js):
Error: Cannot find module 'sass'
Require stack:
- /home/michael/workspaces/standalone_repos/visyn_scripts/node_modules/sass-loader/dist/utils.js
- /home/michael/workspaces/standalone_repos/visyn_scripts/node_modules/sass-loader/dist/index.js
- /home/michael/workspaces/standalone_repos/visyn_scripts/node_modules/sass-loader/dist/cjs.js
- /home/michael/workspaces/standalone_repos/visyn_scripts/tests_fixtures/standalone_test/node_modules/loader-runner/lib/loadLoader.js
- /home/michael/workspaces/standalone_repos/visyn_scripts/tests_fixtures/standalone_test/node_modules/loader-runner/lib/LoaderRunner.js
- /home/michael/workspaces/standalone_repos/visyn_scripts/tests_fixtures/standalone_test/node_modules/webpack/lib/NormalModuleFactory.js
- /home/michael/workspaces/standalone_repos/visyn_scripts/tests_fixtures/standalone_test/node_modules/webpack/lib/Compiler.js
- /home/michael/workspaces/standalone_repos/visyn_scripts/tests_fixtures/standalone_test/node_modules/webpack/lib/webpack.js
- /home/michael/workspaces/standalone_repos/visyn_scripts/tests_fixtures/standalone_test/node_modules/webpack/lib/index.js
- /home/michael/workspaces/standalone_repos/visyn_scripts/tests_fixtures/standalone_test/node_modules/webpack-cli/lib/webpack-cli.js
- /home/michael/workspaces/standalone_repos/visyn_scripts/tests_fixtures/standalone_test/node_modules/webpack-cli/lib/bootstrap.js
- /home/michael/workspaces/standalone_repos/visyn_scripts/tests_fixtures/standalone_test/node_modules/webpack-cli/bin/cli.js
- /home/michael/workspaces/standalone_repos/visyn_scripts/tests_fixtures/standalone_test/node_modules/webpack/bin/webpack.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at getDefaultSassImplementation (/home/michael/workspaces/standalone_repos/visyn_scripts/node_modules/sass-loader/dist/utils.js:37:10)
at getSassImplementation (/home/michael/workspaces/standalone_repos/visyn_scripts/node_modules/sass-loader/dist/utils.js:46:30)
at Object.loader (/home/michael/workspaces/standalone_repos/visyn_scripts/node_modules/sass-loader/dist/index.js:23:55)
```3 files changed
+2
-16128
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
0 commit comments