Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Svelte CSA has errors after running app, shows blank screen #65

Open
scsmash3r opened this issue Nov 1, 2024 · 0 comments
Open

Svelte CSA has errors after running app, shows blank screen #65

scsmash3r opened this issue Nov 1, 2024 · 0 comments

Comments

@scsmash3r
Copy link

sc@SC MINGW64 /e/projects/npm-ssc-preprod
$ node --version
v20.10.0

sc@SC MINGW64 /e/projects/npm-ssc-preprod
$ ssc -v
0.6.0-rc.5 (d5637b56)
Installation path: E:\node\bin\node_modules\@socketsupply\socket-win32-x64\

sc@SC MINGW64 /e/projects/npm-ssc-preprod
$ npm create socket-app svelte
Initializing npm package...Ok.
Installing developer dependencies...Ok.
Installing dependencies...Ok.
Adding package scripts...Ok.
Creating socket files...
> [email protected] init-project
> ssc init --config

• project name: npm-ssc-preprod 1ms
• socket.ini created in E:\projects\npm-ssc-preprod 6ms
Ok.
Updating project configuration...Ok.
Copying project boilerplate...Ok.

Type 'npm start' to launch the app

sc@SC MINGW64 /e/projects/npm-ssc-preprod
$ npm start

> [email protected] start
> ssc build -r -o

• preparing build for win 18ms
• WARNING: Windows icon path at '[win] icon' does not exist 0ms
• running build script (cmd='cmd.exe', args=' /c "node build.js E:\projects\npm-ssc-preprod\build\win\npm-ssc-preprod-dev-v1.0.0"', pwd='E:\projects\npm-ssc-preprod') 68ms
vite v5.4.10 building for development...
transforming...
✓ 84 modules transformed.
rendering chunks...
computing gzip size...
../build/win/npm-ssc-preprod-dev-v1.0.0/index.html                   0.69 kB │ gzip: 0.42 kB
../build/win/npm-ssc-preprod-dev-v1.0.0/assets/svelte--etMPifh.svg   1.95 kB │ gzip: 0.90 kB
../build/win/npm-ssc-preprod-dev-v1.0.0/assets/index-DWFn4Y4K.css    1.58 kB │ gzip: 0.71 kB
../build/win/npm-ssc-preprod-dev-v1.0.0/assets/index-C0h11SAG.js    38.68 kB │ gzip: 9.82 kB │ map: 155.87 kB   
✓ built in 684ms
• ran user build command 3975ms
• package prepared 0ms
• compiled native binary 406ms
• Running App: E:\projects\npm-ssc-preprod\build\win\npm-ssc-preprod-dev-v1.0.0\npm-ssc-preprod-dev.exe --platform=win32 --from-ssc 0ms
SyntaxError: Expected double-quoted property name in JSON at position 20 (line 1 column 21)
    at JSON.parse (<anonymous>)
    at get main (socket://com.npm-ssc-preprod/socket/commonjs/module.js:430:28)
    at EventTarget.onMessage (socket://com.npm-ssc-preprod/socket/service-worker/worker.js:89:12)
    at dispatchEvent (socket://com.npm-ssc-preprod/socket/internal/worker.js?source=socket%3A%2F%2Fcom.npm-ssc-preprod%2Fsocket%2Fservice-worker%2Fworker.js:228:41)
    at onWorkerMessage (socket://com.npm-ssc-preprod/socket/internal/worker.js?source=socket%3A%2F%2Fcom.npm-ssc-preprod%2Fsocket%2Fservice-worker%2Fworker.js:207:10)

ntaxError: Expected double-quoted property name in JSON at position 20 (line 1 column 21)
    at JSON.parse (<anonymous>)
    at get main (socket://com.npm-ssc-preprod/socket/commonjs/module.js:430:28)
    at EventTarget.onMessage (socket://com.npm-ssc-preprod/socket/service-worker/worker.js:89:12)
    at dispatchEvent (socket://com.npm-ssc-preprod/socket/internal/worker.js?source=socket%3A%2F%2Fcom.npm-ssc-preprod%2Fsocket%2Fservice-worker%2Fworker.js:228:41)
    at onWorkerMessage (socket://com.npm-ssc-preprod/socket/internal/worker.js?source=socket%3A%2F%2Fcom.npm-ssc-preprod%2Fsocket%2Fservice-worker%2Fworker.js:207:10)
SyntaxError: Expected double-quoted property name in JSON at position 20 (line 1 column 21)
    at JSON.parse (<anonymous>)
    at get main (socket://com.npm-ssc-preprod/socket/commonjs/module.js:430:28)
    at EventTarget.onMessage (socket://com.npm-ssc-preprod/socket/shared-worker/worker.js:63:12)
    at dispatchEvent (socket://com.npm-ssc-preprod/socket/internal/worker.js?source=socket%3A%2F%2Fcom.npm-ssc-preprod%2Fsocket%2Fshared-worker%2Fworker.js:228:41)
    at onWorkerMessage (socket://com.npm-ssc-preprod/socket/internal/worker.js?source=socket%3A%2F%2Fcom.npm-ssc-preprod%2Fsocket%2Fshared-worker%2Fworker.js:207:10)10)

ntaxError: Expected double-quoted property name in JSON at position 20 (line 1 column 21)
    at JSON.parse (<anonymous>)
    at get main (socket://com.npm-ssc-preprod/socket/commonjs/module.js:430:28)
    at EventTarget.onMessage (socket://com.npm-ssc-preprod/socket/shared-worker/worker.js:63:12)
    at dispatchEvent (socket://com.npm-ssc-preprod/socket/internal/worker.js?source=socket%3A%2F%2Fcom.npm-ssc-preprod%2Fsocket%2Fshared-worker%2Fworker.js:228:41)
    at onWorkerMessage (socket://com.npm-ssc-preprod/socket/internal/worker.js?source=socket%3A%2F%2Fcom.npm-ssc-preprod%2Fsocket%2Fshared-worker%2Fworker.js:207:10)10)
[1101/040607.417:ERROR:window_impl.cc(121)] Failed to unregister class Chrome_WidgetWin_0. Error = 1412
parse (<anonymous>)
    at get main (socket://com.npm-ssc-preprod/socket/commonjs/module.js:430:28)
    at EventTarget.onMessage (socket://com.npm-ssc-preprod/socket/shared-worker/worker.js:63:12)
    at dispatchEvent (socket://com.npm-ssc-preprod/socket/internal/worker.js?source=socket%3A%2F%2Fcom.npm-ssc-preprod%2Fsocket%2Fshared-worker%2Fworker.js:228:41)
    at onWorkerMessage (socket://com.npm-ssc-preprod/socket/internal/worker.js?source=socket%3A%2F%2Fcom.npm-ssc-preprod%2Fsocket%2Fshared-worker%2Fworker.js:207:10)10)
• App result: 0 7690ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant