Closed IOLOII closed 1 year ago
how to fix?
@IOLOII you should create the 'resources' directory under the root of the project directory.
@IOLOII you should create the 'resources' directory under the root of the project directory.
@alexwebdevs You are right.
But also have some question:
resources
directory use for? I find in forge.config.js
file.
A JavaScript error occurred in the main process
Uncaught Exception: Error: Cannot find module 'node-pty' Require stack:
at Module._resolveFilename (node:internal/modules/cjs/loader:963:15)
at n._resolveFilename (node:electron/js2c/browser_init:2:109416)
at Module._load (node:internal/modules/cjs/loader:811:27)
at f._load (node:electron/js2c/asar_bundle:2:13328)
at Module.require (node:internal/modules/cjs/loader:1035:19)
at require (node:internal/modules/cjs/helpers:102:18)
at 17313 (/Users/ioloii/Desktop/repos/cursor/out/Cursor-darwin-arm64/Cursor.app/Contents/Resources/app/.webpack/main/index.js:8:942991)
at n (/Users/ioloii/Desktop/repos/cursor/out/Cursor-darwin-arm64/Cursor.app/Contents/Resources/app/.webpack/main/index.js:8:972533)
at /Users/ioloii/Desktop/repos/cursor/out/Cursor-darwin-arm64/Cursor.app/Contents/Resources/app/.webpack/main/index.js:8:973611
at Object.
> npm run start has success running
Environment: Mac mini m1 macOS Monterey 12.6.3 Typescript: 4.9.0-dev.20220902
Vscode version: 1.76.0 commit: 92da9481c0904c6adfe372c12da3b7748d74bdcb date: 2023-03-01T10:23:06.752Z browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 12_6_3) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.76.0 Chrome/102.0.5005.196 Electron/19.1.11 Safari/537.36
As this is a v0.1.0 error, and there's not been much activity for a while, I'll close this to keep the Issues clean.
Feel free to comment if you'd still like support, but it appears you initial issue was resolved :)
running log :
Error: no such file or directory, lstat './resources'