Comments (2)
Ehh not your fault really. Looks like the typescript definition file isn't
100% correct. I need to look at this and correct and typescript issues,
which is what's happening. When you're running this app, there might be a
tsconfig.json file in the app folder. Theres a typescript flag
noEmitOnError
I think. Set it to false and that will allow the compiler
to keep running after errors/warnings. There's a few different things you
can try when a typescript error is thrown, but hard to say without seeing
it on what is best.
Let me know if the flag set to false doesn't work.
On Sun, Jul 31, 2016, 8:34 PM subcontact [email protected] wrote:
Hi,
I'm new to NS so I'm sure this issue is my own doing...
I'm trying to launch the demo after cloning the repo but I'm getting the
following issue:Any pointers?..
Nice looking module by the way!node_modules/nativescript-cardview/index.d.ts(1,15): error TS2306: File '.../nativescript-cardview/demo/node_modules/nativescript-cardview/cardview.d.ts' is not a module.
tns --version
2.1.1git clone https://github.com/bradmartin/nativescript-cardview.git
cd /.../nativescript-cardview/demo
tns platform add ios
Copying template files...
Project successfully created.tns run --emulator ios
npm WARN package.json @ No description
npm WARN package.json @ No repository field.
npm WARN package.json @ No README data
npm WARN package.json @ No license field.[email protected] postinstall /.../nativescript-cardview/demo/node_modules/nativescript-dev-typescript
node postinstall.jsProject already targets TypeScript ^1.8.10
[email protected] node_modules/nativescript-cardview[email protected] node_modules/lazy
[email protected] node_modules/filewalker
└── [email protected][email protected] node_modules/typescript
[email protected] node_modules/nativescript-dev-typescript
└── [email protected] ([email protected], [email protected])[email protected] node_modules/tns-core-modules
└── [email protected][email protected] node_modules/babylon
└── [email protected] ([email protected])[email protected] node_modules/babel-traverse
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected]
└── [email protected] ([email protected], [email protected])[email protected] node_modules/babel-types
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected] ([email protected], [email protected])
Executing before-prepare hook from /.../nativescript-cardview/demo/hooks/before-prepare/nativescript-dev-typescript.js
Found peer TypeScript 1.8.10
node_modules/nativescript-cardview/index.d.ts(1,15): error TS2306: File '/.../nativescript-cardview/demo/node_modules/nativescript-cardview/cardview.d.ts' is not a module.TypeScript compiler failed with exit code 1
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#26, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFulhKbEcml1AgGakNZXNmYu7VGmsdr_ks5qbU0MgaJpZM4JZLOc
.
from nativescript-cardview.
That worked. Thanks!
from nativescript-cardview.
Related Issues (20)
- Card not working in Tabview in Nativescript-vue HOT 1
- minimum android sdk version HOT 2
- How to get rid of whitespaces ios
- Cardview radius working differently for big screen resolutions HOT 1
- Cannot read property 'obtainStyledAttributes' of undefined HOT 1
- Feat: Add new android shadow color properties HOT 2
- No Shadow/Elevation Android API 28
- Tap event stops working after orientation change or navigation HOT 1
- How to import CardView in a module HOT 1
- How to get height of CardView element?
- CardView shadow multiplying issue on Android HOT 11
- Not able to migrate app to nativescript 6 which supports only webPack work flow. HOT 3
- Radius is not working on iOS HOT 4
- Nativescript Vue instructions are wrong HOT 1
- Support for tns-core-modules > 6.2
- iOS Issue: No border box and show wrongly applied HOT 3
- App crashes after update HOT 2
- Release/document 2.0.1
- Disable Object is Cardview HOT 1
- Pressed item look HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nativescript-cardview.