Giter VIP home page Giter VIP logo

Comments (6)

MeirionHughes avatar MeirionHughes commented on May 27, 2024

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.

MeirionHughes avatar MeirionHughes commented on May 27, 2024

Also try cloning this repo:

npm install
npm test
node example.js

from template-lint.

atsu85 avatar atsu85 commented on May 27, 2024

i got it working after updating to aurelia-rc and deleting node_modules and reinstalling all deps :)

from template-lint.

atsu85 avatar atsu85 commented on May 27, 2024

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.

MeirionHughes avatar MeirionHughes commented on May 27, 2024

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.

atsu85 avatar atsu85 commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.