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

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
Angular CLI (ng) use single instead of double quotes
can't install angular cli on ubuntu 16.04
How to solve No 'Access-Control-Allow-Origin' header is present on the requested resource with angular 2 service written with angular-cli?

Categories

HOME
ncurses
smartphone
is-empty
dataframe
browserify
vsftpd
subquery
jboss-eap-7
rfid
lagom
intellij-plugin
ctypes
webmethods
typeahead
cloudflare
bootstrap-popover
yeoman-generator
grub2
ms-access-2007
backpropagation
google-maps-android-api-2
autolayout
apply
tcpclient
memsql
jquery-scrollify
cronet
jflex
non-deterministic
datadog
bxslider
encase
pari
construct-2
windows-10-iot-core
geomesa
liquid-xml
poco-libraries
duktape
active-model-serializers
alchemy.js
exiftool
service-fabric-stateful
stress-testing
mod-fcgid
amazon-clouddrive
estimation
component-pascal
struts-layout
fedora20
instruction-set
launch
visual-studio-templates
pspice
inject
sql-import-wizard
pdflib
foxit
windows-nt
coordinate-transformation
emokit
gradle-release-plugin
datainputstream
windows-vista
optionbutton
app.xaml
mptcp
achartengine
sparse-file
isml
guzzle6
tcpreplay
ember-components
late-static-binding
mimosa
bfd
convex-polygon
sslexception
argb
device-emulation
android-contextmenu
tridion2009
socketstream
css-tables
caliper
gjs
flexicious
adobe-contribute
zend-form-element
msn
querypath
file-encodings
front-controller
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