Closed rezacute closed 7 years ago
Make sure you have {N} 2.4.0
:
Check with: tns --version
If you don't have at least that version, npm i -g nativescript
Then try doing this:
git stash
git pull
rm -rf node_modules src/node_modules src/hooks src/lib src/platforms
npm run setup
The last setup step there is important. Then and only then, try:
npm run demo.ios
still the same.
i did fresh git clone.
My tns version 2.4.2
FYI i am able to run your other repo https://github.com/NathanWalker/angular-seed-advanced , so i don't think there is any problem on my configuration.
fyi, if i add "es6" on tsconfig.json
then the error is cahanged to :
2 import { Page } from "ui/page";
~~~~~~~~~
node_modules/nativescript-angular/directives/action-bar.d.ts(2,22): error TS2307: Cannot find module 'ui/page'.
2 import { ListView } from "ui/list-view";
~~~~~~~~~~~~~~
node_modules/nativescript-angular/directives/list-view-comp.d.ts(2,26): error TS2307: Cannot find module 'ui/list-view'.
1 import { Device } from "platform";
~~~~~~~~~~
thanks.
I have the same issue on ng2-fonticon plugin
I checked on multiple machines, it seems like it is not my configuration.
If I change to es6, the eror remains the same.
I will update this seed over weekend (or sooner).
Regarding fonticon plugin, note new name: nativescript-ngx-fonticon
v2.0.0:
https://github.com/NathanWalker/nativescript-ngx-fonticon
Hi @rezacute @lukashlobil I have updated this seed's dependencies to solve the issue here.
Also note, the repo has been renamed to: nativescript-ngx-plugin-seed
.
Please let me know if you have any further issue.
Hi @NathanWalker ,
I follow README and get the error whenever run
npm run demo.ios
thanks.