Comments (4)
Same here
from nativescript-image-filters.
One possible solution to avoid this is to tell the TS compiler to not look into node_modules as you should not be modifying or processing anything in node_modules.
Can you make sure your project's tsconfig.json
has the exclude
array with "node_modules"
listed? This should tell the compiler to not look into node_modules. Also, we can just drop it from the index.d.ts
for this module :)
http://www.typescriptlang.org/docs/handbook/tsconfig-json.html
from nativescript-image-filters.
Pub'd 2.0.1 - LMK if it helps
from nativescript-image-filters.
Unfortunately, it does not help:
$ npm update
+ [email protected]
updated 1 package in 0.587s
$ tns debug android
Searching for devices...
Executing before-prepare hook from .../hooks/before-prepare/nativescript-dev-typescript.js
Found peer TypeScript 2.6.2
node_modules/nativescript-image-filters/index.d.ts(49,15): error TS2503: Cannot find namespace 'android'.
Unable to apply changes on device: emulator-5554. Error is: TypeScript compiler failed with exit code 1.
Executing after-watch hook from .../hooks/after-watch/nativescript-dev-typescript.js
What about moving "tns-platform-declarations": "^3.0.0"
from devDependencies
to dependencies
?
from nativescript-image-filters.
Related Issues (15)
- filter.guassianBlur is not a function HOT 4
- ERROR TypeError: ImageProcessor is not a constructor HOT 1
- Can´t make the plugin work HOT 2
- Error: java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull HOT 5
- greyScale() doesn't seem to be implemented HOT 1
- Project status update HOT 3
- Has it ever worked with anyone..? for me its never.? HOT 9
- Instructions HOT 1
- Error: java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull, parameter value
- [Bug] Rotate not working for iOS HOT 1
- Cant set watermark HOT 4
- Error when working with http images HOT 1
- blackAndWhite or grayScale ? HOT 1
- Rotate does not rotate HOT 3
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-image-filters.