-
Notifications
You must be signed in to change notification settings - Fork 183
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
create error in wiindows11 #122
Comments
Nue is currently developed under Mac only so Windows support is so-and-so. However, there will be a new version tomorrow that might fix this issue. Fingers crossed. |
Please try with the latest nuekit (v0.1.7) |
@tipiirai I tried nuekit on windows 10 and got the following error: $ node $(which nue) --version
C:\Users\ShiMeiWo\AppData\Local\pnpm\nue:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
^^^^^^^
SyntaxError: missing ) after argument list
at internalCompileFunction (node:internal/vm:77:18)
at wrapSafe (node:internal/modules/cjs/loader:1288:20)
at Module._compile (node:internal/modules/cjs/loader:1340:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
at node:internal/main/run_main_module:28:49
Node.js v20.10.0 The runtime environment is:. node: v20.10.0 Please take a moment to check it out. Thx! |
The script that's trying to run there won't work on Windows - I have this issue as well. It would probably be easier to use Bun with WSL for now. |
@alexnguyennz I add nuekit in my project then |
To fix the pnpm shell error, personally npm install -g nuekit
node $(which nue) ref: Contributing Guide - Linking, Ci Testing and #155 |
I'm seeing the same error, with freshly installed bun and nuekit on Windows 11. In my case, it looks like there's a leading backslash on the path before the drive letter. It doesn't seem to matter what template I choose.
|
Path issues on windows should be fixed (at least in nuekit), and there's a new Feel free to comment, if there are still Windows path issues. |
node:internal/process/esm_loader:40
internalBinding('errors').triggerUncaughtException(
^
[Error: ENOENT: no such file or directory, lstat 'F:\F:.pnpm-store\v3\tmp\dlx-25016\node_modules.pnpm\[email protected]\node_modules\create-nue\simple-crm'] {
errno: -4058,
code: 'ENOENT',
syscall: 'lstat',
path: 'F:\F:\.pnpm-store\v3\tmp\dlx-25016\node_modules\.pnpm\[email protected]\node_modules\create-nue\simple-crm'
}
pnpm create nue@latest command error, environment: windows11, Node.js v20.10.0
The text was updated successfully, but these errors were encountered: