You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just upgrade to 2.5.3 from 2.1.X and am having issues where functions like "require('...')" from node and "describe('...')" from Jasmine are being flagged with 'Cannot find name'. These worked fine in the older versions.
I've tried removing the NetBeans cache as well as updating those particular dependencies.
It seems like if I add import statements for these specifically it stops complaining:
import 'jasmine';
import 'node';
But then I when I actually compile (using webpack) it complains about not finding the node module. With out these changes everything compiles fine.
The text was updated successfully, but these errors were encountered:
I had the same problem with version 2.5.3.0
I managed to fix it by adding "typeRoots" : ["./node_modules/@types"] to compilerOptions in tsconfig.json and restarting netbeans.
Just upgrade to 2.5.3 from 2.1.X and am having issues where functions like "require('...')" from node and "describe('...')" from Jasmine are being flagged with 'Cannot find name'. These worked fine in the older versions.
I've tried removing the NetBeans cache as well as updating those particular dependencies.
It seems like if I add import statements for these specifically it stops complaining:
But then I when I actually compile (using webpack) it complains about not finding the node module. With out these changes everything compiles fine.
The text was updated successfully, but these errors were encountered: