Getting Error while running karam
See original GitHub issuePS D:\verticalsgit\verticalstypesscriptdemo> karma start
24 07 2020 12:40:55.923:INFO [compiler.karma-typescript]: Compiling project using Typescript 3.8.2
24 07 2020 12:40:59.691:ERROR [compiler.karma-typescript]: src/TypeScript/src/app/HelloTypeScriptPage/main/VTD_CS_HelloTypeScriptPage.ts(8,29): error TS2307: Cannot find module 'N/types'.
24 07 2020 12:40:59.692:ERROR [compiler.karma-typescript]: src/TypeScript/src/app/HelloTypeScriptPage/main/VTD_Su_HelloTypeScriptPage.ts(8,29): error TS2307: Cannot find module 'N/types'.
Hence getting compilation error.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Troubleshooting - Karma test runner
I'm getting a weird error from the browser, how can I debug it? # ... Go to the captured browser and click the...
Read more >getting CORS error when running Jasmine and Karma in ...
I suppose somewhere in my application, some message has been sent out which is causing CORS issue. I assume its the web server...
Read more >Sage Karam on Another Run-In With Noah Gragson at ...
Sage Karam had another run - in with Noah Gragson, this time during the NASCAR Xfinity Series race at the Indianapolis Motor Speedway...
Read more >Run/Debug Configuration: Karma | IntelliJ IDEA Documentation
In this dialog, create configurations for running and debugging JavaScript unit tests using the Karma test runner.
Read more >Sage Karam ready to tackle NASCAR in his next chapter
Karam got his first go-kart at age 5. While Michael Andretti was busy running a full-time IndyCar schedule, Jody Karam spent weekends ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

These sound like separate issues to me. I think the original poster meant to say Karma not Karam (whatever that is?). Karma runs in browser so I’m not sure what the use case is.
For issues with TS compilation we might want to open a separate github issue?
I can’t remember why we have both
NandN/*referenced separately intsconfig.json. Maybe something in the commit history to reveal.Overall @MrRob I’d suggest a refresh of the tsconfig.json? For example, if you’re scripting for SS 2.1 you can have TS target ES2019 and include library references for ES2019 stuff like
MapandSet?Finally, years ago I started using
UMDas the module output so that the compiled JS can be used unmodified both in NetSuite (AMD) and unit tests (jest/commonjs/node).Ya
On Fri, Nov 26, 2021, 9:15 PM Shawn Talbert @.***> wrote: