angular-cli


Angular-cli with Stylus doesn't work


I am trying to use angular-cli(Rc1) with stylus. Basically I am trying to use a style component developed by some other developer in my project to apply a global style to my project.I have install stylus using npm install. After that I changed angular-cli.json file with these changes
1)
"styles": [
"styles.styl"
],
2)
"defaults": {
"styleExt": "styl",
Then I made changes in the global style file.
1) I changes the file styles.css to styles.styl and imported this other stylus file. This stylus file is installed as part of that style component and present in my node_modules.
#require '#companyName/component_name/component-name.styl';
But I am getting this error when I do ng serve
ERROR in ./~/css-loader?{"sourceMap":false,"importLoaders":1}!./~/postcss-loader!./~/stylus-loader?{"sourceMap":false,"pat
:[]}!./src/styles.styl
Module build failed: Error: C:\Users\blahblah\blah\blahh\AngularProject\src\styles.styl:2:10
1| #require '#companyName/component_name/component-name.styl';
---------------^
failed to locate #require file '#companyName/component_name/component-name.styl'
What am I missing?

Related Links

Angular CLI is creating project in my home folder
Angular CLI - depdecies
zone.js promise overwritten when deploy angular 2 (4) application on apache tomcat
Deploying Angular on Linode
Angular-cli with Stylus doesn't work
Use angular-cli proxy for multiple backends
chunk files size are multiplied by 5 on build size ng build --prod
AngularCli: disable minification
Angular Cli e2e element explorer not responding
Angular cli generate a service and include the provider in one step
Angular-cli not generating dist directory with ng build
How to update service json or array value on click in angular2?
How to revert from Angular-cli to Angular without cli for server-side rendering with Angular Universal
How to change file index outside the root
angularCLI Access-Control-Allow-Origin Multiple Origin Domains
Angular CLI how to merge json files

Categories

HOME
wildcard
cocos2d-x-3.0
computer-vision
automated-tests
jscript
algorithmic-trading
iis-7.5
xcode8.3
gatsby
future
cross-platform
r-lavaan
propel2
cython
sql-update
java-ee-7
jenkins-job-dsl
osmdroid
blackboard
invoke-command
freebase
body-parser
openpgp
remote-server
hashcat
ksoap
mms
es-shell
parse-android-sdk
sonarqube-scan
code-behind
brute-force
startapp
proof
production-environment
dwarf
ruby-on-rails-2
forerunnerdb
modelattribute
instruction-set
redux-router
lotus
autoresize
audioqueue
slam-algorithm
radians
pax-web
usb-drive
anti-cheat
axes
eml
loopj
document-oriented-db
affix
jericho-html-parser
p-np
uos
google-plus-one
musl
consensus
jai
obfuscar
tcpreplay
omnifocus
grunt-contrib-concat
hidden-field
cg
collabnet
aquafold
picat
codeigniter-a3m
lumx
jstack
circos
bsod
pyjade
nimrod
ng-hide
swrl
ruboto
fraud-prevention
qss
fileconveyor
qsqltablemodel
fotoware
selectmanycheckbox
pantheios
exitstatus
querypath
aio
webrat
database-diagramming

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App