We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I am trying to run this in ionic 2. However, I am not getting anywhere.
For instance if I start with (https://ionicframework.com/docs/v2/setup/tutorial/)
ionic start MyIonic2Project tutorial --v2 cd MyIonic2Project npm install npm install --save angular2-emoji
then follow your simplest example in "usage"
Then I try to run it, I get the complaint
typescript: node_modules/angular2-emoji/util/util.ts, line: 3 Cannot find name 'require'.
L3: let emojis = require('../db/emoji.json');
I tried npm install --save @types/node
But it does not help. But It wont run (timeout)
Cheers, Felix
The text was updated successfully, but these errors were encountered:
I have the same problem
Sorry, something went wrong.
Add declare var require: any; to src/typings.d.ts
declare var require: any;
No branches or pull requests
Hi,
I am trying to run this in ionic 2. However, I am not getting anywhere.
For instance if I start with (https://ionicframework.com/docs/v2/setup/tutorial/)
ionic start MyIonic2Project tutorial --v2
cd MyIonic2Project
npm install
npm install --save angular2-emoji
then follow your simplest example in "usage"
Then I try to run it, I get the complaint
typescript: node_modules/angular2-emoji/util/util.ts, line: 3
Cannot find name 'require'.
I tried
npm install --save @types/node
But it does not help.
But It wont run (timeout)
Cheers, Felix
The text was updated successfully, but these errors were encountered: