-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
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.
This was tested on both windows 11 and Mac systems, getting same error in terminal app.
Cant seem to pinpoint reason! :/
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
