Comments (9)
Hey Adam, are you using the default configuration of Lineman or do you have additional .less files that are getting compiled? If you have customizations can you post a gist of what your less files for the project look like? I believe the last line:
error(launcher)
comes from an issue where Testacular is not able to find the PhantomJS installation in Windows. I actually worked on this earlier this week as I built up a dev env in Windows 7 to see how things would work. I have an open ticket to replace Testacular with Testem, another library that can run headless specs that works much better on Windows.
from lineman.
I'm willing to believe we have several problems hitting us at once on Windows. We should take the time to get a test environment set up for a Windows VM soon.
from lineman.
Just the files included after running:
lineman Lineman
cd Lineman
grunt run
...(or grunt.cmd run), and straight up grunt get's similar errors.
Also running:
phantomjs
...works so not sure what the issue is.
from lineman.
Hey Adam, I just pushed a new version which replaces our spec runner dependency Testacular with the much more capable Testem. This update adds 2 new commands to the CLI for lineman: lineman run
and lineman spec
. The intent is to get the app running and watching files with run
and then fire up spec
in another terminal tab.
While this update doesn't touch LESS compilation, could you update from npm and try out the new workflow and see if you still encounter these issues?
from lineman.
Just wanted to ping you @BigAB and see if you had time to pull a new version of Lineman and test this again?
from lineman.
Not as of yet. Will try to do it and report back as soon as I can. May not be today though.
from lineman.
So... todays things.
Updated lineman from NPM.
As per readme I tried lineman new Lineman
and it created a project called new
I _sigh_ and cd new
and as per readme try `lineman spec'
and it makes a new project in spec directory
I _sigh_ and go to delete it but it turns out the operating system can't delete all files because the filenames (paths) are too long!
doh!
So I Google, get that all cleaned up and try again:
lineman Lineman
this time to not get a project called new
I notice the commands say grunt run
so I do that and hey, works a little better this time, minus the less problem that still there:
Running "watch" task
Waiting...>> undefined: [Lundefined:Cundefined] watch EPERM
<WARN> Error compiling LESS. Use --force to continue. </WARN>
I try grunt spec
Running "configure" task
Running "spec" task
module.js:340
throw err;
^
Error: Cannot find module 'C:\Lineman\node_modules\testem\testem.js'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.runMain (module.js:492:10)
at process.startup.processNextTick.process._tickCallback (node.js:244:9)
<WARN> Spec execution failed with exit code 1 Use --force to continue. </WARN>
Aborted due to warnings.
So apparently I am missing testem. npm install testem
good.
I try grunt spec
again
TEST'EM 'SCRIPTS!
Open the URL below in a runner to connect.
Open the URL below in a runner to connect.
http://localhost:7357
--------------+
Chrome 22.0 |
0/0 x |
+------------------------------------------------------------------------------------------------------------------------------
Uncaught ReferenceError: module is not defined at http://localhost:7357/grunt.js, line 2
So, yeah... not sure what's up there.
I try grunt
This seems to go well.
I try grunt clean
This seems to go well as well.
If I could solve the watch error, the un-deletable node-modules directory, and running the specs I might try using this.
probably need to change the readme too, it seems very out of date.
from lineman.
Phew! Looks like I need to revisit my windows testing to see what the heck went wrong. Thanks for your detailed testing breakdown @BigAB, I'll spend some time in the next couple of days to take a look.
Any suggestions or pull requests that would update the documentation to be more clear would be greatly accepted :)
from lineman.
Closing as I tested the most recent release against Windows 7.
from lineman.
Related Issues (20)
- A proposal for for an alternative to fetcher ... need your thoughts and suggestions to complete it HOT 2
- Why isn't a custom task failing to execute in lineman build but works with lineman grunt <task name>? HOT 1
- How can I configure my own recipe repo when using lineman fetch <recipe name> HOT 1
- lineman run fails after using grunt-exec HOT 2
- A document improvement suggestion HOT 3
- Make it not blow up on [email protected].* HOT 2
- Version issue HOT 2
- lineman spec failes when phantomjs is installed and setup as runner (AngularJS project) HOT 1
- Exclude css from generated css (for a style guide page) HOT 2
- Heroku support HOT 6
- Need code coverage with istanbul HOT 4
- Directive Unit tests (TESMEM) fail using templateUrl HOT 1
- Update graceful-fs HOT 1
- Are there guidelines to upgrade my linemanjs angular 1 environment to anguar 2? HOT 2
- Incorrect http://linemanjs.com/#adding-lineman-plugins link
- Multiple modules need updates HOT 1
- jshint:files aborts with warning
- Time-Grunt Integration HOT 4
- Fix integration tests
- linemanjs.com links to casino site HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lineman.