We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
There doesn't seem to be a way to do this in typescript as @types/node is not included (is there a way to import modules with the hackerrank platform?). This error will appear when you try to run.
solution.ts(3,1): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try npm i @types/node.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Zig Zag Sequence
You are viewing a single comment's thread. Return to all comments →
There doesn't seem to be a way to do this in typescript as @types/node is not included (is there a way to import modules with the hackerrank platform?). This error will appear when you try to run. solution.ts(3,1): error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try
npm i @types/node
.