Open Doberick opened 8 months ago
Describe the bug
When I use the following command:
yarn build
Inside a plugin folder, I get the following error:
│ ERROR in ./public/index.scss?v7dark (/Users/myuser/Projects/OpenSearch-Dashboards/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-0-1!/Users/myuser/Projects/OpenSearch-Dashboards/node_modules/postcss-loader/dist/cjs.js??ref--6-oneOf-0-2!/Users/myuser/Projects/OpenSearch-Dashboards/node_modules/comment-stripper??ref--6-oneOf-0-3!/Users/myuser/Projects/OpenSearch-Dashboards/node_modules/sass-loader/dist/cjs.js??ref--6-oneOf-0-4!./public/index.scss?v7dark) │ Module Error (from /Users/myuser/Projects/OpenSearch-Dashboards/node_modules/sass-loader/dist/cjs.js): │ Unknown Sass implementation "sass-embedded". │ Error: Unknown Sass implementation "sass-embedded". │ at getSassImplementation (/Users/myuser/Projects/OpenSearch-Dashboards/node_modules/sass-loader/dist/utils.js:80:27) │ at Object.loader (/Users/myuser/Projects/OpenSearch-Dashboards/node_modules/sass-loader/dist/index.js:27:59) │ @ ./public/index.scss?v7dark 2:26-318 │ @ ./public/index.scss │ @ ./public/index.ts │ @ /Users/myuser/Projects/OpenSearch-Dashboards/packages/osd-optimizer/target/worker/entry_point_creator.js
To Reproduce Steps to reproduce the behavior:
nvm use 18.12.0
yarn install
node scripts/generate_plugin.js myPlugin
cd plugins/myPlugin
Expected behavior The command should run without errors
Could you just bootstrap and see if the problem is resolved?
Describe the bug
When I use the following command:
yarn build
Inside a plugin folder, I get the following error:
To Reproduce Steps to reproduce the behavior:
nvm use 18.12.0
andyarn install
node scripts/generate_plugin.js myPlugin
cd plugins/myPlugin
andyarn build
Expected behavior The command should run without errors