You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting an error when running pe-create no matter the configuration.
I've tried v16 and v18 with no success
➜ [ui] git:(main) ✗ pe-create
____ _ _ _____
| _ \ _ __ ___ (_) ___ ___ | |_ | ____| _ __ _ __ ___ _ __
| |_) || '__|/ _ \ | | / _ \ / __|| __| | _| | '__|| '__|/ _ \ | '__|
| __/ | | | (_) || || __/| (__ | |_ | |___ | | | | | (_) || |
|_| |_| \___/_/ | \___| \___| \__| |_____||_| |_| \___/ |_|
|__/
? Type in the name of the resource: banner
? Type in the name of the resource: banner
? Please select a language to create a FiveM App for...
? Please select a language to create a FiveM App for... JavaScript
{ val: 'JavaScript' }
? What JavaScript packages would you like to use with this project?
? What JavaScript packages would you like to use with this project? eslint, pret
tier
? Do you want to include a UI framework?
? Do you want to include a UI framework? React with JavaScript
selected ui framework react_javascript
✖ Failed to create resource path!
✔ Successfully cloned templates
⠋ Copying files to resourceError: Cannot find module './copiers/JavaScript'
Require stack:
- /home/docker/.nvm/versions/node/v16.20.1/lib/node_modules/@project-error/cli/dist/functions/tools/github.js
- /home/docker/.nvm/versions/node/v16.20.1/lib/node_modules/@project-error/cli/dist/functions/createResource.js
- /home/docker/.nvm/versions/node/v16.20.1/lib/node_modules/@project-error/cli/dist/commands/create.js
- /home/docker/.nvm/versions/node/v16.20.1/lib/node_modules/@project-error/cli/dist/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
at Module._load (node:internal/modules/cjs/loader:922:27)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:110:18)
at /home/docker/.nvm/versions/node/v16.20.1/lib/node_modules/@project-error/cli/dist/functions/tools/github.js:48:79
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async installTemplate (/home/docker/.nvm/versions/node/v16.20.1/lib/node_modules/@project-error/cli/dist/functions/tools/github.js:48:31)
at async createResource (/home/docker/.nvm/versions/node/v16.20.1/lib/node_modules/@project-error/cli/dist/functions/createResource.js:13:5)
at async createCommand (/home/docker/.nvm/versions/node/v16.20.1/lib/node_modules/@project-error/cli/dist/commands/create.js:29:5) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/docker/.nvm/versions/node/v16.20.1/lib/node_modules/@project-error/cli/dist/functions/tools/github.js',
'/home/docker/.nvm/versions/node/v16.20.1/lib/node_modules/@project-error/cli/dist/functions/createResource.js',
'/home/docker/.nvm/versions/node/v16.20.1/lib/node_modules/@project-error/cli/dist/commands/create.js',
'/home/docker/.nvm/versions/node/v16.20.1/lib/node_modules/@project-error/cli/dist/index.js'
]
}
✖ Failed to copy files!
✔ Successfully installed default packages
✔ Successfully installed UI packages
✔ Successfully installed eslint
✔ Successfully installed prettier
✔ Successfully installed selected packages
Success!
Result of prompts:
{
language: { val: 'JavaScript' },
resourceName: { val: 'banner' },
packages: { val: [ 'eslint', 'prettier' ] },
uiFramework: { val: 'react_javascript' }
}
Complete
The text was updated successfully, but these errors were encountered:
I'm getting an error when running pe-create no matter the configuration.
I've tried v16 and v18 with no success
The text was updated successfully, but these errors were encountered: