-
-
Notifications
You must be signed in to change notification settings - Fork 10
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: spawn nx ENOENT #4
Comments
@NathanWalker any idea? Sorry for another ping, but this is really preventing me from publishing my plugin... |
@hrueger thanks for this - appears could be a Windows difference with the node spawn handling. No worries though I'll look into that but here's what you can always do (the publish workflow is just a nicety but you can always do it directly):
The |
@NathanWalker Thank you, publishing the package manually worked perfectly. |
‘npm run publish-packages’ has been fixed for this case in latest version of the tools. As long as using a tilda ‘~’ on the tools version in your plugin workspace, will pick them up when running a ‘npm run setup’ to clean your workspace again. |
@NathanWalker Thanks, but it's still not working, I get the same error. I have |
Ok thanks - let's reopen and if any Windows users out there can post a PR would be appreciated - probably path separator needs another adjustment. |
@hrueger posted you PR which I believe will fix it for you. Could you merge and give a build on your Windows setup? |
Sounds like that may not totally fix it for you - this is related to #8 where some similar investigations are occurring from that reporter as well. |
@NathanWalker Sorry for the late reply. Unfortunately, your PR doesn't change anything. I still get the same error message. |
@hrueger a contributor just helped find the cause on Windows and Pr'd the fix. For you workspace just open
after:
|
I went ahead and pushed up to existing pr to include that final fix as well: |
@NathanWalker thanks, I'll test and merge it tomorrow. |
@NathanWalker SchoolSquirrel/nativescript-plugins#47 did solve the build problem, but not this issue. I created a PR: NativeScript/plugin-tools#1 |
Overall the plugin-seed is working great.
However, I cannot publish the
emoji-picker
package, instead, the following error appears:You can have a look at my workspace for reference: https://github.com/SchoolSquirrel/nativescript-plugins . Just run
npm run publish-packages
, type inemoji-picker
and hit Enter twice.The debug log looks like this:
As you can see, I'm using Windows 10. I also tried installing
nx
globally but this didn't change anything.The text was updated successfully, but these errors were encountered: