Error process

After installing (on my local machine) from npm and import { Graphic }, it shows error message

test.js:1 Uncaught ReferenceError: process is not defined

works just fine (without npm install) on svelte REPL