Broken tutorial - WhatsApp Clone with Ionic 2 and Meteor CLI


#1

I was unable to compile the tutorial https://angular-meteor.com/tutorials/whatsapp2/meteor/setup

following the steps…error as follows…

Errors prevented startup:

While processing files with barbatus:typescript (for target web.browser):

/Users/srikanth/.meteor/packages/barbatus_typescript/.0.3.1.1rj31im.2i5r++os+web.browser+web.cordova/plugin.typescript.os/npm/node_modules/meteor/barbatus_typescript-compiler/node_modules/meteor-typescript/options.js:76:11:
Unknown compiler option ‘baseUrl’.
at convertCompilerOptionsOrThrow
(/Users/srikanth/.meteor/packages/barbatus_typescript/.0.3.1.1rj31im.2i5r++os+web.browser+web.cordova/plugin.typescript.os/npm/node_modules/meteor/barbatus_typescript-compiler/node_modules/meteor-typescript/options.js:76:11)
at validateAndConvertOptions
(/Users/srikanth/.meteor/packages/barbatus_typescript/.0.3.1.1rj31im.2i5r++os+web.browser+web.cordova/plugin.typescript.os/npm/node_modules/meteor/barbatus_typescript-compiler/node_modules/meteor-typescript/index.js:301:34)
at new TSBuild
(/Users/srikanth/.meteor/packages/barbatus_typescript/.0.3.1.1rj31im.2i5r++os+web.browser+web.cordova/plugin.typescript.os/npm/node_modules/meteor/barbatus_typescript-compiler/node_modules/meteor-typescript/index.js:78:20)
at packages/barbatus:typescript-compiler/typescript-compiler.js:58:21
at Array.forEach ()
at TypeScriptCompiler.processFilesForTarget (packages/barbatus:typescript-compiler/typescript-compiler.js:52:21)

While processing files with barbatus:typescript (for target os.osx.x86_64):

/Users/srikanth/.meteor/packages/barbatus_typescript/.0.3.1.1rj31im.2i5r++os+web.browser+web.cordova/plugin.typescript.os/npm/node_modules/meteor/barbatus_typescript-compiler/node_modules/meteor-typescript/options.js:76:11:
Unknown compiler option ‘baseUrl’.
at convertCompilerOptionsOrThrow
(/Users/srikanth/.meteor/packages/barbatus_typescript/.0.3.1.1rj31im.2i5r++os+web.browser+web.cordova/plugin.typescript.os/npm/node_modules/meteor/barbatus_typescript-compiler/node_modules/meteor-typescript/options.js:76:11)
at validateAndConvertOptions
(/Users/srikanth/.meteor/packages/barbatus_typescript/.0.3.1.1rj31im.2i5r++os+web.browser+web.cordova/plugin.typescript.os/npm/node_modules/meteor/barbatus_typescript-compiler/node_modules/meteor-typescript/index.js:301:34)
at new TSBuild
(/Users/srikanth/.meteor/packages/barbatus_typescript/.0.3.1.1rj31im.2i5r++os+web.browser+web.cordova/plugin.typescript.os/npm/node_modules/meteor/barbatus_typescript-compiler/node_modules/meteor-typescript/index.js:78:20)
at packages/barbatus:typescript-compiler/typescript-compiler.js:58:21
at Array.forEach ()
at TypeScriptCompiler.processFilesForTarget (packages/barbatus:typescript-compiler/typescript-compiler.js:52:21)

Stuck here… any help appreciated!


#2

I have the same issue . Tried countless times to follow all sort of tutorials and installing all the boilerplate projects I found. It seem to be a problem with new 1.6 version and the integration with Angular.

The only boilerplate project that I found to be running is of Meteor ver.1.5.2.1 and Angular 4.4 :

https://github.com/susufqx/meteor-angular4-boilerplate

I have put a link to this in the angular-meteor github repository:
https://github.com/Urigo/angular-meteor/issues/1882


#3

Try with angular2-compilers:

meteor add angular2-compilers

This package comes with Typescript support built in and is recommended in the up-to-date tutorial on https://angular-meteor.com/


#4

coagmano, I did all of that and it didn’t work


#5

Tried again a lot of combinations.
The only one I managed to work good is:

https://github.com/Urigo/angular-meteor.git => angular-meteor/examples/MeteorCLI/bare/

1.Clone the rapository
2. Copy the angular-meteor/examples/MeteorCLI/bare part to your --preffered dir-- (only this example worked)
3, cd --preffered dir–
4. meteor npm install
5. meteor


#6

doronm,

thanks a ton!! for your effort and the post.
I tried to make an android build, with android sdk 26 and java 1.8x. did u have any luck with building mobile app?

It was very scary when the published tutorials are breaking…


#7

Not into mobile right now. Sorry


#8

How do I mark this as an accepted reply


#9

hi doronm,

I cant import less/css files in the angular4 boilerplate.
I tried to import like import ‘./view.less’; tried with styleUrl (angular style…), but nothing seems to work.
Can you please share if you manage to import the styles?

thanks


#10

Hi,
Not much of an expert bot found another boilerplate that did work well with angular5 :
Urigo/angular-meteor => angular-meteor/examples/MeteorCLI/bare/


#11

I had the same issue.

meteor update --all-packages

worked for me.