[Table] Unable to build table in the latest versions
See original GitHub issueBug Report
Fomantic ui is unable to build from a fresh npm install
Steps to reproduce
npm init
a new directorynpm i -D gulp fomantic-ui
- Follow all of the installation defaults
npx gulp build --gulpfile semantic/gulpfile.js --cwd semantic/
Expected result
Successful build
Actual result
A build that succeeds until it tries to build the table css:
[PluginError: Cannot create property '_index' on string '!important' in file /home/david/src/test/semantic/src/themes/default/collections/table.variables line no. 1] {
message: "Cannot create property '_index' on string '!important' in file /home/david/src/test/semantic/src/themes/default/collections/table.variables line no. 1",
stack: undefined,
type: 'Syntax',
filename: '/home/david/src/test/semantic/src/themes/default/collections/table.variables',
index: NaN,
line: 1,
column: -1,
callLine: NaN,
callExtract: undefined,
extract: [
undefined,
'/*******************************',
' Table'
],
lineNumber: 1,
fileName: '/home/david/src/test/semantic/src/themes/default/collections/table.variables',
name: 'Error',
plugin: 'gulp-less',
showProperties: true,
showStack: false,
__safety: { toString: [Function: bound ] }
}
Version
node 12.8.0
(also tested 10.16.2; same error)
npm 6.10.2
fomantic-ui 2.7.7
gulp 4.0.2
EDIT: looks like someone else is encountering a similar error, it may be because the table.variables is the only file with !important
https://stackoverflow.com/questions/57568988/gulp-less-fails-when-using-important
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Unable to make or add tables to a query
I'm unable to make a query. When I'm in Query Design modem either for a new or existing query, the "show table" button...
Read more >MySQL: Can't create table (errno: 150) - Stack Overflow
My error was master table had MyISAM and child table InnoDB engine. Current create.sql script was using InnoDB for all tables, but I...
Read more >Design Table Error: "Failed to connect. Link may be broken ...
Following a Windows Update rolled out on May 10th 2022, the following error may appear when editing a design table: "Failed to connect....
Read more >Solved: Installation Error-Failed to create database table...
Solved: During the installation of SRM, I receive the following error: Failed to create database tables. Details: DB does not contain SRM schema:...
Read more >Create Excel Table & Fix Problems - Contextures
In Excel 2007, and later versions, you can use the Table command to convert a list of data into a formatted Excel Table....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed by less 3.10.3 in #950
Looks like it’s precisely what’s happening here https://github.com/fomantic/Fomantic-UI/pull/939
npm i -D less@~3.9.0
fixes it