We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using version 1.1.2. Easy to reproduce on Windows, haven't checked if this is an issue elsewhere.
Starting in c:/temp:
c:/temp
git clone https://github.com/nodegui/nodegui-starter cd nodegui-starter npm install npm install --save-dev @nodegui/packer npm run-script build npx nodegui-packer --init MyApp npx nodegui-packer --pack dist cd deploy/win32/build/MyApp ./qode
Above all works fine and hello world app appears. Now to introduce a space in the path:
cd .. mv MyApp "MyApp with spaces" cd "MyApp with spaces" ./qode
Errors out in console before managing to load:
internal/modules/cjs/loader.js:628 throw err; ^ Error: Cannot find module 'C:/temp/nodegui-starter/deploy/win32/build/MyApp' Require stack: - internal/preload at Function.Module._resolveFilename (internal/modules/cjs/loader.js:625:15) at Function.Module._load (internal/modules/cjs/loader.js:527:27) at Module.require (internal/modules/cjs/loader.js:683:19) at Module._preloadModules (internal/modules/cjs/loader.js:939:12) at loadPreloadModules (internal/bootstrap/pre_execution.js:392:5) at prepareMainThreadExecution (internal/bootstrap/pre_execution.js:53:3) at internal/main/repl.js:18:1 { code: 'MODULE_NOT_FOUND', requireStack: [ 'internal/preload' ]
Seems specific to packer since renaming parent to c:/temp/nodegui starter and running npx qode ./dist/index.js from there works fine.
c:/temp/nodegui starter
npx qode ./dist/index.js
The text was updated successfully, but these errors were encountered:
I can confirm this issue. Can stably reproduce it with spaces in folder names in Windows OS
Sorry, something went wrong.
Thanks for reporting @krage and @constgen . Will take a look on this when I clear up some more backlog. Any help appreciated.
This should be fixed in the latest version of nodegui and qode.
Please reopen if it doesnt work for you.
No branches or pull requests
Using version 1.1.2. Easy to reproduce on Windows, haven't checked if this is an issue elsewhere.
Starting in
c:/temp
:Above all works fine and hello world app appears. Now to introduce a space in the path:
Errors out in console before managing to load:
Seems specific to packer since renaming parent to
c:/temp/nodegui starter
and runningnpx qode ./dist/index.js
from there works fine.The text was updated successfully, but these errors were encountered: