-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
A rollbar support person suggested I try the cli since curling my sourcemap was not working (he thought it was too big at 18MB). I tried uploading my react native sourcemap and it seems my file was not found:
rollbar-cli upload-sourcemaps sourcemap.ios.js \
--verbose \
--access-token $ROLLBAR_POST_SERVER_ITEM \
--url-prefix http://reactnativehost \
--code-version $version
[files:] []
I then tried moving the file into a directory since that seems to be how the cli expects sourcemap files to be:
rollbar-cli upload-sourcemaps sourcemap \
--verbose \
--access-token $ROLLBAR_POST_SERVER_ITEM \
--url-prefix http://reactnativehost \
--code-version $version
[Found ] sourcemap/sourcemap.ios.js
map not found
[files:] [
{
filePathName: 'sourcemap/sourcemap.ios.js',
fileName: 'sourcemap.ios.js',
sourceMappingURL: false,
mapPathName: null,
mapData: null,
validated: false,
metadata: {},
errors: []
}
]
[Upload] null
skip: sourcemap/sourcemap.ios.js
Seems the file was not recognized. Does this cli support react native sourcemap uploads?
Metadata
Metadata
Assignees
Labels
No labels