Giter VIP home page Giter VIP logo

handlebardart's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

cleancode-hr

handlebardart's Issues

JS Interop issue in handlebars2.dart in gitlab pipeline

Hi,

Could you please help me with this issue:
I am using handlebars2 dependency in my angular dart project. It was working fine for long time. Recently when I had to push the code to gitlab I get the following error during build phase and pipeline fails:

gitlabissue

Current version of handlebars being used in pubspec.yaml file is:
handlebars2: ^0.0.3

dart:js import error

My first dart project so maybe I'm doing something wrong but totally stuck on this. Trying to write a basic shelf HTTP server (not flutter or anything like that) and when I import handlebars2 I'm getting this error:

../../../.pub-cache/hosted/pub.dev/js-0.6.7/lib/js.dart:10:1: Error: Dart library 'dart:js' is not available on this platform.

Several proposed solutions here and I've tried all that I understand (that don't involve directly editing cached files...) and nothing works.

Any pointers or fixes?

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.