neutralinojs / neutralinojs

Portable and lightweight cross-platform desktop application development framework

Home Page:https://neutralino.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

issue with neu create

MSBluhm opened this issue · comments

Describe the bug
I cannot create the neutralinoJS example App.
If i try to use the create command im getting the following error massage.

To Reproduce
Steps to reproduce the behavior:

  1. Go into powershell
  2. npm install -g @neutralinojs/neu
  3. npx @neutralinojs/neu create testApp
  4. See error

Expected behavior
The example app should be createt.

Screenshots/Screen recordings

PS C:\test> neu create testApp
neu: INFO Downloading neutralinojs/neutralinojs-minimal template to testApp directory...
neu: INFO Extracting template zip file..
neu: INFO Downloading Neutralinojs binaries..
neu: INFO Extracting zip file..
neu: INFO Finalizing and cleaning temp. files.
neu: ERROR Unable to download resources from internet. Please check your internet connection and template URLs.
node:fs:1219
  binding.rmdir(pathModule.toNamespacedPath(path));
          ^

Error: EBUSY: resource busy or locked, rmdir 'C:\testApp'
    at Object.rmdirSync (node:fs:1219:11)
    at rmdirSync (C:\Users\test\AppData\Roaming\npm\node_modules\@neutralinojs\neu\node_modules\fs-extra\lib\remove\rimraf.js:264:13)
    at Object.rimrafSync [as removeSync] (C:\Users\test\AppData\Roaming\npm\node_modules\@neutralinojs\neu\node_modules\fs-extra\lib\remove\rimraf.js:243:7)
    at module.exports.createApp (C:\Users\test\AppData\Roaming\npm\node_modules\@neutralinojs\neu\src\modules\creator.js:29:13)
    at async Command.<anonymous> (C:\Users\test\AppData\Roaming\npm\node_modules\@neutralinojs\neu\src\commands\create.js:10:13) {
  errno: -4082,
  code: 'EBUSY',
  syscall: 'rmdir',
  path: 'C:\\testApp'
}

Node.js v20.11.0

Specifications

  • OS: Windows 10 x64
  • npm version: 10.3.0
  • nodeJs version: v20.11.0
  • Neutralinojs version: v4.14.1
  • Neutralinojs client library version: v3.12.0
  • Neutralinojs CLI version: v10.1.1

Additional context
I tryed the steps from the first neutralinojs app page on two seperat pcs but got the same error.