This repository was archived by the owner on Nov 3, 2019. It is now read-only.
-
Couldn't load subscription status.
- Fork 8
This repository was archived by the owner on Nov 3, 2019. It is now read-only.
Error: spawn npm ENOENT #94
Copy link
Copy link
Open
Description
Hi.. I'm trying to use your modules but got the error described in the title. I've installed mos globally with npm and in my project, I've tried to use mos --init. I got the following error:
Error: spawn npm ENOENT
at exports._errnoException (util.js:1026:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:189:19)
at onErrorNT (internal/child_process.js:366:16)
at _combinedTickCallback (internal/process/next_tick.js:102:11)
at process._tickCallback (internal/process/next_tick.js:161:9)
at Function.Module.runMain (module.js:607:11)
at startup (bootstrap_node.js:158:16)
at bootstrap_node.js:575:3
I've installed locally the mos-plugin-package-json package to be able to print packages and their version in the md file but when executing the mos command, I got another error:
Error: Failed to register mos-plugin-shields. Error: The shields plugin only works for github repos
at wrapError (C:\Users\MyUser\AppData\Roaming\npm\node_modules\mos\node_modules\remi\dist\index.js:38:24)
at C:\Users\iMyUser\AppData\Roaming\npm\node_modules\mos\node_modules\remi\dist\index.js:46:26
at <anonymous>
For the package-json package, in my markdown file, I've put the following inside the file:
< !--@'# ' + pkg.name-->
#my-awesome-module
< !--/@-->
But as I said, I had the "Failed to register mos-plugin-shileds" error.
Can you help me please ?
Thank you
Metadata
Metadata
Assignees
Labels
No labels