You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
I get an exception when I include an empty .less file in my component.js file and load it in a phantomjs browser. When I add something to that .less file everything works. Here is the dump of my terminal:
> mocha-phantomjs -p /Applications/phantomjs-2.1.1-macosx/bin/phantomjs ./test/index_cli.test.html
{"statusCode":0,"line":2271,"sourceURL":"file:///myproject/node_modules/steal/steal.js","stack":"file:///myproject/node_modules/steal/steal.js:2271:14\ntryCatchReject@file:///myproject/node_modules/steal/steal.js:1183:34\nrunContinuation1@file:///myproject/node_modules/steal/steal.js:1142:18\nwhen@file:///myproject/node_modules/steal/steal.js:963:20\nrun@file:///myproject/node_modules/steal/steal.js:821:17\n_drain@file:///myproject/node_modules/steal/steal.js:97:22\ndrain@file:///myproject/node_modules/steal/steal.js:62:15"} "file:///myproject/node_modules/steal/steal.js:2271:14\ntryCatchReject@file:///myproject/node_modules/steal/steal.js:1183:34\nrunContinuation1@file:///myproject/node_modules/steal/steal.js:1142:18\nwhen@file:///myproject/node_modules/steal/steal.js:963:20\nrun@file:///myproject/node_modules/steal/steal.js:821:17\n_drain@file:///myproject/node_modules/steal/steal.js:97:22\ndrain@file:///myproject/node_modules/steal/steal.js:62:15"
in error at phantomjs://code/browser-shim.js:120
npm ERR! Test failed. See above for more details.
Steps to reproduce:
If a component file includes a .less file which is empty,
open the app main_page.html in phantomjs and above exception is thrown
Expected results:
Transpile successfully and can see the app running
Actual results:
Fails with the exception strack
> mocha-phantomjs -p /Applications/phantomjs-2.1.1-macosx/bin/phantomjs ./test/index_cli.test.html
{"statusCode":0,"line":2271,"sourceURL":"file:///myproject/node_modules/steal/steal.js","stack":"file:///myproject/node_modules/steal/steal.js:2271:14\ntryCatchReject@file:///myproject/node_modules/steal/steal.js:1183:34\nrunContinuation1@file:///myproject/node_modules/steal/steal.js:1142:18\nwhen@file:///myproject/node_modules/steal/steal.js:963:20\nrun@file:///myproject/node_modules/steal/steal.js:821:17\n_drain@file:///myproject/node_modules/steal/steal.js:97:22\ndrain@file:///myproject/node_modules/steal/steal.js:62:15"} "file:///myproject/node_modules/steal/steal.js:2271:14\ntryCatchReject@file:///myproject/node_modules/steal/steal.js:1183:34\nrunContinuation1@file:///myproject/node_modules/steal/steal.js:1142:18\nwhen@file:///myproject/node_modules/steal/steal.js:963:20\nrun@file:///myproject/node_modules/steal/steal.js:821:17\n_drain@file:///myproject/node_modules/steal/steal.js:97:22\ndrain@file:///myproject/node_modules/steal/steal.js:62:15"
in error at phantomjs://code/browser-shim.js:120
npm ERR! Test failed. See above for more details.
Environment:
Software
Version
Steal version
^1.0.9
Steal-tools version
^1.0.1
node -v
7.2.0
npm -v
3.10.9
Browser
phantomjs
Operating system
macOS
The text was updated successfully, but these errors were encountered:
@Nithanaroy commented on Fri Mar 10 2017
How often can you reproduce it?
Description:
I get an exception when I include an empty .less file in my component.js file and load it in a phantomjs browser. When I add something to that .less file everything works. Here is the dump of my terminal:
Steps to reproduce:
Expected results:
Transpile successfully and can see the app running
Actual results:
Fails with the exception strack
Environment:
The text was updated successfully, but these errors were encountered: