-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Cant start app in development in mac #10584
Comments
node v16.15.0 |
When i change node to v20.3.0, also error ,but can start, when then window open ,show another error. Error: Cannot find module './ElectronAppWrapper'
|
Did you run |
use yarn watch but also another error
|
If you recently pull the latest changes from the the dev branch, try to run |
xutaotao@mybook app-desktop % yarn build
cant run success |
I have pull the last change |
I clear node_modules, and try angin some error in install dependencies:
this build log error in
the full |
Is this file has some problems ?
|
I sloved it!!! Two steps: 1.upgrade git, dont use
|
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions. |
Operating system
macOS
Joplin version
2.14
Desktop version info
2.14
Current behaviour
Expected behaviour
can run success in development
Logs
xutaotao@mybook joplin % yarn install
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed in 0s 992ms
➤ YN0000: ┌ Fetch step
➤ YN0019: │ temp-dir-npm-2.0.0-e8af180805-cc4f0404bf.zip appears to be unused - removing
➤ YN0019: │ terminal-kit-npm-3.0.2-d6b5b994f1-ba0e5f51dc.zip appears to be unused - removing
➤ YN0019: │ tesseract.js-npm-5.0.5-96ba770781-2cd9e6c58c.zip appears to be unused - removing
➤ YN0019: │ tree-kit-npm-0.8.7-f384c98aa0-f184e418f9.zip appears to be unused - removing
➤ YN0019: │ yaml-npm-2.4.0-c777792a53-3c25ebae34.zip appears to be unused - removing
➤ YN0000: └ Completed in 1m 16s
➤ YN0000: ┌ Link step
➤ YN0007: │ husky@patch:husky@npm%3A3.1.0#./.yarn/patches/husky-npm-3.1.0-5cc13e4e34.patch::version=3.1.0&hash=d9603f&locator=root%40workspace%3A. must be built because it never has been before or the last one failed
➤ YN0007: │ keytar@npm:7.9.0 must be built because it never has been before or the last one failed
➤ YN0007: │ sharp@npm:0.33.2 must be built because it never has been before or the last one failed
➤ YN0007: │ sqlite3@npm:5.1.6 [ea905] must be built because it never has been before or the last one failed
➤ YN0007: │ fsevents@patch:fsevents@npm%3A1.2.13#~builtin<compat/fsevents>::version=1.2.13&hash=d11327 must be built because it never has been before or the last one failed
➤ YN0007: │ canvas@npm:2.11.2 must be built because it never has been before or the last one failed
➤ YN0007: │ tesseract.js@npm:5.0.4 must be built because it never has been before or the last one failed
➤ YN0007: │ core-js@npm:3.33.1 must be built because it never has been before or the last one failed
➤ YN0007: │ core-js-pure@npm:3.33.1 must be built because it never has been before or the last one failed
➤ YN0007: │ @fortawesome/fontawesome-free@npm:5.15.4 must be built because it never has been before or the last one failed
➤ YN0007: │ electron@npm:26.5.0 must be built because it never has been before or the last one failed
➤ YN0007: │ @fortawesome/fontawesome-common-types@npm:0.2.36 must be built because it never has been before or the last one failed
➤ YN0007: │ @fortawesome/fontawesome-common-types@npm:6.4.2 must be built because it never has been before or the last one failed
➤ YN0007: │ @fortawesome/fontawesome-common-types@npm:6.1.2 must be built because it never has been before or the last one failed
➤ YN0007: │ root@workspace:. must be built because it never has been before or the last one failed
➤ YN0007: │ @joplin/app-mobile@workspace:packages/app-mobile must be built because it never has been before or the last one failed
➤ YN0007: │ @fortawesome/fontawesome-svg-core@npm:1.2.36 must be built because it never has been before or the last one failed
➤ YN0007: │ @fortawesome/free-regular-svg-icons@npm:5.15.4 must be built because it never has been before or the last one failed
➤ YN0007: │ @fortawesome/free-solid-svg-icons@npm:5.15.4 must be built because it never has been before or the last one failed
➤ YN0007: │ @fortawesome/fontawesome-svg-core@npm:6.4.2 must be built because it never has been before or the last one failed
➤ YN0007: │ @fortawesome/free-brands-svg-icons@npm:6.4.2 must be built because it never has been before or the last one failed
➤ YN0007: │ @fortawesome/free-regular-svg-icons@npm:6.4.2 must be built because it never has been before or the last one failed
➤ YN0007: │ @fortawesome/free-solid-svg-icons@npm:6.4.2 must be built because it never has been before or the last one failed
➤ YN0007: │ @fortawesome/fontawesome-svg-core@npm:6.1.2 must be built because it never has been before or the last one failed
➤ YN0007: │ @fortawesome/free-solid-svg-icons@npm:6.1.2 must be built because it never has been before or the last one failed
➤ YN0009: │ root@workspace:. couldn't be built successfully (exit code 1, logs can be found here: /private/var/folders/ty/9r8x3d5s659_1p678slwnc1w0000gn/T/xfs-cc48cde9/build.log)
➤ YN0000: └ Completed in 8m 39s
➤ YN0000: Failed with errors in 9m 57s
xutaotao@mybook joplin % cd packages/app-desktop
xutaotao@mybook app-desktop % yarn start
[16:34:31] Requiring external module ts-node/register
Error: Cannot find module 'readline/promises'
Require stack:
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._resolveFilename.sharedData.moduleResolveFilenameHook.installedValue [as _resolveFilename] (/Users/xutaotao/Documents/ssss/joplin/packages/app-desktop/node_modules/@cspotcode/source-map-support/source-map-support.js:811:30)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/Users/xutaotao/Documents/ssss/joplin/packages/default-plugins/utils/waitForCliInput.ts:2:18)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Module.m._compile (/Users/xutaotao/Documents/ssss/joplin/packages/app-desktop/node_modules/ts-node/src/index.ts:1618:23)
at Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Object.require.extensions. [as .ts] (/Users/xutaotao/Documents/ssss/joplin/packages/app-desktop/node_modules/ts-node/src/index.ts:1621:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Users/xutaotao/Documents/ssss/joplin/packages/default-plugins/utils/waitForCliInput.ts',
'/Users/xutaotao/Documents/ssss/joplin/packages/default-plugins/buildDefaultPlugins.ts',
'/Users/xutaotao/Documents/ssss/joplin/packages/default-plugins/commands/buildAll.ts',
'/Users/xutaotao/Documents/ssss/joplin/packages/app-desktop/gulpfile.ts',
'/Users/xutaotao/Documents/ssss/joplin/packages/app-desktop/node_modules/gulp-cli/lib/shared/require-or-import.js',
'/Users/xutaotao/Documents/ssss/joplin/packages/app-desktop/node_modules/gulp-cli/lib/versioned/^4.0.0/index.js',
'/Users/xutaotao/Documents/ssss/joplin/packages/app-desktop/node_modules/gulp-cli/index.js',
'/Users/xutaotao/Documents/ssss/joplin/packages/app-desktop/node_modules/gulp/bin/gulp.js'
]
}
xutaotao@mybook app-desktop %
The text was updated successfully, but these errors were encountered: