Skip to content
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

Cannot run reslate as a dependency. #53

Closed
tarrnobi opened this issue Jun 10, 2021 · 0 comments
Closed

Cannot run reslate as a dependency. #53

tarrnobi opened this issue Jun 10, 2021 · 0 comments

Comments

@tarrnobi
Copy link

Bug Description
Following the instructions at https://github.com/Mermade/reslate to set it up I:

  1. Created my node project using npm init
  2. Run npm i --save-dev reslate
  3. Run npx reslate init
  4. Run npx reslate serve

The serve fails with the following message "no such file or directory, stat ...$SLATEDIR` (clearer in the image).

I'm not sure if this helps, but If I navigate to node_modules\reslate\package.json and replace all of the $SLATEDIR variables with ../.., it successfully serves. It seems like it's passing the slatedir variable through for the first part of the call (build), but not for the serve itself.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Browser (please complete the following information):

  • OS: Windows 10
  • Node: v14.15.1

Last upstream Slate commit (run git log --author="Robert Lord" | head -n 1):
Put the commit hash here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant