svengiebel / atom-compile-less Goto Github PK
View Code? Open in Web Editor NEWJust a Atom.io Package for compiling LESS-Files to CSS-Files with some neat settings.
License: MIT License
Just a Atom.io Package for compiling LESS-Files to CSS-Files with some neat settings.
License: MIT License
[Enter steps to reproduce:]
Atom: 1.25.1 x64
Electron: 1.7.11
OS: Mac OS X 10.12.6
Thrown From: atom-compile-less package 0.12.0
Uncaught ReferenceError: err is not defined
At /Users/omer/.atom/packages/atom-compile-less/lib/atom-compile-less.js:27
ReferenceError: err is not defined
at /packages/atom-compile-less/lib/atom-compile-less.js:27:13
at read (/packages/atom-compile-less/lib/atom-compile-less.js:16:12)
at tryToString (fs.js:449:3)
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:436:12)
-0:08.6.0 core:save (input.hidden-input)
atom-compile-less 0.12.0
busy-signal 1.4.3
file-icons 2.1.18
intentions 1.1.5
language-babel 2.84.0
linter 2.2.0
linter-eslint 8.4.1
linter-ui-default 1.7.1
/Users/Nando/.atom/packages/atom-compile-less/lib/atom-compile-less.coffee:25
[Enter steps to reproduce below:]
Atom Version: 1.0.9
System: Linux Mint
Thrown From: atom-compile-less package, v0.12.0
Uncaught Error: Unrecognised input
At /home/bigfoot/.atom/packages/atom-compile-less/lib/atom-compile-less.js:36
Error
at new Parser (/usr/share/atom/resources/app.asar/node_modules/less-cache/node_modules/less/lib/less/parser.js:333:27)
at /home/bigfoot/.atom/packages/atom-compile-less/lib/atom-compile-less.js:29:14
at fs.readFile.read (/home/bigfoot/.atom/packages/atom-compile-less/lib/atom-compile-less.js:16:12)
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:379:3)
-0:58.1.0 core:save (atom-text-editor.editor.is-focused)
3x -0:15.3.0 core:backspace (atom-text-editor.editor.is-focused)
-0:01.0 core:save (atom-text-editor.editor.is-focused)
{
"core": {
"disabledPackages": [
"less-autocompile"
]
}
}
# User
atom-compile-less, v0.12.0
# Dev
No dev packages
[Enter steps to reproduce below:]
Atom Version: 1.7.3
System: Mac OS X 10.11.1
Thrown From: atom-compile-less package, v0.12.0
Uncaught Error: .border-radius is undefined
At /Applications/Atom.app/Contents/Resources/app.asar/node_modules/less-cache/node_modules/less/lib/less/parser.js:604
Error
at new Parser (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/less-cache/node_modules/less/lib/less/parser.js:333:27)
at /Users/joshuacarter/.atom/packages/atom-compile-less/lib/atom-compile-less.js:29:14
at fs.readFile.read (/Users/joshuacarter/.atom/packages/atom-compile-less/lib/atom-compile-less.js:16:12)
at tryToString (fs.js:414:3)
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:401:12)
2x -2:12.4.0 core:save (atom-text-editor.editor.is-focused)
{
"core": {
"disabledPackages": [
"wrap-guide"
],
"themes": [
"atom-dark-ui",
"base16-tomorrow-dark-theme"
]
}
}
# User
Remote-FTP, v0.8.3
atom-beautify, v0.29.7
atom-compile-less, v0.12.0
atom-less, v0.1.10
autoclose-html, v0.23.0
browser-plus, v0.0.60
color-picker, v2.1.1
fonts, v1.2.0
less-than-slash, v0.13.0
linter, v1.11.4
linter-less, v2.5.0
pigments, v0.26.2
project-manager, v2.9.7
sass-autocompile, v0.12.6
# Dev
No dev packages
atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace)
,
which returns an HTMLElement.
Atom.Object.defineProperty.get (C:\Users\likai\AppData\Local\atom\app-0.177.0\resources\app\src\atom.js:54:11)
Object.activate (C:\Users\likai\.atom\packages\atom-compile-less\lib\atom-compile-less.coffee:77:9)
[Enter steps to reproduce below:]
Atom Version: 1.0.0
System: Microsoft Windows 8.1
Thrown From: atom-compile-less package, v0.12.0
Uncaught Error: 'ui-variables.less' wasn't found
At C:\Users\martin\.atom\packages\atom-compile-less\lib\atom-compile-less.js:36
Error
at new Parser (C:\Users\martin\AppData\Local\atom\app-1.0.0\resources\app.asar\node_modules\less-cache\node_modules\less\lib\less\parser.js:333:27)
at C:\Users\martin\.atom\packages\atom-compile-less\lib\atom-compile-less.js:29:14
at fs.readFile.read (C:\Users\martin\.atom\packages\atom-compile-less\lib\atom-compile-less.js:16:12)
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:379:3)
-0:10.1.0 core:paste (atom-text-editor.editor.is-focused)
-0:08.4.0 editor:newline (atom-text-editor.editor.is-focused)
-0:05.8.0 core:save (atom-text-editor.editor.is-focused)
{
"core": {
"themes": [
"atom-light-ui",
"atom-light-syntax"
],
"disabledPackages": [
"SFTP-deployment",
"ctags-status",
"tree-view-open-files",
"Remote-FTP",
"coffee-compiler",
"git-plus",
"sass-compiler",
"remote-sync",
"example",
"language-smarty"
]
}
}
# User
atom-beautify, v0.28.7
atom-compile-less, v0.12.0
file-icons, v1.5.8
flex-tool-bar, v0.4.2
language-smarty-php, v0.5.0
less-compiler, v0.6.2
linter, vundefined
linter-coffeelint, v0.3.2
linter-less, v2.0.3
open-recent, v2.2.4
php-class-tree, vundefined
project-manager, v1.15.10
project-view, v0.1.2
sass-autocompile, v0.7.1
symbols-tree-view, v0.9.3
tool-bar, v0.1.8
tool-bar-main, v0.0.8
tree-view-finder, v0.2.1
tree-view-git-status, v0.1.1
# Dev
No dev packages
Use ::getPaths instead
Project.getPath (C:\Users\pascal\AppData\Local\atom\app-0.201.0\resources\app.asar\src\project.js:583:12)
atomCompileLess (C:\Users\pascal\.atom\packages\atom-compile-less\lib\atom-compile-less.js:64:34)
<unknown> (C:\Users\pascal\.atom\packages\atom-compile-less\lib\atom-compile-less.js:88:20)
Emitter.emit (C:\Users\pascal\AppData\Local\atom\app-0.201.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:82:11)
TextBuffer.saveAs (C:\Users\pascal\AppData\Local\atom\app-0.201.0\resources\app.asar\node_modules\text-buffer\lib\text-buffer.js:985:20)
TextBuffer.save (C:\Users\pascal\AppData\Local\atom\app-0.201.0\resources\app.asar\node_modules\text-buffer\lib\text-buffer.js:967:19)
Use a config schema instead. See the configuration section
of https://atom.io/docs/latest/hacking-atom-package-word-count and
https://atom.io/docs/api/latest/Config for more details
Package.activateConfig (C:\Users\pascal\AppData\Local\atom\app-0.201.0\resources\app.asar\src\package.js:263:11)
Package.activateNow (C:\Users\pascal\AppData\Local\atom\app-0.201.0\resources\app.asar\src\package.js:234:14)
<unknown> (C:\Users\pascal\AppData\Local\atom\app-0.201.0\resources\app.asar\src\package.js:772:25)
Emitter.emit (C:\Users\pascal\AppData\Local\atom\app-0.201.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:82:11)
CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\pascal\AppData\Local\atom\app-0.201.0\resources\app.asar\src\command-registry.js:219:20)
<unknown> (C:\Users\pascal\AppData\Local\atom\app-0.201.0\resources\app.asar\src\command-registry.js:3:61)
Even after disabling the package in the package settings of atom, the css file is generated on save.
Used Atom 0.198.0 on Arch Linux ( from the AUR ).
Update: Seems like a complete atom restart is needed for it to take effect. Is this normal ?
[Enter steps to reproduce:]
Atom: 1.24.0 x64
Electron: 1.6.16
OS: Unknown Windows version
Thrown From: atom-compile-less package 0.12.0
Uncaught ReferenceError: err is not defined
At C:\Users\Павел\.atom\packages\atom-compile-less\lib\atom-compile-less.js:27
ReferenceError: err is not defined
at /packages/atom-compile-less/lib/atom-compile-less.js:27:13
at read (/packages/atom-compile-less/lib/atom-compile-less.js:16:12)
at tryToString (fs.js:426:3)
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:413:12)
-4:47.7.0 core:move-right (input.hidden-input)
8x -4:47.2.0 core:select-right (input.hidden-input)
-4:27.2.0 core:move-right (input.hidden-input)
4x -4:26.9.0 core:select-right (input.hidden-input)
-4:26.1.0 core:backspace (input.hidden-input)
-4:25.8.0 core:save (input.hidden-input)
-3:40.6.0 core:undo (input.hidden-input)
-3:39.2.0 core:move-left (input.hidden-input)
-3:38.2.0 core:save (input.hidden-input)
-1:51.5.0 core:paste (input.hidden-input)
-1:25.5.0 core:save (input.hidden-input)
-0:26.1.0 tree-view:add-folder (span.name.icon.icon-file-directory)
-0:24.9.0 core:confirm (input.hidden-input)
-0:19.6.0 tree-view:add-file (div.header.list-item)
-0:17.1.0 core:confirm (input.hidden-input)
-0:14.1.0 core:save (input.hidden-input)
atom-compile-less 0.12.0
emmet 2.4.3
git-control 0.9.0
remote-ftp 2.1.4
simplified-russian-menu 1.3.0
sync-settings 0.8.5
Call ::getActiveTextEditor instead
Workspace.getActiveEditor (C:\Users\pascal\AppData\Local\atom\app-0.198.0\resources\app.asar\src\workspace.js:1022:12)
atomCompileLess (C:\Users\pascal\.atom\packages\atom-compile-less\lib\atom-compile-less.coffee:51:33)
atom-workspace.<anonymous> (C:\Users\pascal\.atom\packages\atom-compile-less\lib\atom-compile-less.coffee:85:47)
atom-workspace.handler (C:\Users\pascal\AppData\Local\atom\app-0.198.0\resources\app.asar\src\space-pen-extensions.js:115:32)
in my project i have less dir & css dir..
i want to compile my less file & save output in css directory
[Enter steps to reproduce below:]
Atom Version: 1.1.0
System: Mac OS X 10.8.5
Thrown From: atom-compile-less package, v0.12.0
Uncaught Error: variable @body-background is undefined
At /Applications/Atom.app/Contents/Resources/app.asar/node_modules/less-cache/node_modules/less/lib/less/parser.js:604
Error
at new Parser (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/less-cache/node_modules/less/lib/less/parser.js:333:27)
at /Users/MKD/.atom/packages/atom-compile-less/lib/atom-compile-less.js:29:14
at fs.readFile.read (/Users/MKD/.atom/packages/atom-compile-less/lib/atom-compile-less.js:16:12)
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:380:3)
-2:59.5.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused.autocomplete-active)
2x -2:59.1.0 core:save (atom-text-editor.editor.is-focused)
-0:55.5.0 core:close (atom-text-editor.editor.is-focused)
-0:54 core:save (atom-text-editor.editor.is-focused)
-0:52 core:backspace (atom-text-editor.editor.is-focused)
2x -0:51.6.0 core:save (atom-text-editor.editor.is-focused)
-0:41 core:backspace (atom-text-editor.editor.is-focused)
2x -0:40.4.0 core:save (atom-text-editor.editor.is-focused)
-0:36.6.0 core:backspace (atom-text-editor.editor.is-focused)
-0:36 core:save (atom-text-editor.editor.is-focused)
-0:14 editor:delete-to-beginning-of-line (atom-text-editor.editor.is-focused)
-0:12.6.0 core:backspace (atom-text-editor.editor.is-focused)
-0:11.7.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
2x -0:11.3.0 core:save (atom-text-editor.editor.is-focused)
{
"core": {
"disabledPackages": [
"lesscompile"
]
},
"atom-compile-less": {
"mainLessFile": "styles.less"
}
}
# User
atom-compile-less, v0.12.0
emmet, v2.3.9
file-icons, v1.5.5
# Dev
No dev packages
When you want to save a new file for the first time using the "Save" function (Ctrl + S on Windows) instead of the "Save as.." (Ctrl + Shift + S), the plugin throws an error
Cannot read property 'substr' of undefined (line 70)
I assume it comes from the fact the file has no name yet when it tries to compile - or something like that.
steps to reproduce below:
Atom Version: 1.0.7
System: Mac OS X 10.10.4
Thrown From: atom-compile-less package, v0.12.0
Uncaught Error: variable @secondaryBorderColor is undefined
At /Applications/Atom.app/Contents/Resources/app.asar/node_modules/less-cache/node_modules/less/lib/less/parser.js:604
Error
at new Parser (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/less-cache/node_modules/less/lib/less/parser.js:333:27)
at /Users/chrisnesbit/.atom/packages/atom-compile-less/lib/atom-compile-less.js:29:14
at fs.readFile.read (/Users/chrisnesbit/.atom/packages/atom-compile-less/lib/atom-compile-less.js:16:12)
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:379:3)
-0:02.0 core:save (atom-text-editor.editor.is-focused)
{
"core": {
"themes": [
"atom-light-ui",
"atom-light-syntax"
],
"disabledPackages": [
"remote-atom",
"term",
"terminal-panel",
"term2",
"atom-beautify",
"lesscompile",
"feedback",
"open-on-github",
"timecop",
"terminal-runner",
"useful-context-menu",
"terminal-status",
"language-clojure",
"language-coffee-script",
"run-command",
"run-command2",
"commands",
"run-in-terminal",
"browser-plus",
"script-runner",
"command-toolbar",
"language-mustache",
"archive-view",
"autoflow",
"background-tips",
"bookmarks",
"deprecation-cop",
"whitespace",
"fuzzy-finder",
"welcome",
"autosave",
"atom-terminal-panel"
]
},
"atom-compile-less": {
"compressCss": false,
"mainLessFile": "/_Shared/css/styles.less"
}
}
# User
Remote-FTP, v0.7.1
atom-compile-less, v0.12.0
fold-functions, v0.2.1
git-diff-details, v0.19.0
go-plus, v3.4.5
jshint, v1.3.10
language-liq, v0.5.0
language-liquid, v0.2.0
minimap, v4.12.2
minimap-git-diff, v4.1.7
pdf-view, v0.23.0
sync-settings, v0.6.0
text-manipulation, v0.6.0
# Dev
No dev packages
atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace)
,
which returns an HTMLElement.
Atom.Object.defineProperty.get (C:\Users\kristijan\AppData\Local\atom\app-0.188.0\resources\app\src\atom.js:54:11)
Object.activate (C:\Users\kristijan\.atom\packages\atom-compile-less\lib\atom-compile-less.coffee:77:9)
When I save a less file starting with an underscore (i.e. _substyle.less) the script tries to compile the file. However, this file depends on variables set in my main less file (main.less). Is there a way to ignore files starting with an underscore instead of auto-compiling any file with the .less extension?
outpu directory is not working....
Anny Fix?
I received this error:
Uncaught Error: Unrecognised input
C:\Users\Frank.atom\packages\atom-compile-less\lib\atom-compile-less.coffee:28
Stack trace:
Error
at new Parser (C:\Users\Frank\AppData\Local\atom\app-0.182.0\resources\app\node_modules\less-cache\node_modules\less\lib\less\parser.js:333:27)
at C:\Users\Frank.atom\packages\atom-compile-less\lib\atom-compile-less.coffee:26:18
at fs.readFile.read (C:\Users\Frank.atom\packages\atom-compile-less\lib\atom-compile-less.coffee:16:5)
at fs.js:337:14
at FSReqWrap.oncomplete (fs.js:100:15)
What it said:
The error was thrown from the atom-compile-less package. You can help by creating an issue. Please explain what actions triggered this error.
I just installed this package. I created a .less file and then saved. I received a Uncaught Error: ENOENT message that said it was related to Atom which I created an issue for in their repository here: atom/atom#5746 However, the file still saved, so I thought it must be an issue with Atom. However, a few saves later, and now I am receiving this error along with the ENOENT and now the file is not saving.
[Enter steps to reproduce:]
Atom: 1.53.0 x64
Electron: 6.1.12
OS: Unknown Windows version
Thrown From: atom-compile-less package 0.12.0
Uncaught Error: Unrecognised input
At C:\Users\Home\.atom\packages\atom-compile-less\lib\atom-compile-less.js:36
undefined
-5:22.8.0 tree-view:add-file (span.name.icon.icon-file-directory)
-5:18 core:confirm (input.hidden-input)
-5:05.9.0 application:open-file (div.tool-panel.tree-view)
-3:29.2.0 tree-view:remove (span.name.icon.icon-file-text)
-3:25.1.0 tree-view:add-file (div.header.list-item)
-3:21.6.0 core:confirm (input.hidden-input)
-2:21.2.0 core:backspace (input.hidden-input)
3x -2:11.4.0 tree-view:remove (li.file.entry.list-item.selected)
-1:41.8.0 tree-view:add-file (span.name.icon.icon-file-directory)
-1:37.2.0 core:backspace (input.hidden-input)
-1:34.7.0 core:confirm (input.hidden-input)
2x -0:19.2.0 tree-view:remove (div.tool-panel.tree-view)
-0:14.5.0 tree-view:add-file (span.name.icon.icon-file-directory)
-0:11.2.0 core:confirm (input.hidden-input)
-0:10 core:paste (input.hidden-input)
-0:08.1.0 core:save (input.hidden-input)
atom-compile-less 0.12.0
atom-i18n 0.24.1
autocompile-less 1.0.1
jade-autocompile 0.8.5
less-autocompile 1.0.0
less-compiler 0.6.2
less-postcss-autocompile 1.2.3
slm-autocompile 0.1.2
[Enter steps to reproduce below:]
Atom Version: 1.0.19
System: Microsoft Windows 10 Pro
Thrown From: atom-compile-less package, v0.12.0
Failed to activate the atom-compile-less package
At Cannot find module 'less'
Error: Cannot find module 'less'
at Module._resolveFilename (module.js:334:15)
at Function.Module._resolveFilename (C:\Users\Leo\AppData\Local\atom\app-1.0.19\resources\app.asar\src\module-cache.js:383:52)
at Function.Module._load (module.js:284:25)
at Module.require (module.js:363:17)
at require (module.js:382:17)
at Object.<anonymous> (C:\Users\Leo\.atom\packages\atom-compile-less-master\lib\atom-compile-less.js:3:8)
at Module._compile (module.js:428:26)
at Object.defineProperty.value [as .js] (C:\Users\Leo\AppData\Local\atom\app-1.0.19\resources\app.asar\src\compile-cache.js:169:21)
at Module.load (module.js:353:32)
at Function.Module._load (module.js:308:12)
-0:09.1.0 editor:newline (atom-text-editor.editor.is-focused)
-0:05.1.0 core:save (atom-text-editor.editor.is-focused)
{
"core": {
"themes": [
"atom-material-ui",
"base16-tomorrow-dark-theme"
],
"autoHideMenuBar": true
}
}
# User
atom-material-ui, v0.6.2
less-compiler, v0.6.2
# Dev
No dev packages
Can't figure out how to save to another folder different from the less file. No documentation.
[Enter steps to reproduce:]
Atom: 1.15.0 x64
Electron: 1.3.13
OS: Unknown Windows version
Thrown From: atom-compile-less package 0.12.0
Uncaught Error: variable @text-Name is undefined
At C:\Users\Administrator\.atom\packages\atom-compile-less\node_modules\less\lib\less\parser.js:604
Error
at /packages/atom-compile-less/node_modules/less/lib/less/parser.js:333:27)
at /packages/atom-compile-less/lib/atom-compile-less.js:29:14
at read (/packages/atom-compile-less/lib/atom-compile-less.js:16:12)
at tryToString (fs.js:455:3)
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:442:12)
3x -2:21.1.0 core:backspace (input.hidden-input)
-2:15 core:save (input.hidden-input)
-0:51.3.0 core:backspace (input.hidden-input)
-0:44.4.0 autocomplete-plus:confirm (input.hidden-input)
-0:41.8.0 core:save (input.hidden-input)
atom-compile-less 0.12.0
atom-less 0.1.10
atom-ternjs 0.18.2
autoclose-html 0.23.0
emmet 2.4.3
pigments 0.39.1
px-to-rem 1.0.0
terminal-panel 1.14.1
[Enter steps to reproduce below:]
Atom Version: 1.8.0
System: Mac OS X 10.11.2
Thrown From: atom-compile-less package, v0.12.0
Uncaught Error: variable @primary-2 is undefined
At /Users/Tiger123/Atom.app/Contents/Resources/app.asar/node_modules/less-cache/node_modules/less/lib/less/parser.js:604
Error
at new Parser (/Users/Tiger123/Atom.app/Contents/Resources/app.asar/node_modules/less-cache/node_modules/less/lib/less/parser.js:333:27)
at /Users/Tiger123/.atom/packages/atom-compile-less/lib/atom-compile-less.js:29:14
at fs.readFile.read (/Users/Tiger123/.atom/packages/atom-compile-less/lib/atom-compile-less.js:16:12)
at tryToString (fs.js:414:3)
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:401:12)
-1:27.8.0 editor:indent (atom-text-editor.editor.is-focused)
-1:12.3.0 core:move-down (atom-text-editor.editor.is-focused)
-1:12.2.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
-1:12.2.0 snippets:expand (atom-text-editor.editor.is-focused)
-1:12.2.0 editor:indent (atom-text-editor.editor.is-focused)
-1:02.2.0 core:backspace (atom-text-editor.editor.is-focused)
-0:59.8.0 core:move-down (atom-text-editor.editor.is-focused)
-0:59.6.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
-0:59.6.0 snippets:expand (atom-text-editor.editor.is-focused)
-0:59.6.0 editor:indent (atom-text-editor.editor.is-focused)
-0:44.2.0 core:move-down (atom-text-editor.editor.is-focused)
-0:44 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
-0:44 snippets:expand (atom-text-editor.editor.is-focused)
-0:44 editor:indent (atom-text-editor.editor.is-focused)
-0:34.4.0 core:backspace (atom-text-editor.editor.is-focused)
-0:01.0 core:save (atom-text-editor.editor.is-focused)
{
"core": {
"disabledPackages": [
"sass-autocompile",
"compile-less"
],
"themes": [
"one-dark-ui",
"base16-tomorrow-dark-theme"
]
},
"atom-compile-less": {
"compressCss": false,
"mainLessFile": "master.less"
}
}
# User
atom-compile-less, v0.12.0
less-autocompile, v1.0.0
less-compiler, v0.6.2
less-postcss-autocompile, v1.2.3
# Dev
No dev packages
[Enter steps to reproduce:]
Atom: 1.17.2 x64
Electron: 1.3.15
OS: Mac OS X 10.12.5
Thrown From: atom-compile-less package 0.12.0
Uncaught Error: variable @cyan is undefined
At /Users/janlipinski/.atom/packages/atom-compile-less/node_modules/less/lib/less/parser.js:604
Error
at /packages/atom-compile-less/node_modules/less/lib/less/parser.js:333:27)
at /packages/atom-compile-less/lib/atom-compile-less.js:29:14
at read (/packages/atom-compile-less/lib/atom-compile-less.js:16:12)
at tryToString (fs.js:455:3)
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:442:12)
2x -2:06.4.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-atom-material-syntax.theme-atom-material-ui)
2x -1:41.2.0 core:copy (input.hidden-input)
-0:31 core:paste (input.hidden-input)
-0:28.2.0 core:save (input.hidden-input)
2x -0:15.3.0 core:backspace (input.hidden-input)
-0:14.7.0 core:paste (input.hidden-input)
-0:14.1.0 core:save (input.hidden-input)
2x -0:11.6.0 core:undo (input.hidden-input)
-0:07.9.0 core:save (input.hidden-input)
an-old-hope-syntax 1.0.4
atom-beautify 0.29.26
atom-clock 0.1.8
atom-compile-less 0.12.0
atom-material-syntax 1.0.6
atom-material-ui 2.0.4
atom-repo 1.0.0
autoprefixer 3.7.0
color-picker 2.2.5
emmet 2.4.3
file-icons 2.1.7
monokai-dark 1.3.0
outlander-syntax 2.0.0
pigments 0.39.1
sync-settings 0.8.1
[Enter steps to reproduce:]
Atom: 1.16.0 x64
Electron: 1.3.13
OS: Unknown Windows version
Thrown From: atom-compile-less package 0.12.0
Uncaught Error: variable @fa-version is undefined
At C:\Users\У3\.atom\packages\atom-compile-less\node_modules\less\lib\less\parser.js:604
Error
at /packages/atom-compile-less/node_modules/less/lib/less/parser.js:333:27)
at /packages/atom-compile-less/lib/atom-compile-less.js:29:14
at read (/packages/atom-compile-less/lib/atom-compile-less.js:16:12)
at tryToString (fs.js:455:3)
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:442:12)
-2:31.3.0 core:save (input.hidden-input)
-2:02.6.0 core:copy (input.hidden-input)
13x -1:57.4.0 core:backspace (input.hidden-input)
4x -1:51.1.0 core:save (input.hidden-input)
atom-beautify 0.29.17
atom-compile-less 0.12.0
browser-plus 0.0.87
color-picker 2.2.5
emmet 2.4.3
fold-functions 0.5.0
sublime-block-comment 0.5.1
Checking the Compile Main File
box seems to do nothing, regardless of the path specified in the Main Less File
field (I've tried both absolute and relative paths).
I declared a global variable but it is not seen. This is the error:
Uncaught Error: variable @css is undefined
.atom/packages/atom-compile-less/node_modules/less/lib/less/parser.js:604
[Enter steps to reproduce below:]
Atom Version: 0.196.0
System: Mac OS X 10.10.3
Thrown From: atom-compile-less package, v0.8.0
Uncaught Error: ENOENT: no such file or directory, open 'main.less'
At /Users/paddy/.atom/packages/atom-compile-less/lib/atom-compile-less.coffee:15
Error: ENOENT: no such file or directory, open 'main.less'
at Error (native)
-0:16.8.0 core:close (atom-text-editor.editor.is-focused)
2x -0:16.1.0 pane:show-previous-item (atom-text-editor.editor)
2x -0:14.8.0 core:save (atom-text-editor.editor)
{
"core": {
"themes": [
"one-light-ui",
"tomorrow-night-eighties-syntax"
]
},
"atom-compile-less": {
"compressCss": false
}
}
# User
atom-compile-less, v0.8.0
autocomplete-plus, v2.12.1
emmet, v2.3.8
highlight-line, v0.10.2
tomorrow-night-eighties-syntax, v0.6.1
# Dev
No dev packages
if it could return error line in less file that would be great
I installed ATOM in my mac, and install atom-compile-less to compile .less files. But, ATOM crashed after installing the package. Pls help me!
Mac: macOS High Sierra 10.13.6
ATOM: 1.29.0 x64
atom-compile-less: 0.12.0
atom-compile-less is the only package which is installed in ATOM.
Thanks
[Enter steps to reproduce:]
Atom: 1.16.0 x64
Electron: 1.3.13
OS: Unknown Windows version
Thrown From: atom-compile-less package 0.12.0
Uncaught Error: '../css/law_services/font-awesome.less' wasn't found
At C:\Users\У3\.atom\packages\atom-compile-less\lib\atom-compile-less.js:36
Error
at /packages/atom-compile-less/node_modules/less/lib/less/parser.js:333:27)
at /packages/atom-compile-less/lib/atom-compile-less.js:29:14
at read (/packages/atom-compile-less/lib/atom-compile-less.js:16:12)
at tryToString (fs.js:455:3)
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:442:12)
-6:15.6.0 core:select-all (input.hidden-input)
-6:14.5.0 core:move-up (input.hidden-input)
-5:42.4.0 core:undo (input.hidden-input)
3x -3:01.3.0 core:copy (input.hidden-input)
-2:47.7.0 core:backspace (input.hidden-input)
-2:34.2.0 core:paste (input.hidden-input)
-2:32.7.0 core:undo (input.hidden-input)
2x -1:11.3.0 core:save (input.hidden-input)
atom-beautify 0.29.17
atom-compile-less 0.12.0
browser-plus 0.0.87
color-picker 2.2.5
emmet 2.4.3
fold-functions 0.5.0
sublime-block-comment 0.5.1
[Enter steps to reproduce below:]
Atom Version: 0.165.0
System: Mac OS X 10.10.1
Thrown From: atom-compile-less package, v0.6.0
Uncaught TypeError: Cannot read property 'substr' of undefined
At /Users/sbaldwin/.atom/packages/atom-compile-less/lib/atom-compile-less.coffee:51
TypeError: Cannot read property 'substr' of undefined
at atomCompileLess (/Users/sbaldwin/.atom/packages/atom-compile-less/lib/atom-compile-less.coffee:51:23)
at atom-workspace.<anonymous> (/Users/sbaldwin/.atom/packages/atom-compile-less/lib/atom-compile-less.coffee:77:48)
at atom-workspace.handler (/Applications/Atom.app/Contents/Resources/app/src/space-pen-extensions.js:115:32)
at atom-workspace.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4681:9)
at atom-workspace.elemData.handle (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4359:46)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:243:29)
at /Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:549:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:391:22)
at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:167:20)
3x -0:28.9 core:backspace (input.hidden-input)
-0:06.3 core:copy (input.hidden-input)
2x -0:06.0 core:backspace (input.hidden-input)
-0:01.6 application:new-file (input.hidden-input)
-0:00.0 core:save (input.hidden-input)
{
"core": {
"disabledPackages": [
"vim-mode"
],
"themes": [
"atom-dark-ui",
"seti-monokai"
]
}
}
# User
color-picker, v1.2.6
editor-stats, v0.16.0
file-icon-supplement, v0.7.2
file-icons, v1.4.3
linter-csslint, v0.0.11
linter-less, v0.3.1
seti-monokai, v0.3.1
# Dev
No dev packages
/cc @atom/core
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.