-
Notifications
You must be signed in to change notification settings - Fork 278
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
Build failed: @chatui/core/dist/index.css ParserError: Syntax Error at line: 1, column 22 #46
Comments
One more thing: I found that once I pasted the css(./node_modules/@chatui/core/dist/index.css) into css validator and there are many errors. I guess this is the cause. Before waiting for you guys to fix it, a workaround could be downgrade to an older version. Could someone suggest a working version? Thanks |
see #40 (comment) |
hi @akai thanks for your reply. What is the |
thanks @akai I am able to fix it by:
:) |
I had to run the command in step 2, then delete both node module and package lock, then npm install |
Glad it helped 😊 Do you use yarn or npm? I thought that package-lock.json is only for yarn. |
I used npm. As far as I understand (I am new to react), package-lock.json specifies the specific versions and dependancies that are installed when you run "npm ci" (clean install), whereas "npm install" sometimes installs minor updates if available (by reading packages.json), overwriting package-lock.json in the process |
Good to know that :) |
Version information (版本信息)
Describe the bug (描述问题)
Trying to build a reactjs project and it failed with this error:
Steps To Reproduce (重现步骤)
create-react-app
Link to minimal reproduction (最小化重现链接)
Here is the content of
2021-06-29T13_57_45_400Z-debug.log
Expected behavior (期望的结果是什么)
Generated a built project
The text was updated successfully, but these errors were encountered: