-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read property x-ua-compatible of null #1175
Conversation
@h4ck3rm1k3 hello. Thanks for pull request! |
I am using https://github.com/h4ck3rm1k3/node which was relatively recent. mdupont@mdupont-Aspire-7750G: npm ERR! extraneous: url@0.10.1 /mnt/newdrive2/home/mdupont/experiments/lawrence/Leaflet/node_modules/url Checking for specs JS errors... Running tests... jake aborted. |
@h4ck3rm1k3 Thanks! I can not reproduce error.
➜ /tmp/Leaflet git:(master) npm list url
leaflet@0.7.0 /tmp/Leaflet
└── url@0.10.1 extraneous
npm ERR! extraneous: url@0.10.1 /tmp/Leaflet/node_modules/url
npm ERR! not ok code 0
➜ /tmp/Leaflet git:(master) v package.json
➜ /tmp/Leaflet git:(master) npm test
> leaflet@0.7.0 test /tmp/Leaflet
> jake test
Checking for JS errors...
/ Check passed.
Checking for specs JS errors...
- Check passed.
Running tests...
WARN [karma]: Port 9876 in use
WARN [karma]: Port 9877 in use
.......................................................-
.......................................................|
....................................................................-
....................................................WARN [web-server]: 404: /18131072131072
..................
PhantomJS 1.9.7 (Linux): Executed 318 of 318 SUCCESS (3.357 secs / 3.144 secs)
\ Tests ran successfully. |
ok, i will look into this deeper thanks |
Move to #1182 |
This occurs building Leaflet (latest) with node (latest)
Commented out the code and I can build. No idea why or how right now.
/.bin/jake
Checking for JS errors...
Check passed.
Checking for specs JS errors...
Check passed.
Running tests...
WARN [plugin]: Error during loading "karma-coverage" plugin:
Cannot find module './lib/store'
jake aborted.
TypeError: Cannot read property 'x-ua-compatible' of null
at getXUACompatibleMetaElement (/mnt/newdrive2/home/mdupont/experiments/Leaflet/node_modules/karma/lib/middleware/karma.js:40:19)
at /mnt/newdrive2/home/mdupont/experiments/Leaflet/node_modules/karma/lib/middleware/karma.js:145:45
(See full trace by running task with --trace)
ERROR [karma]: [TypeError: Cannot read property 'x-ua-compatible' of null]
TypeError: Cannot read property 'x-ua-compatible' of null
at getXUACompatibleMetaElement (/mnt/newdrive2/home/mdupont/experiments/Leaflet/node_modules/karma/lib/middleware/karma.js:40:19)
at /mnt/newdrive2/home/mdupont/experiments/Leaflet/node_modules/karma/lib/middleware/karma.js:145:45
at /mnt/newdrive2/home/mdupont/experiments/Leaflet/node_modules/karma/lib/middleware/common.js:65:35
at fs.js:295:14
at /mnt/newdrive2/home/mdupont/experiments/Leaflet/node_modules/karma/node_modules/graceful-fs/graceful-fs.js:104:5
at Object.oncomplete (fs.js:93:15)