SteKoe / ocl.js

The Object Constraint Language (OCL) is a language for describing rules that apply to MOF conform modelling languages like UML. The OCL is a text based language that provides constraint and object query expressions that cannot be expressed by a meta modelling language.
http://ocl.stekoe.de
Other
54 stars 9 forks source link

Runtime Error - Couldn't find preset "@babel/preset-env" #676

Closed gbtec-ext-enzotobio closed 4 months ago

gbtec-ext-enzotobio commented 5 months ago

Hi! We encountered the following runtime error when trying to update the library: Couldn't find preset "@babel/preset-env" relative to directory "...\\node_modules\\@stekoe\\ocl.js"

It seems to be caused by the babel configuration defined in the package.json: https://github.com/SteKoe/ocl.js/blob/e7ffcd477fe67e04cf97f732fadc44f74e14ee77/package.json#L69

Removing it seems to solve the issue. I suspect that it might have been overlooked during the removal of Babel dependencies

Could you kindly review and confirm if the Babel configuration in the package.json was unintentionally left behind after removing Babel dependencies?

Thanks in advance

SteKoe commented 4 months ago

Hey @gbtec-ext-enzotobio , I have removed the entry. I will publish a release soon. Sorry für my late reply.

SteKoe commented 4 months ago

I have removed it in release v1.4.3