Skip to content
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

Cannot install the app on Windows 11 #49

Open
nikraychev opened this issue Dec 5, 2023 · 2 comments
Open

Cannot install the app on Windows 11 #49

nikraychev opened this issue Dec 5, 2023 · 2 comments

Comments

@nikraychev
Copy link

PS C:\Apache24\htdocs\condo> node ./bin/prepare.js
node:internal/modules/cjs/loader:1147
throw err;
^

Error: Cannot find module 'commander'
Require stack:

  • C:\Apache24\htdocs\condo\bin\prepare.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
    at Module._load (node:internal/modules/cjs/loader:985:27)
    at Module.require (node:internal/modules/cjs/loader:1235:19)
    at require (node:internal/modules/helpers:176:18)
    at Object. (C:\Apache24\htdocs\condo\bin\prepare.js:3:21)
    at Module._compile (node:internal/modules/cjs/loader:1376:14)
    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) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [ 'C:\Apache24\htdocs\condo\bin\prepare.js' ]
    }

Node.js v20.10.0
PS C:\Apache24\htdocs\condo> npm install commander
npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "link:": link:./domains

npm ERR! A complete log of this run can be found in: C:\Users\profn\AppData\Local\npm-cache_logs\2023-12-05T14_03_43_574Z-debug-0.log
PS C:\Apache24\htdocs\condo> npm install file:./domains
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path C:\Apache24\htdocs\condo\domains/package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Apache24\htdocs\condo\domains\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in: C:\Users\profn\AppData\Local\npm-cache_logs\2023-12-05T14_09_46_422Z-debug-0.log
PS C:\Apache24\htdocs\condo> npm install file:./apps/address-service/domains
npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "link:": link:./domains

npm ERR! A complete log of this run can be found in: C:\Users\profn\AppData\Local\npm-cache_logs\2023-12-05T14_11_23_026Z-debug-0.log
PS C:\Apache24\htdocs\condo> npm install file:./apps/address-service/domains
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: @app/[email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"^16.13.1" from @app/[email protected]
npm ERR! apps/address-service
npm ERR! @app/[email protected]
npm ERR! node_modules/@app/address-service
npm ERR! workspace apps\address-service from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^17.0.2" from @keystonejs/[email protected]
npm ERR! node_modules/@keystonejs/fields-color
npm ERR! @keystonejs/fields-color@"^1.1.0" from @app/[email protected]
npm ERR! apps/address-service
npm ERR! @app/[email protected]
npm ERR! node_modules/@app/address-service
npm ERR! workspace apps\address-service from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! C:\Users\profn\AppData\Local\npm-cache_logs\2023-12-05T14_13_17_509Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: C:\Users\profn\AppData\Local\npm-cache_logs\2023-12-05T14_13_17_509Z-debug-0.log
PS C:\Apache24\htdocs\condo> npm install file:./apps/address-service/domains --force
npm WARN using --force Recommended protections disabled.
npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "workspace:": workspace:^

npm ERR! A complete log of this run can be found in: C:\Users\profn\AppData\Local\npm-cache_logs\2023-12-05T14_14_29_580Z-debug-0.log
PS C:\Apache24\htdocs\condo> yarn workspace @app/condo build
Internal Error: root@workspace:.: This package doesn't seem to be present in your lockfile; run "yarn install" to update the lockfile
at TR.getCandidates (C:\Apache24\htdocs\condo.yarn\releases\yarn-3.2.2.cjs:2:1715982)
at wd.getCandidates (C:\Apache24\htdocs\condo.yarn\releases\yarn-3.2.2.cjs:2:1613543)
at C:\Apache24\htdocs\condo.yarn\releases\yarn-3.2.2.cjs:2:1729504
at Lg (C:\Apache24\htdocs\condo.yarn\releases\yarn-3.2.2.cjs:2:1574940)
at r (C:\Apache24\htdocs\condo.yarn\releases\yarn-3.2.2.cjs:2:1729483)
at async Promise.allSettled (index 0)
at async go (C:\Apache24\htdocs\condo.yarn\releases\yarn-3.2.2.cjs:2:1574276)
at async C:\Apache24\htdocs\condo.yarn\releases\yarn-3.2.2.cjs:2:1730139
at async di.startProgressPromise (C:\Apache24\htdocs\condo.yarn\releases\yarn-3.2.2.cjs:2:1611268)
at async ze.resolveEverything (C:\Apache24\htdocs\condo.yarn\releases\yarn-3.2.2.cjs:2:1728223)

@toplenboren
Copy link
Member

Hi! This app doesn't work on windows. You can try WSL or Linux

@kelemenbalazs
Copy link

Also node v20 is not supported. Use Node v16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants