Question
· Jun 20

IRIS Nodejs Quickstart

When trying the Iris Nodejs Quickstart I do get the following message in the source code:

 

Could not find a declaration file for module 'intersystems-iris-native'. 'C:/Nodejs Quickstart/Solutions/intersystems-iris-native/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/intersystems-iris-native` if it exists or add a new declaration (.d.ts) file containing `declare module 'intersystems-iris-native';`
ts(7016)
module "C:/Nodejs Quickstart/Solutions/intersystems-iris-native/index"
 

 the necessary npm modules are installed...

this suggested command does not solve the issue:

Try `npm i --save-dev @types/intersystems-iris-native`

the intersystems-iris-native module is part of the dependencies declaration in the package.json file

Does somebody have a suggestion ? Thanks

Product version: IRIS 2023.1
Discussion (0)1
Log in or sign up to continue