Comments (6)
I think its related to Aurelia versioning; this is now on the RC since 0.7.3. pal-nodejs also now requires Aurelia RC too. Try npm upgrade?
from template-lint.
Also try cloning this repo:
npm install
npm test
node example.js
from template-lint.
i got it working after updating to aurelia-rc and deleting node_modules and reinstalling all deps :)
from template-lint.
As i wrote in my previous comment, I got this issue solved for the project i wanted to lint, but now that I took the advice of @MeirionHughes:
Also try cloning this repo:
npm install npm test node example.js
I ran into this issue again - this time some aurelia-template-lint tests fail:
1) Aurelia Examples encountered a declaration exception
1.1) Error: Error invoking SVGAnalyzer. Check the inner error for details.
------------------------------------------------
Inner Error:
Message: _aureliaPal.DOM.createElement is not a function
Inner Error Stack:
TypeError: _aureliaPal.DOM.createElement is not a function
at createElement (c:\tmp\proj\cloned\aurelia\aurelia-template-lint\node_modules\aurelia-templating-binding\node_modules\aurelia-binding\dist\commonjs\aurelia-binding.js:4418:29)
at new SVGAnalyzer (c:\tmp\proj\cloned\aurelia\aurelia-template-lint\node_modules\aurelia-templating-binding\node_modules\aurelia-binding\dist\commonjs\aurelia-binding.js:4427:9)
at Object.invoke (c:\tmp\proj\cloned\aurelia\aurelia-template-lint\node_modules\aurelia-dependency-injection\dist\commonjs\aurelia-dependency-injection.js:347:12)
at InvocationHandler.invoke (c:\tmp\proj\cloned\aurelia\aurelia-template-lint\node_modules\aurelia-dependency-injection\dist\commonjs\aurelia-dependency-injection.js:324:166)
at Container.invoke (c:\tmp\proj\cloned\aurelia\aurelia-template-lint\node_modules\aurelia-dependency-injection\dist\commonjs\aurelia-dependency-injection.js:588:23)
at StrategyResolver.get (c:\tmp\proj\cloned\aurelia\aurelia-template-lint\node_modules\aurelia-dependency-injection\dist\commonjs\aurelia-dependency-injection.js:126:35)
at Container.get (c:\tmp\proj\cloned\aurelia\aurelia-template-lint\node_modules\aurelia-dependency-injection\dist\commonjs\aurelia-dependency-injection.js:519:39)
at Object.invoke (c:\tmp\proj\cloned\aurelia\aurelia-template-lint\node_modules\aurelia-dependency-injection\dist\commonjs\aurelia-dependency-injection.js:377:103)
at InvocationHandler.invoke (c:\tmp\proj\cloned\aurelia\aurelia-template-lint\node_modules\aurelia-dependency-injection\dist\commonjs\aurelia-dependency-injection.js:324:166)
at Container.invoke (c:\tmp\proj\cloned\aurelia\aurelia-template-lint\node_modules\aurelia-dependency-injection\dist\commonjs\aurelia-dependency-injection.js:588:23)
End Inner Error Stack
------------------------------------------------
from template-lint.
cannot reproduce; still convinced this is issue mismatch due to aurelia's semver usage. pal-nodejs
has dependency to pal
latest. For good measure I've changed your PR to "latest" version.
I've even updated from node 5 to node 6; still not able to reproduce.
So congrats we have our first "it works for me!"™
from template-lint.
oh, I missed the requirement of node v5 - I had v4.2.4. I'll close it for now and try it out later - I hope I won't get tempted to reopen it again ;)
from template-lint.
Related Issues (20)
- Ensure matching if - else attributes HOT 1
- TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined Ln -1 Col -1 HOT 4
- conflicting attributes even if I use template for the if binding HOT 2
- Anonymous interfaces embedded in other interfaces should be type-checked HOT 1
- Ignore feature
- Base class properties not found
- Integration with aurelia-validation
- npm dependency on gulp should be a devDependency HOT 3
- Optional properties inherited from interface not detected HOT 1
- Support type alias
- Support implicitly typed properties
- New rule for Aurelia plugins(and server side rendering): fail when using globals, that don't work with aurelia-pal-nodejs HOT 5
- Catch usages of "this" in bindings
- ViewEngineHooks
- Project Handover HOT 7
- Spread operator bug
- Binding access check when view model is in different folder
- False positive "duplicated id" combined with if.bind
- Publish new version (ie. from 0.9.25 to 0.9.26) HOT 20
- fs.readdir is not a function
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 template-lint.