Coder Social home page Coder Social logo

Comments (11)

andreas-barthel avatar andreas-barthel commented on September 26, 2024 1

@andreespirela Thanks for info, but as workaround a have set a symlink in src to main/mandarine called mandarine. Works like a charm ;)
It's a testing-only project. For that it's good enough

from mandarine-cli.

andreespirela avatar andreespirela commented on September 26, 2024

CC @buttercubz

from mandarine-cli.

buttercubz avatar buttercubz commented on September 26, 2024

@linux-china @andreespirela in #3 it was that the creation of templates was modified

#3 (comment)

from mandarine-cli.

andreespirela avatar andreespirela commented on September 26, 2024

@buttercubz True, just to confirm, this is a bug introduced in #3 right?

from mandarine-cli.

buttercubz avatar buttercubz commented on September 26, 2024

@buttercubz True, just to confirm, this is a bug introduced in #3 right?

Is it a bug? I eliminated it because I saw it in the redundant main folder, when the template is generated it does not start well?

from mandarine-cli.

andreespirela avatar andreespirela commented on September 26, 2024

@buttercubz Just checked, As a matter of fact, this is a bug because it contradicts Mandarine's file structure See here . We should stick to having the folder main for now. I don't know what's the downstream impact of re-adding the main word not only to appFile but to the structures generated by the CLI, can you check this?

from mandarine-cli.

buttercubz avatar buttercubz commented on September 26, 2024

yes, i just saw it i am going to add asap folder

from mandarine-cli.

andreespirela avatar andreespirela commented on September 26, 2024

@buttercubz Thanks. Look forward to the PR (y)

from mandarine-cli.

andreas-barthel avatar andreas-barthel commented on September 26, 2024

@andreespirela @buttercubz I can confirm that projects created with CLI 1.1.0 are not working with 1.1.1

error: Cannot resolve module "file:///tmp/tester/src/mandarine/app.ts"
Mandarine could not start the application. Make sure your working directory is the root of your application
Exit

I think it's a breaking change or a bug ;-)

from mandarine-cli.

andreespirela avatar andreespirela commented on September 26, 2024

@andreespirela @buttercubz I can confirm that projects created with CLI 1.1.0 are not working with 1.1.1

error: Cannot resolve module "file:///tmp/tester/src/mandarine/app.ts"
Mandarine could not start the application. Make sure your working directory is the root of your application
Exit

I think it's a breaking change or a bug ;-)

It's a bug since it contradicts official documentation. In the meantime, you can do deno run -c tsconfig.json --allow-all ./src/mandarine/app.ts

Replace --allow-all with the flags you'd like to use.

We will be releasing a fix shortly

from mandarine-cli.

andreespirela avatar andreespirela commented on September 26, 2024

Future #7

from mandarine-cli.

Related Issues (2)

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.