Open Yermo opened 5 years ago
It looks like these errors might be spurious. Trying various options from package.json I ran:
npm run development.setup
npm run preparedemo
npm run demo.android.build
and then
`` npm run demo.android
It generated quite a few errors in mapbox.ios.ts with missing identifiers such as:
node_modules/nativescript-mapbox/mapbox.ios.ts:1047:41 - error TS2304: Cannot find name 'NSOperationQueue'.
1047 eventName, null, utils.ios.getter(NSOperationQueue, NSOperationQueue.mainQueue), callback);
Many many pages thereof.
Can you clone again and throw away package-lock.json files, then try again?
git clone https://github.com/EddyVerbruggen/nativescript-mapbox.git
cd nativescript-mapbox
rm ./src/package-lock.json ./demo/package-lock.json ./publish/package-lock.json
cd ./src
npm run demo.android
addressed the npm errors. Thank you.
I am still getting quite a few "Cannot find name" errors in mapbox.ios.ts. I'm guessing this is because I'm building for Android?
I cloned master.
From the nativescript-mapbox/src directory I ran
I am getting npm errors:
Ubuntu 18.04.1 LTS Node v8.12.0
The nativescript-pluginshowcase demo app builds without issue but it seems to be using an older version of the plugin.