ZupIT/ritchie-formulas

[BUG] Template TYPESCRIPT

Opened this issue · 0 comments

What happened: the dist folder isn't being created after run the formula created, so that the stack trace shows "CAN'T NOT FIND MODULE: 'rit/dist/index.js' " this is happing just in OS Linux, in Windows OS is everything running well.

What you expected to happen: When we changed the template for what you need and run it, the dist folder should be created inside src and the formula should runs according what we wrote.

How to reproduce it (as minimally and precisely as possible):
1 - Create a formula using Typescript template
2 - Execute the new formula without change anything
3 - Edit something inside the formula's template
4 - Run npm install to install all needed dependecies.
5 - Execute the new formula again and the get the Error "MODULE_NOT_FOUND"

image

Anything else we need to know?:

Environment:

  • Ritchie version: 2.11.3
rit --version
  • Operating System: Linux
  • Network plugin / Tool and version (if this is a network-related / tool bug):
  • Others: