-
Notifications
You must be signed in to change notification settings - Fork 2
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 when npx torchlight init #4
Comments
For some reason the stubs/config.js file is in src, when using yarn. when using npm, this file is missing completely. |
When using Yarn I get the same problem. I found the same as @martydingo , the config file lives in the src folder, not in |
Stubs folder is also in |
Confirmed. Installed using yarn. Temporary solutions:
|
Got this too. Solved it by using the following snippet (PowerShell on Windows): New-Item -Path "$env:APPDATA\npm\node_modules\@torchlight-api\torchlight-cli\dist\stubs\" -Name config.js -ItemType File -Force In Linux (shell), would be: mkdir -p $HOME/project/node_modules/@torchlight-api/torchlight-cli/dist/stubs && touch $HOME/project/node_modules/@torchlight-api/torchlight-cli/dist/stubs/config.js |
Error: ENOENT: no such file or directory, open '/home/ivan/project/node_modules/@torchlight-api/torchlight-cli/dist/stubs/config.js'
The text was updated successfully, but these errors were encountered: