DEV Community

Discussion on: Integrating Semantic UI to an Angular CLI Project

Collapse
 
josuevalrob profile image
Josue Valenica

Nope, it doesnt work, maybe I have a huge problem with my installation, look:

/Users/josue/WebDevelop/angular/ng-book/semantic/node_modules/accord/lib/index.js:29
throw new Error(name + " version " + version + " is not currently supported");
^

Error: less version 3.0.4 is not currently supported
at Object.exports.load (/Users/josue/WebDevelop/angular/ng-book/semantic/node_modules/accord/lib/index.js:29:13)
at Object. (/Users/josue/WebDevelop/angular/ng-book/semantic/node_modules/gulp-less/index.js:9:29)
at Module._compile (internal/modules/cjs/loader.js:678:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)
at Module.load (internal/modules/cjs/loader.js:589:32)
at tryModuleLoad (internal/modules/cjs/loader.js:528:12)
at Function.Module._load (internal/modules/cjs/loader.js:520:3)
at Module.require (internal/modules/cjs/loader.js:626:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/Users/josue/WebDevelop/angular/ng-book/semantic/node_modules/semantic-ui/tasks/watch.js:17:18)

Collapse
 
chiangs profile image
Stephen Chiang

I think I remember seeing this in one of my projects when using angular 6... When I wrote this article I was using 4 maybe 5...I have not tried integrating semantic since as I prefer to determine a lot of this stuff on my own now with css grid and angular material.

Collapse
 
josuevalrob profile image
Josue Valenica

Thanks. The error was with the less version. github.com/Semantic-Org/Semantic-U...

Thread Thread
 
chiangs profile image
Stephen Chiang

ah ok that makes sense, great you got it working!