creativetimofficial / now-ui-kit-angular Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
I create a test component:
ng g component components/test
I write in the template file components/test.component.html the following french sentence:
L'élève va à l'école.
But, in the browser, I get the result :
L'�l�ve va � l'�cole.
1.3
https://jsbin.com/sukagelihi/edit?html,console,output
Windows 11
PC
Mozilla
npm install
npm run
To build and compile the project
Giving issues :
Error: ./src/assets/css/demo.css
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
TypeError: Cannot read properties of undefined (reading 'tapAsync')
at ExternalModuleFactoryPlugin.apply (C:\Users\Pablo\Desktop\RidingWavesCode\node_modules\webpack\lib\ExternalModuleFactoryPlugin.js:59:39)
at C:\Users\Pablo\Desktop\RidingWavesCode\node_modules\webpack\lib\ExternalsPlugin.js:30:63
at SyncHook.eval [as call] (eval at create (C:\Users\Pablo\Desktop\RidingWavesCode\node_modules@angular-devkit\build-angular\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:19:10), :7:1)
at SyncHook.lazyCompileHook (C:\Users\Pablo\Desktop\RidingWavesCode\node_modules@angular-devkit\build-angular\node_modules\webpack\node_modules\tapable\lib\Hook.js:154:20)
at C:\Users\Pablo\Desktop\RidingWavesCode\node_modules@angular-devkit\build-angular\node_modules\webpack\lib\Compiler.js:665:23
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\Users\Pablo\Desktop\RidingWavesCode\node_modules@angular-devkit\build-angular\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at AsyncSeriesHook.lazyCompileHook (C:\Users\Pablo\Desktop\RidingWavesCode\node_modules@angular-devkit\build-angular\node_modules\webpack\node_modules\tapable\lib\Hook.js:154:20)
at Compiler.compile (C:\Users\Pablo\Desktop\RidingWavesCode\node_modules@angular-devkit\build-angular\node_modules\webpack\lib\Compiler.js:662:28)
at Compiler.runAsChild (C:\Users\Pablo\Desktop\RidingWavesCode\node_modules@angular-devkit\build-angular\node_modules\webpack\lib\Compiler.js:328:8)
at Object.pitch (C:\Users\Pablo\Desktop\RidingWavesCode\node_modules\mini-css-extract-plugin\dist\loader.js:121:17)
Error: ./src/styles.scss
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
TypeError: Cannot read properties of undefined (reading 'tapAsync')
at ExternalModuleFactoryPlugin.apply (C:\Users\Pablo\Desktop\RidingWavesCode\node_modules\webpack\lib\ExternalModuleFactoryPlugin.js:59:39)
at C:\Users\Pablo\Desktop\RidingWavesCode\node_modules\webpack\lib\ExternalsPlugin.js:30:63
at SyncHook.eval [as call] (eval at create (C:\Users\Pablo\Desktop\RidingWavesCode\node_modules@angular-devkit\build-angular\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:19:10), :7:1)
at SyncHook.lazyCompileHook (C:\Users\Pablo\Desktop\RidingWavesCode\node_modules@angular-devkit\build-angular\node_modules\webpack\node_modules\tapable\lib\Hook.js:154:20)
at C:\Users\Pablo\Desktop\RidingWavesCode\node_modules@angular-devkit\build-angular\node_modules\webpack\lib\Compiler.js:665:23
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\Users\Pablo\Desktop\RidingWavesCode\node_modules@angular-devkit\build-angular\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at AsyncSeriesHook.lazyCompileHook (C:\Users\Pablo\Desktop\RidingWavesCode\node_modules@angular-devkit\build-angular\node_modules\webpack\node_modules\tapable\lib\Hook.js:154:20)
at Compiler.compile (C:\Users\Pablo\Desktop\RidingWavesCode\node_modules@angular-devkit\build-angular\node_modules\webpack\lib\Compiler.js:662:28)
at Compiler.runAsChild (C:\Users\Pablo\Desktop\RidingWavesCode\node_modules@angular-devkit\build-angular\node_modules\webpack\lib\Compiler.js:328:8)
at Object.pitch (C:\Users\Pablo\Desktop\RidingWavesCode\node_modules\mini-css-extract-plugin\dist\loader.js:121:17)
Error: ./src/assets/sass/now-ui-kit.scss
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
TypeError: Cannot read properties of undefined (reading 'tapAsync')
at ExternalModuleFactoryPlugin.apply (C:\Users\Pablo\Desktop\RidingWavesCode\node_modules\webpack\lib\ExternalModuleFactoryPlugin.js:59:39)
at C:\Users\Pablo\Desktop\RidingWavesCode\node_modules\webpack\lib\ExternalsPlugin.js:30:63
at SyncHook.eval [as call] (eval at create (C:\Users\Pablo\Desktop\RidingWavesCode\node_modules@angular-devkit\build-angular\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:19:10), :7:1)
at SyncHook.lazyCompileHook (C:\Users\Pablo\Desktop\RidingWavesCode\node_modules@angular-devkit\build-angular\node_modules\webpack\node_modules\tapable\lib\Hook.js:154:20)
at C:\Users\Pablo\Desktop\RidingWavesCode\node_modules@angular-devkit\build-angular\node_modules\webpack\lib\Compiler.js:665:23
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\Users\Pablo\Desktop\RidingWavesCode\node_modules@angular-devkit\build-angular\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at AsyncSeriesHook.lazyCompileHook (C:\Users\Pablo\Desktop\RidingWavesCode\node_modules@angular-devkit\build-angular\node_modules\webpack\node_modules\tapable\lib\Hook.js:154:20)
at Compiler.compile (C:\Users\Pablo\Desktop\RidingWavesCode\node_modules@angular-devkit\build-angular\node_modules\webpack\lib\Compiler.js:662:28)
at Compiler.runAsChild (C:\Users\Pablo\Desktop\RidingWavesCode\node_modules@angular-devkit\build-angular\node_modules\webpack\lib\Compiler.js:328:8)
at Object.pitch (C:\Users\Pablo\Desktop\RidingWavesCode\node_modules\mini-css-extract-plugin\dist\loader.js:121:17)
Hi, I try to compile scss from html v1.2.0, but got this error:
in styles.scss
:
@import "~bootstrap/scss/bootstrap.scss";
in angular.json
:
"styles": [
"src/styles.scss",
"src/assets/sass/now-ui-kit.scss",
"src/assets/sass/demo.scss"
],
error return when ng serve
:
./src/assets/sass/now-ui-kit.scss (./node_modules/raw-loader!./node_modules/postcss-loader/lib??embedded!./node_modules/sass-loader/lib/loader.js??ref--14-3!./src/assets/sass/now-ui-kit.scss)
Module build failed:
@import "now-ui-kit/responsive";
^
Invalid CSS after '...it/responsive";': expected 1 selector or at-rule, was '";'
in /Users/test-angular6/src/assets/sass/now-ui-kit.scss (line 63, column 33)
Can you check?
Thanks
I can't install whiit the comand "npm install".
in the terminal can't install the node sass
test
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.