Bugfix fenix-engine-cli package in npm repo
- Update dev dependencies
Broken fenix-engine-cli package
-
Release 0.3.0 in npm repo would not install due to the
package.json
files property not being absolute -
bugfix for
fenix-engine-cli
breaking when usingnpm install
, even thoughnpm link
works fine. Running any command would cause the file to open and not execture. I've tracked the bug to the shebang at the top of the final bundle of the cli, RollupJS has 2 propertiesintro
andbanner
I used intro where it should've been banner.
Installing the package locally from the repository revealed a couple more bugs.
-
logger attempts to require
package.json
but because it's doing dirname of the root dir, it;s causing it to look innode_module
and notfenix-engine-cli
-
parseShortPath
has an argument namedpath
but the module also importspath
causing a collision between the function and the imported module. This conflict caused the development server to crash. Fix is to change the function's argumentpath
tofullPath