I followed the tutorial in the link: https://github.com/yeoman/generator-webapp/blob/master/docs/recipes/compass.md And then I got the following error. What am I wrong here? Please help!
Error: File to import not found or unreadable: bower_components/bootstrap-sass/assets/stylesheets/_bootstrap.scss.
Load paths: /Users/lazhcm10354/Documents/OpenHouseWrapper/openhouse/bower_components Compass::SpriteImporter /Users/lazhcm10354/Documents/OpenHouseWrapper/openhouse/app/styles /Library/Ruby/Gems/2.0.0/gems/compass-core-1.0.3/stylesheets on line 4 of /Users/lazhcm10354/Documents/OpenHouseWrapper/openhouse/app/styles/main.scss
1: $icon-font-path: "../bower_components/bootstrap-sass/assets/fonts/bootstrap/"; 2: 3: // bower:scss 4: #import "bower_components/bootstrap-sass/assets/stylesheets/_bootstrap.scss"; 5: // endbower
I think the prl is cause of wrong path.
Add ../to the path bower_components/bootstrap-sass/assets/stylesheets/_bootstrap.scss
One thing, delete .sass_cache folder as well
Related
I have created an application on angular 7 and ionic 4.
I tried to edit app.routing.ts file, setting path and component. From then on I am getting this error below:
ERROR in ./src/app/department/department.module.ts
[ng] Module build failed (from ./node_modules/#ngtools/webpack/src/index.js):
[ng] Error: ENOENT: no such file or directory, open 'C:\Users\x\department\department.module.ts'
[ng] at Object.openSync (fs.js:436:3)
[ng] at Object.readFileSync (fs.js:341:35)
[ng] at Storage.provideSync (C:\Users\x\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:98:13)
Make sure department component exist, check the templateUrl that corresponds to the file name you are referencing. You may have also modified the path unknowingly during modification of app.routing.ts file.
C:\Users\x\department\department.module.ts
This error occurs when your component can't be found with your app.module settings.
Follow these steps to solve your problem:
Check if the module.ts file exists.
Check the relative path.
The path is case sensitive (maybe the .ts file is Department).
Both answer are useful from #trustidkid and #vinay sharma. If there is someone has been facing the same problem;
1-Go to to the file that the error has occurred in. (To go directly to the file, click the error line shortly [CTRL+Click] (CMD+Click on MacOS):
ERROR in ./src/app/department/department.module.ts
Then check the path address if it is exactly true pointing the file. Most of these problems are having similar solutions. Just be sure about the path address of the file you want to point and the address mentioned in the other file which the error occurred.
This problem happens when you delete a component but forgot to delete its import from module.ts.
For example: TestComponent is deleted so you have to also delete:
import { TestComponent } from './test.component'
If you have a folder mapping on a windows machine like me, do not try to build it from a mapped folder, go to the original folder and build it from there.
Mapped Folder has a small icon like this:
In my case I had prime ng version that did not support a particular module, I simply commented it out and it worked.
I have been using the headers provided in include\llvm and include\llvm-c to try and make my own compiler. However, whenever I try to compile, I get this error. There is no llvm/IR/Attributes.inc in my files nor any LLVM project I have seen. I get this error:
In file included from ./headers/llvm/IR/Function.h:26:
In file included from ./headers/llvm/IR/Argument.h:19:
./headers/llvm/IR/Attributes.h(74,14): fatal error: 'llvm/IR/Attributes.inc' file not found
#include "llvm/IR/Attributes.inc"
What is the problem here?
I have encountered the same issue. I got it fixed by adding the following line to the relevant CMakeLists.txt
> add_dependencies(<Module Name> intrinsics_gen)
make install-llvm-headers may help u
it's my first time to compiling a ruby on rails 2.0, and I have a problem with the variables in _vars.scss. The scss files are located in vendor/assets/stylesheets/scss (I located them here because was the only way they worked!) and they are calling them up in app/assets/stylesheets/application.css.scss:
#import "scss/bootstrap.scss";
#import "scss/vars.scss";
#import "scss/styles.scss";
#import "scss/fonts.scss";
#import "scss/icons.scss";
#import "scss/helpers.scss";
The problem that showed up is:
rake aborted!
Sass::SyntaxError: Undefined variable: "$screen-sm-max".
(in /var/rails/DeterminaRASIntegracio/releases/20180414113247/vendor/assets/stylesheets/scss/_styles.scss)
Thanks
The error message is pretty clear.
Sass tried to find variable $screen-sm-max on file _styles.scss but failed.
Try to add
$screen-sm-max: 42;
on file _styles.scss.
And see if that solves the problem.
The mat-core() mixin is not getting recognized by my scss file. It shows error as "Undeclared mixin".
#import '~#angular/material/_theming';
#include mat-core();
after couple of hrs spending i finally figured it out instead of this
#import '~#angular/material/theming';
USE THIS
#import '../node_modules/#angular/material/theming';
(Issue is with the path) :)
Update your angular/cli version and give proper path value for importing angular theme in first line. It solved the problem
I have this error:
clang: error: no such file or directory:
'/Users/usuario/Desktop/echonest-echoprint-ios-sample-b937c04/Classes/ASIHTTP/clang:
error: no such file or directory:'
I want to run the "echoprint-ios-sample" project and I import the ASIHTTP files
I donĀ“t know what is the problem :(
Someone can help me?
Thanks!
If you u've deleted any h or m files, go through the project navigation(command + 1) in your xcode, there may be some reference(will be in red color) in that project navigator. U can delete it. Then there'll not be such an error. Hope this would help you.
Else, have a look at this link