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

Error while running the default pear terminal app #333

Open
ShivankChopra opened this issue Oct 2, 2024 · 1 comment
Open

Error while running the default pear terminal app #333

ShivankChopra opened this issue Oct 2, 2024 · 1 comment

Comments

@ShivankChopra
Copy link

ShivankChopra commented Oct 2, 2024

Hi! I tried to make and run a simple terminal app using pear cli, seems to give errors cannot find module. No code was modified, just initialized a new project using pear init --yes --type terminal. I did install npm modules after initializing project.

Got following error log running the project by executing pear run -d . inside initialized folder:

x Cannot find module './-app/-app/dev'
x Error: Unknown [ code: MODULE_NOT_FOUND ] Error: Cannot find module './-app/-app/dev'
    at DependencyStream._resolveModule (file:///C:/Users/Shivank%20Chopra/AppData/Roaming/pear/by-dkey/7216eeac5c879a2ca1dcff14bb8c1ad47d188a8c17b13e66f36d354ea8bd3b28/1/boot.bundle/node_modules/dependency-stream/index.js:124:17)
    at async DependencyStream._open (file:///C:/Users/Shivank%20Chopra/AppData/Roaming/pear/by-dkey/7216eeac5c879a2ca1dcff14bb8c1ad47d188a8c17b13e66f36d354ea8bd3b28/1/boot.bundle/node_modules/dependency-stream/index.js:47:19)

I checked the boot.bundle (in %appdata%/pear\by-dkey\7216eeac5c879a2ca1dcff14bb8c1ad47d188a8c17b13e66f36d354ea8bd3b28\1) file,
the error seems to come while determining import and require modules.

image

This was tested on both windows 11 and Mac systems, getting same error in terminal app.

Cant seem to pinpoint reason! :/

@ShivankChopra ShivankChopra changed the title Error while running a hello world pear terminal app Error while running the default pear terminal app Oct 2, 2024
@rafapaezbas
Copy link
Contributor

@ShivankChopra thank you for you report. I cannot reproduce the issue on my Windows machine, could you try with latest platform release? If the issue persists please let us know.

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

No branches or pull requests

2 participants