question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting Error while running karam

See original GitHub issue
PS 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:closed
  • Created 3 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ShawnTalbertcommented, Aug 19, 2021

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 N and N/* referenced separately in tsconfig.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 Map and Set?

Finally, years ago I started using UMD as the module output so that the compiled JS can be used unmodified both in NetSuite (AMD) and unit tests (jest/commonjs/node).

0reactions
darrenhillconsultingcommented, Nov 28, 2021

Ya

On Fri, Nov 26, 2021, 9:15 PM Shawn Talbert @.***> wrote:

This ticket is 1.5 years old with no response from the OP. Time to close it?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/headintheclouddev/typings-suitescript-2.0/issues/146#issuecomment-980487583, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMM7TMXFH7FVTSCKKJRQZ3UOA5LPANCNFSM4PGOJ3XQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found