Closed JNBG closed 1 year ago
@JNBG Hello, is there any fix? did you find it?
@jayeshdesai4520 so far no - but I didn't really find the time to work on it yet
It seems I found a problemed code. It's in "bundler/esbuild.ts"
This function works on Linux, however doesn't work on Windows.
function normalizeAppModulePath(modulePath: string, parentDir: string): string {
return /\.\.?\//.test(modulePath)
? path.resolve('/', path.dirname(parentDir), modulePath).substring(1).concat('.js')
: modulePath;
}
Hi!
Please see my PR that fixes this problem https://github.com/RocketChat/Rocket.Chat.Apps-compiler/pull/47
Tried building my first App. Followed the Tutorial here
All went well until adding a Slash Command and then packaging the App. On using the
rc-apps deploy
Command the App breaks on packaging with following Error:Whenever I remove the part where it's extending the Configuration for the Slash Command everything runs well and get's uploaded to my test-server.
The LiftoffCommand is 1:1 Copy from the Tutorial.
I am running this on: @rocket.chat/apps-cli/1.10.1 win32-x64 node-v12.18.1
You can find a reproduction Repo here