saleor / saleor-app-payment-stripe

https://saleor.io/
Other
14 stars 162 forks source link

pnpm generate doesn't find definitions.json #191

Closed RytisTam closed 8 months ago

RytisTam commented 8 months ago

After downloading 0.3.0 release, installing packages via pnpm i and then doing pnpm generate, I get these errors:

ResolverError: Error opening file "C:\Users\rytis\Desktop\NewDiglita\stripe\node_modules\.pnpm\@saleor+json-schema-compiler@0.1.2\node_modules\@saleor\.\src\schemas\definitions.json"
ENOENT: no such file or directory, open 'C:\Users\rytis\Desktop\NewDiglita\stripe\node_modules\.pnpm\@saleor+json-schema-compiler@0.1.2\node_modules\@saleor\src\schemas\definitions.json'
    at ReadFileContext.callback (C:\Users\rytis\Desktop\NewDiglita\stripe\node_modules\.pnpm\@saleor+json-schema-compiler@0.1.2\node_modules\@saleor\json-schema-compiler\dist\index.js:81:73346)
    at FSReqCallback.readFileAfterOpen [as oncomplete] (node:fs:313:13)
 ELIFECYCLE  Command failed with exit code 1.
 ELIFECYCLE  Command failed with exit code 1.
RytisTam commented 8 months ago

Seems to throw this error in windows environment, however running same commands on WSL, seems to work. I suppose that's a problem on my end.