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 created a new project using @paljs/cli with the following command:
npx @paljs/cli create
After successfully generating the project, I added "type": "module" to package.json to enable ES modules. However, when I tried to run the pal g command, I got the following error:
> npx pal g
✕ Error: pal config file is not found
Steps to Reproduce
Create a new project with @paljs/cli:
npx @paljs/cli create
Select apollo-nexus-schema as the template and proceed with the default setup.
Add "type": "module" in package.json.
Run the pal g command:
npx pal g
The error occurs:
✕ Error: pal config file is not found
Expected Behavior
The pal g command should run successfully without errors.
Actual Behavior
It fails with "Error: pal config file is not found", despite pal.config.js existing in the project directory.
Description
I created a new project using
@paljs/cli
with the following command:After successfully generating the project, I added
"type": "module"
topackage.json
to enable ES modules. However, when I tried to run the pal g command, I got the following error:> npx pal g ✕ Error: pal config file is not found
Steps to Reproduce
@paljs/cli
:apollo-nexus-schema
as the template and proceed with the default setup."type": "module"
in package.json.pal g
command:Expected Behavior
The
pal g
command should run successfully without errors.Actual Behavior
It fails with "Error: pal config file is not found", despite pal.config.js existing in the project directory.
Additional Information
package.json
The text was updated successfully, but these errors were encountered: