Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webpack issue during run this demo #2

Open
Supertramplee opened this issue Oct 26, 2021 · 1 comment
Open

webpack issue during run this demo #2

Supertramplee opened this issue Oct 26, 2021 · 1 comment

Comments

@Supertramplee
Copy link

hi,

i try to run this demo locally, but after start, it shows some error. seems it's related with monaco-editor.. any idea on this?

Compiled with problems:X

ERROR in ./node_modules/monaco-editor/esm/vs/base/browser/ui/actionbar/actionbar.css (./node_modules/css-loader/index.js!./node_modules/css-loader/index.js??ruleSet[1].rules[7].use[0]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!./node_modules/monaco-editor/esm/vs/base/browser/ui/actionbar/actionbar.css)

Module build failed (from ./node_modules/css-loader/index.js):
Unknown word (1:1)

> 1 | exports = module.exports = require("../../../../../../../css-loader/lib/css-base.js")(false);
    | ^
  2 | // imports
  3 | 
  4 | 


ERROR in ./node_modules/monaco-editor/esm/vs/base/browser/ui/aria/aria.css (./node_modules/css-loader/index.js!./node_modules/css-loader/index.js??ruleSet[1].rules[7].use[0]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!./node_modules/monaco-editor/esm/vs/base/browser/ui/aria/aria.css)

Module build failed (from ./node_modules/css-loader/index.js):
Unknown word (1:1)

> 1 | exports = module.exports = require("../../../../../../../css-loader/lib/css-base.js")(false);
    | ^
  2 | // imports
  3 | 
  4 | 


ERROR in ./node_modules/monaco-editor/esm/vs/base/browser/ui/button/button.css (./node_modules/css-loader/index.js!./node_modules/css-loader/index.js??ruleSet[1].rules[7].use[0]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!./node_modules/monaco-editor/esm/vs/base/browser/ui/button/button.css)

Module build failed (from ./node_modules/css-loader/index.js):
Unknown word (1:1)

> 1 | exports = module.exports = require("../../../../../../../css-loader/lib/css-base.js")(false);
    | ^
  2 | // imports
  3 | 
  4 | 


ERROR in ./node_modules/monaco-editor/esm/vs/base/browser/ui/checkbox/checkbox.css (./node_modules/css-loader/index.js!./node_modules/css-loader/index.js??ruleSet[1].rules[7].use[0]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!./node_modules/monaco-editor/esm/vs/base/browser/ui/checkbox/checkbox.css)

Module build failed (from ./node_modules/css-loader/index.js):
Unknown word (1:1)

> 1 | exports = module.exports = require("../../../../../../../css-loader/lib/css-base.js")(false);
    | ^
  2 | // imports
  3 | 
  4 | 


ERROR in ./node_modules/monaco-editor/esm/vs/base/browser/ui/codicons/codicon/codicon-modifiers.css (./node_modules/css-loader/index.js!./node_modules/css-loader/index.js??ruleSet[1].rules[7].use[0]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!./node_modules/monaco-editor/esm/vs/base/browser/ui/codicons/codicon/codicon-modifiers.css)

Module build failed (from ./node_modules/css-loader/index.js):
Unknown word (1:1)

> 1 | exports = module.exports = require("../../../../../../../../css-loader/lib/css-base.js")(false);
    | ^
  2 | // imports
  3 | 
  4 | 

..........................
@sc1f
Copy link
Owner

sc1f commented Oct 29, 2021

Thanks for the report - this looks like a Webpack or CSS-Loader error, which I can't seem to reproduce on my end. I just re-cloned the repo, ran yarn and yarn build and this was the output:

Screen Shot 2021-10-29 at 2 13 05 PM

I'd check if the versions of Webpack and css-loader in node_modules are the correct versions as specified in package.json. Let me know if that helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants