NoMethodError: undefined method "add_import_path" - css

I recently upgraded my sass and compass version to the latest one. But its giving me an error while I start watcher.
Error is NoMethodError: undefined method add_import_path for main:Object
Please help.

after upgrading sass to 3.4.16 and compass to 1.0.3 add_import_path was giving error of undefined.
So I tried additional_import_paths = [] which is working perfect now.

Related

Failed to compile. static/css/main.b6d8a2cb.css from Css Minimizer plugin TypeError: Cannot set properties of undefined (setting 'value')

PS C:\Users\Hp\Desktop\web technology\NCT\carrental> npm run build
carrental#0.1.0 build
react-scripts build
Creating an optimized production build...
Failed to compile.
static/css/main.b6d8a2cb.css from Css Minimizer plugin
TypeError: Cannot set properties of undefined (setting 'value')
the react app runs fine on the development server but shows this error when I try to build it for production ready. crosses checked 100 times, nothing seems to work. the static/css/main.b6d8a2cb.css isn't part of my project.

Undefined class constant 'FOLLOW_SYMLINKS

after installing symfony 2.6 and when executing an error message is displayed:
FatalErrorException in DirectoryResource.php line 82:
Error: Undefined class constant 'FOLLOW_SYMLINKS'
the error is in the bundle: kriswallsmith
Please help me.
thank you in advance
Which versio of PHP are you running under? 5.2?
This sounds awfully similar to this issue report: https://github.com/caefer/sfImageTransformExtraPlugin/issues/5
The class constant, FOLLOW_SYMLINKS, is part of the RecursiveDirectoryIterator, which according to the PHP.net manual page, was added in 5.3.1 and also 5.2.11. At least version 5.3.9 is usually recommended or required by various frameworks because of various issues in prior versions.
The package is "kriswallsmith/assetic"

meteor moment TypeError: n is undefined

I'm using this package :
https://github.com/acreeger/meteor-moment
The timezone function , moment.tz() , throws error "TypeError: n is undefined".
The function throws the error for most inputs, including basic examples from the moment timezone documentation website : http://momentjs.com/timezone/docs/
e.g. :
moment.tz("2013-12-01", "America/Los_Angeles").format(); will throw the error.
turns out there was already another version of moment timezone already being included in the project in the
/lib
folder.
I removed the old /lib version.
The Meteor packaged version https://github.com/acreeger/meteor-moment works fine.

Compilation error in bootstrap less file

While compiling grid.less in bootstrap package i got the following error.
> NameError: .make-grid-columns is undefined in grid.less:48:0
48 .make-grid-columns();
guys i found the solution, simply upgrade the LESS compiler to 1.6.3 then it compile all the files. finally i got my own theme

Specifying a relative source directory

I have just recently forked an outdated SBT project (which you can find here https://github.com/mdedetrich/sbt-bower) that was last working with an outdated version of SBT 0.11.0. I am trying to get the sbt plugin to work with SBT versions 0.12.3 and 0.13.0, however I am getting an issue on this line
https://github.com/mdedetrich/sbt-bower/blob/master/src/main/scala/SbtBowerPlugin.scala#L37
When I run sbt compile, I get the following error
[error] /Users/mdedetrich/github/sbt-bower/src/main/scala/SbtBowerPlugin.scala:37: value / is not a member of java.io.File
[error] sourceDirectory in Bower <<= (sourceDirectory).apply (_ / "main" / "webapp" )
Does anyone know what is causing this issue?
Thanks to Mark Harrah, this is actually due to this https://groups.google.com/forum/#!topic/simple-build-tool/0k1No2kfvm8/discussion
I had to remove the import Path._ in the SbtBowerPlugin.scala file and it now compiles fine!

Resources