-
Notifications
You must be signed in to change notification settings - Fork 652
Description
Marko Version: 5.37.20
{
"name": "marko-test",
"description": "The default Marko starter app",
"version": "1.0.0",
"type": "module",
"dependencies": {
"marko": "^5.37.20"
},
"devDependencies": {
"@marko/run": "^0.6.1"
},
"private": true,
"scripts": {
"dev": "marko-run",
"build": "marko-run build",
"preview": "marko-run preview",
"start": "node --enable-source-maps ./dist/index.mjs"
}
}
Your Environment
Edition Windows 10 Pro
Version 2009
Installed on 4/9/2024
OS Build 19045.5965
Device Name DESKTOP-SU3MVSE
Processor Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz 2.30 GHz
Installed RAM 16.0 GB (15.2 GB usable)
Storage 932 GB HDD WDC WD10SPSX-08A6W, 238 GB SSD KBG40ZNT256G TOSHIBA MEMORY
Graphics Card AMD Radeon (TM) 625 (2 GB), Intel(R) UHD Graphics (128 MB)
Device ID 79782B0C-E14A-44EA-9E18-B190C51B497D
Product ID 00330-55562-29956-AAOEM
System Type 64-bit operating system, x64-based processor
Pen and touch No pen or touch input is available for this display
Node.js v22.17.0.
Steps to Reproduce
npm init marko -- -t basic
cd ./<PROJECT_NAME>
npm run dev
Then open http://localhost:1234
Stack Trace
node:internal/errors:983
const err = new Error(message);
^
Error: Command failed: marko-run build --output C:\Users\admin\Desktop\projects\others\marko-test\node_modules@marko\run-explorer.app C:\Users\admin\Desktop\projects\others\marko-test\node_modules@marko\run-explorer\src\index.ts
✗ Build failed in 25ms
node:internal/process/promises:394
triggerUncaughtException(err, true /* fromPromise */);
^
[marko-run-vite:pre] Could not load C:/Users/admin/Desktop/projects/others/marko-test/node_modules/@marko/run-explorer/src/index.ts: ENOENT: no such file or directory, mkdir 'C:\Users\admin\Desktop\projects\others\marko-test\node_modules@marko\run-explorer\C:\Users\admin\Desktop\projects\others\marko-test\node_modules@marko\run-explorer.app.marko-run'
at Object.mkdirSync (node:fs:1363:26)
at file:///C:/Users/admin/Desktop/%E9%A1%B9%E7%9B%AE/others/marko-test/node_modules/@marko/run/dist/vite/index.js:1868:19
at async Object.load (file:///C:/Users/admin/Desktop/%E9%A1%B9%E7%9B%AE/others/marko-test/node_modules/@marko/run/dist/vite/index.js:2220:11) {
errno: -4058,
code: 'PLUGIN_ERROR',
syscall: 'mkdir',
path: 'C:\Users\admin\Desktop\projects\others\marko-test\node_modules\@marko\run-explorer\C:\Users\admin\Desktop\projects\others\marko-test\node_modules\@marko\run-explorer\.app\.marko-run',
pluginCode: 'ENOENT',
plugin: 'marko-run-vite:pre',
hook: 'load'
}
Node.js v22.17.0
at genericNodeError (node:internal/errors:983:15)
at wrappedFn (node:internal/errors:537:14)
at ChildProcess.exithandler (node:child_process:415:12)
at ChildProcess.emit (node:events:518:28)
at maybeClose (node:internal/child_process:1101:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5) {
code: 1,
killed: false,
signal: null,
cmd: 'marko-run build --output C:\Users\admin\Desktop\projects\others\marko-test\node_modules\@marko\run-explorer\.app C:\Users\admin\Desktop\projects\others\marko-test\node_modules\@marko\run-explorer\src\index.ts'
}