profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/onderbakirtas/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Önder Bakırtaş onderbakirtas Pixelate Creative Turkey https://onderb.dev Frontend Developer, VueJS lover, CSS-maniac, HTML guru, Svelte worshipper

onderbakirtas/financor 14

An expense tracker app to not generate more expenses than you need, your precious $$$ is worthy.

onderbakirtas/pagebuilder 1

Simple page builder with SvelteKit

onderbakirtas/anyscript 0

Any Time Any Type Any Script

onderbakirtas/ColorPicker 0

A color picker for elementaryOS.

onderbakirtas/css.gg 0

500+ CSS Icons. Customizable, Retina Ready with API & NPM

onderbakirtas/dota2-api 0

DotA 2 Web API PHP wrapper

startedaykutkardas/easy-regex

started time in an hour

startedustun/turkcescript

started time in 4 days

startedbufgix/github-blog

started time in 5 days

startedbufgix/faruk-blog

started time in 5 days

push eventonderbakirtas/onderb.dev

Onder Bakirtas

commit sha 78555f42b40a83a2de09b97cd499abdf6df3e681

fix: change accidental blogpost

view details

push time in 7 days

create barnchonderbakirtas/onderb.dev

branch : draft

created branch time in 7 days

push eventonderbakirtas/onderb.dev

Onder Bakirtas

commit sha d8bf06052c5f71ce121ea714631655c008626c61

feat: added mdsvex config to direct external urls to new page

view details

push time in 7 days

push eventonderbakirtas/onderb.dev

Onder Bakirtas

commit sha 007bd43469267aedaa1926f86bf6b7c46f459e8e

chore: removed unnecessary import

view details

Onder Bakirtas

commit sha 9ccc250ce03fcbeaffc4945a2be6623bf17d2736

feat: added syntax highlighter theme

view details

Onder Bakirtas

commit sha 15a34426820d9e6d560662e87d499e9f9ccb7ba9

feat: removed a sentence from intro

view details

push time in 7 days

push eventonderbakirtas/onderb.dev

Onder Bakirtas

commit sha 61e8f1c047d7b68c7435c1403c8ee4831e0cacba

feat: added mdsvex

view details

Onder Bakirtas

commit sha 2c7fcc08d208e8498a3f240aef5cd75e4ef76686

feat: added first blog

view details

Onder Bakirtas

commit sha 47c0d9273acf8651dc3283ae6fe652ed197c33d6

feat: handled how posts being fetched

view details

push time in 8 days

push eventonderbakirtas/onderb.dev

Onder Bakirtas

commit sha ed83ce77fe9df9d46e63fce7fbeb7ba49c2717f9

feat: added blog link

view details

push time in 8 days

fork onderbakirtas/website

Personal portfolio website

https://cass.moe

fork in 11 days

startednosir/cleave.js

started time in 11 days

startedjack5341/super-dollop

started time in 11 days

startedbasarbk/tdd-svelte

started time in 12 days

startediamkun/dayjs

started time in 17 days

startedtypeorm/typeorm

started time in 19 days

startedsupabase/supabase

started time in 20 days

startedEbookFoundation/free-programming-books

started time in 21 days

startedlite-xl/lite-xl

started time in 21 days

startedmyspaghetti/macos-virtualbox

started time in 21 days

startedmyspaghetti/macos-virtualbox

started time in 21 days

startedc-bandy/website

started time in 21 days

issue commentmetonym/svelte-highlight

New svelte-kit issues

@metonym Thanks, I ended up using use: directive to implement same thing.

antonha

comment created time in 21 days

issue openedsveltejs/kit

Error while importing a NPM package

Describe the bug

Importing a module gives error, even though not using it.

Reproduction

Here is the repo link: https://github.com/onderbakirtas/bug-report

Logs

6:22:19 PM [vite] Error when evaluating SSR module C:\Users\onder\Desktop\node_apps\blog1\src\routes\index.json.js:
Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: C:\Users\onder\Desktop\node_apps\blog1\node_modules\to-vfile\index.js
require() of ES modules is not supported.
require() of C:\Users\onder\Desktop\node_apps\blog1\node_modules\to-vfile\index.js from C:\Users\onder\Desktop\node_apps\blog1\node_modules\vite\dist\node\chunks\dep-972722fa.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules.
Instead rename index.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from C:\Users\onder\Desktop\node_apps\blog1\node_modules\to-vfile\package.json.

    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1080:13)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Module.require (internal/modules/cjs/loader.js:952:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at nodeRequire (C:\Users\onder\Desktop\node_apps\blog1\node_modules\vite\dist\node\chunks\dep-972722fa.js:73811:17)
    at ssrImport (C:\Users\onder\Desktop\node_apps\blog1\node_modules\vite\dist\node\chunks\dep-972722fa.js:73753:20)
    at eval (C:\Users\onder\Desktop\node_apps\blog1\src\routes\index.json.js:6:37)
    at async instantiateModule (C:\Users\onder\Desktop\node_apps\blog1\node_modules\vite\dist\node\chunks\dep-972722fa.js:73796:9)
Must use import to load ES Module: C:\Users\onder\Desktop\node_apps\blog1\node_modules\to-vfile\index.js
require() of ES modules is not supported.
require() of C:\Users\onder\Desktop\node_apps\blog1\node_modules\to-vfile\index.js from C:\Users\onder\Desktop\node_apps\blog1\node_modules\vite\dist\node\chunks\dep-972722fa.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules.
Instead rename index.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from C:\Users\onder\Desktop\node_apps\blog1\node_modules\to-vfile\package.json.
    at Module.require (internal/modules/cjs/loader.js:952:19)
    at require (internal/modules/cjs/helpers.js:88:18)                                     s\blog1\node_modules\to-vfile\index.js
    at nodeRequire (C:\Users\onder\Desktop\node_apps\blog1\node_modules\vite\dist\node\chunks\dep-972722fa.js:73811:17)                                                               Users\onder\Desktop\node_apps\blog1\node_modules\vite\dist\node\chunks\dep-972722fa.js is an ES module file as
    at ssrImport (C:\Users\onder\Desktop\node_apps\blog1\node_modules\vite\dist\node\chunks all .js files in that package scope as ES modules.\dep-972722fa.js:73753:20)                                                                 e "type": "module" from C:\Users\onder\Desktop\node_apps\blog1\node_modules\to-vfile\package.json.
    at eval (C:\Users\onder\Desktop\node_apps\blog1\src\routes\index.json.js:6:37)
    at async instantiateModule (C:\Users\onder\Desktop\node_apps\blog1\node_modules\vite\dist\node\chunks\dep-972722fa.js:73796:9)
Unexpected token E in JSON at position 0
SyntaxError: Unexpected token E in JSON at position 0
    at JSON.parse (<anonymous>)
    at Proxy.<anonymous> (file:///C:/Users/onder/Desktop/node_apps/blog1/node_modules/@svelks\dep-972722fa.js:73811:17)tejs/kit/dist/ssr.js:923:22)                                                               \dep-972722fa.js:73753:20)
    at async load (index.svelte:4:24)
    at async load_node (file:///C:/Users/onder/Desktop/node_apps/blog1/node_modules/@sveltest\node\chunks\dep-972722fa.js:73796:9)js/kit/dist/ssr.js:951:12)
    at async respond$1 (file:///C:/Users/onder/Desktop/node_apps/blog1/node_modules/@sveltejs/kit/dist/ssr.js:1235:15)
    at async render_page (file:///C:/Users/onder/Desktop/node_apps/blog1/node_modules/@sveltejs/kit/dist/ssr.js:923:22)tejs/kit/dist/ssr.js:1399:19)
    at async resolve (file:///C:/Users/onder/Desktop/node_apps/blog1/node_modules/@sveltejsjs/kit/dist/ssr.js:951:12)/kit/dist/ssr.js:1662:10)                                                                  js/kit/dist/ssr.js:1235:15)
    at async respond (file:///C:/Users/onder/Desktop/node_apps/blog1/node_modules/@sveltejstejs/kit/dist/ssr.js:1399:19)/kit/dist/ssr.js:1641:10)                                                                  /kit/dist/ssr.js:1662:10)
    at async Immediate.<anonymous> (file:///C:/Users/onder/Desktop/node_apps/blog1/node_mod/kit/dist/ssr.js:1641:10)ules/@sveltejs/kit/dist/chunks/index.js:3511:22)

System Info

System:
    OS: Windows 10 10.0.19043
    CPU: (12) x64 AMD Ryzen 5 1600 Six-Core Processor
    Memory: 8.37 GB / 15.94 GB
  Binaries:
    Node: 14.15.1 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 6.14.8 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1023.0), Chromium (92.0.902.84)
    Internet Explorer: 11.0.19041.906
  npmPackages:
    @sveltejs/adapter-static: ^1.0.0-next.17 => 1.0.0-next.17
    @sveltejs/kit: next => 1.0.0-next.159
    svelte: ^3.34.0 => 3.42.4

Severity

blocking all usage of SvelteKit

Additional Information

No response

created time in 21 days

create barnchonderbakirtas/bug-report

branch : main

created branch time in 21 days

created repositoryonderbakirtas/bug-report

created time in 21 days

issue commentmetonym/svelte-highlight

New svelte-kit issues

I'm using same setup as @aslak01 and facing same issue as well. My Node version is 14 though.

antonha

comment created time in 23 days

startedPapyon-Apps/rn-notify

started time in 23 days