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

npm install fails to find protagonist #26

Open
JonathanMontane opened this issue May 2, 2017 · 2 comments
Open

npm install fails to find protagonist #26

JonathanMontane opened this issue May 2, 2017 · 2 comments

Comments

@JonathanMontane
Copy link

Installation setup:

  • Node version: v5.3 (with nvm)
  • Importer version: v2.0.0

Command run:

npm install

Outcome:

WARNING in ./~/drafter/lib/drafter.js
Module not found: Error: Can't resolve 'protagonist' in '[...]/Paw-APIBlueprintImporter/node_modules/drafter/lib'
 @ ./~/drafter/lib/drafter.js 2:20-42
 @ ./~/fury-adapter-apib-parser/lib/adapter.js
 @ ./src/APIBlueprintImporter.js
 @ multi ./src/APIBlueprintImporter.js
Click here to see the full log
> [email protected] install /Users/jonmontane/work/extensions/importers/Paw-APIBlueprintImporter/node_modules/fsevents
> node install

[fsevents] Success: "/Users/jonmontane/work/extensions/importers/Paw-APIBlueprintImporter/node_modules/fsevents/lib/binding/Release/node-v47-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile

[email protected] install /Users/jonmontane/work/extensions/importers/Paw-APIBlueprintImporter/node_modules/protagonist
node-gyp rebuild

CXX(target) Release/obj.target/libmarkdownparser/drafter/ext/snowcrash/ext/markdown-parser/src/ByteBuffer.o
CXX(target) Release/obj.target/libmarkdownparser/drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.o
CXX(target) Release/obj.target/libmarkdownparser/drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownParser.o
LIBTOOL-STATIC Release/markdownparser.a
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/HTTP.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/MSON.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/MSONOneOfParser.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/MSONSourcemap.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/MSONTypeSectionParser.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/MSONValueMemberParser.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/Blueprint.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/BlueprintSourcemap.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/Section.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/Signature.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/snowcrash.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/UriTemplateParser.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/HeadersParser.o
CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/posix/RegexMatch.o
LIBTOOL-STATIC Release/snowcrash.a
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/autolink.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/buffer.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/markdown.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/src_map.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/stack.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html/houdini_href_e.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html/houdini_html_e.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html/html.o
CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html/html_smartypants.o
LIBTOOL-STATIC Release/sundown.a
CXX(target) Release/obj.target/libdrafter/drafter/src/drafter.o
CXX(target) Release/obj.target/libdrafter/drafter/src/drafter_private.o
CXX(target) Release/obj.target/libdrafter/drafter/src/Serialize.o
CXX(target) Release/obj.target/libdrafter/drafter/src/SerializeAST.o
CXX(target) Release/obj.target/libdrafter/drafter/src/SerializeSourcemap.o
CXX(target) Release/obj.target/libdrafter/drafter/src/SerializeResult.o
CXX(target) Release/obj.target/libdrafter/drafter/src/RefractAPI.o
CXX(target) Release/obj.target/libdrafter/drafter/src/RefractDataStructure.o
CXX(target) Release/obj.target/libdrafter/drafter/src/RefractSourceMap.o
CXX(target) Release/obj.target/libdrafter/drafter/src/Render.o
CXX(target) Release/obj.target/libdrafter/drafter/src/NamedTypesRegistry.o
CXX(target) Release/obj.target/libdrafter/drafter/src/RefractElementFactory.o
CXX(target) Release/obj.target/libdrafter/drafter/src/ConversionContext.o
CXX(target) Release/obj.target/libdrafter/drafter/src/refract/Element.o
CXX(target) Release/obj.target/libdrafter/drafter/src/refract/VisitorUtils.o
CXX(target) Release/obj.target/libdrafter/drafter/src/refract/SerializeCompactVisitor.o
CXX(target) Release/obj.target/libdrafter/drafter/src/refract/SerializeVisitor.o
CXX(target) Release/obj.target/libdrafter/drafter/src/refract/ComparableVisitor.o
CXX(target) Release/obj.target/libdrafter/drafter/src/refract/TypeQueryVisitor.o
CXX(target) Release/obj.target/libdrafter/drafter/src/refract/IsExpandableVisitor.o
CXX(target) Release/obj.target/libdrafter/drafter/src/refract/ExpandVisitor.o
CXX(target) Release/obj.target/libdrafter/drafter/src/refract/RenderJSONVisitor.o
CXX(target) Release/obj.target/libdrafter/drafter/src/refract/PrintVisitor.o
CXX(target) Release/obj.target/libdrafter/drafter/src/refract/JSONSchemaVisitor.o
CXX(target) Release/obj.target/libdrafter/drafter/src/refract/Registry.o
CXX(target) Release/obj.target/libdrafter/drafter/src/refract/Query.o
LIBTOOL-STATIC Release/drafter.a
CXX(target) Release/obj.target/libsos/drafter/ext/sos/src/sos.o
LIBTOOL-STATIC Release/sos.a
CXX(target) Release/obj.target/protagonist/src/annotation.o
CXX(target) Release/obj.target/protagonist/src/options_parser.o
CXX(target) Release/obj.target/protagonist/src/parse_async.o
../src/parse_async.cc:133:15: warning: 'FatalException' is deprecated: Use FatalException(isolate, ...) [-Wdeprecated-declarations]
node::FatalException(try_catch);
^
/Users/jonmontane/.node-gyp/5.3.0/include/node/node.h:283:29: note: 'FatalException' has been explicitly marked deprecated here
inline void FatalException(const v8::TryCatch& try_catch) {
^
1 warning generated.
CXX(target) Release/obj.target/protagonist/src/parse_sync.o
CXX(target) Release/obj.target/protagonist/src/protagonist.o
CXX(target) Release/obj.target/protagonist/src/result.o
CXX(target) Release/obj.target/protagonist/src/v8_wrapper.o
CXX(target) Release/obj.target/protagonist/src/validate.o
CXX(target) Release/obj.target/protagonist/src/validate_async.o
../src/validate_async.cc:126:15: warning: 'FatalException' is deprecated: Use FatalException(isolate, ...) [-Wdeprecated-declarations]
node::FatalException(try_catch);
^
/Users/jonmontane/.node-gyp/5.3.0/include/node/node.h:283:29: note: 'FatalException' has been explicitly marked deprecated here
inline void FatalException(const v8::TryCatch& try_catch) {
^
1 warning generated.
CXX(target) Release/obj.target/protagonist/src/validate_sync.o
SOLINK_MODULE(target) Release/protagonist.node

[email protected] install /Users/jonmontane/work/extensions/importers/Paw-APIBlueprintImporter
cake install

Hash: e6e6797a820cf81555f0
Version: webpack 2.2.0
Time: 1280ms
Asset Size Chunks Chunk Names
APIBlueprintImporter.js 2.26 MB 0 [emitted] [big] main
[23] ./~/babel-runtime/core-js/get-iterator.js 93 bytes {0} [built]
[24] ./~/babel-runtime/helpers/classCallCheck.js 208 bytes {0} [built]
[25] ./~/babel-runtime/helpers/createClass.js 904 bytes {0} [built]
[36] ./~/drafter.js/lib/drafter.nomem.js 1.57 MB {0} [built]
[46] ./src/APIBlueprintImporter.js 3.51 kB {0} [built]
[47] ./src/APIElementImporter.js 8.94 kB {0} [built]
[79] ./~/deckardcain/lib/deckardcain.js 2.9 kB {0} [built]
[81] ./~/fury-adapter-apib-parser/lib/adapter.js 1.54 kB {0} [built]
[82] ./~/fury-adapter-apib-parser/~/babel-runtime/helpers/interop-require-default.js 148 bytes {0} [built]
[83] ./~/fury/lib/fury.js 5.73 kB {0} [built]
[84] ./~/fury/~/babel-runtime/core-js/object/assign.js 94 bytes {0} [built]
[86] ./~/fury/~/babel-runtime/helpers/class-call-check.js 211 bytes {0} [built]
[87] ./~/fury/~/babel-runtime/helpers/create-class.js 770 bytes {0} [built]
[167] ./~/minim/lib/minim.js 261 bytes {0} [built]
[178] multi ./src/APIBlueprintImporter.js 28 bytes {0} [built]
+ 164 hidden modules

WARNING in ./~/drafter/lib/drafter.js
Module not found: Error: Can't resolve 'protagonist' in '/Users/jonmontane/work/extensions/importers/Paw-APIBlueprintImporter/node_modules/drafter/lib'
@ ./~/drafter/lib/drafter.js 2:20-42
@ ./~/fury-adapter-apib-parser/lib/adapter.js
@ ./src/APIBlueprintImporter.js
@ multi ./src/APIBlueprintImporter.js
[email protected] /Users/jonmontane/work/extensions/importers/Paw-APIBlueprintImporter
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ └─┬ [email protected]
│ │ │ └── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └─┬ [email protected]
│ │ └─┬ [email protected]
│ │ ├── [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ └── [email protected]
├─┬ [email protected]
│ └─┬ [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ └── [email protected]
├── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ └─┬ [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ └─┬ [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ └─┬ [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ └─┬ [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ └── [email protected]
│ └─┬ [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ └── [email protected]
├─┬ [email protected]
│ └─┬ [email protected]
│ ├── [email protected]
│ └── [email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ └─┬ [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ └─┬ [email protected]
│ └─┬ [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ └─┬ [email protected]
│ └─┬ [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ └── [email protected]
├─┬ [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ └─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ └─┬ [email protected]
│ └── [email protected]
├── [email protected]
└─┬ [email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ └─┬ [email protected]
│ └── [email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ └── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ └─┬ [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ └── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ └── [email protected]
│ │ │ └─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ └─┬ [email protected]
│ └── [email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └─┬ [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ └── [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ └── [email protected]
├─┬ [email protected]
│ └─┬ [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └─┬ [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected]
│ │ │ └── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ └── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ └── [email protected]
│ │ └─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected]
│ │ │ │ │ └─┬ [email protected]
│ │ │ │ │ └── [email protected]
│ │ │ │ └─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ └── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected]
│ │ │ │ │ ├── [email protected]
│ │ │ │ │ ├── [email protected]
│ │ │ │ │ └── [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ └── [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ └── [email protected]
│ │ │ │ └─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ └─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └─┬ [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ └── [email protected]
│ │ └─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ └─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ └─┬ [email protected]
│ └── [email protected]
├─┬ [email protected]
│ └── [email protected]
└─┬ [email protected]
├── [email protected]
├─┬ [email protected]
│ └── [email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ └─┬ [email protected]
│ └── [email protected]
├─┬ [email protected]
│ └─┬ [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ └─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ └─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ └── [email protected]
│ └── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ └─┬ [email protected]
│ └── [email protected]
├── [email protected]
├── [email protected]
└─┬ [email protected]
└── [email protected]

npm WARN EPACKAGEJSON [email protected] No license field.

Expected outcome:

No errors/warning

@kylef
Copy link
Member

kylef commented May 2, 2017

Protagonist should be an optional dependency (https://github.com/apiaryio/drafter-npm/blob/master/package.json#L26). It's the C++ version of our API Blueprint parser, if it isn't installable (i.e, because this is a Paw module) then the slower pure JavaScript variant would be chosen at runtime (https://github.com/apiaryio/drafter-npm/blob/master/lib/drafter.js).

@JonathanMontane Are you hitting any specific problem here? Failing to install Protagonist is expected, and since it's an optional dependency NPM should continue after failing to install it. You can disable attempting to install the optional dependency with npm install --no-optional.

@JonathanMontane
Copy link
Author

@kylef No, I wasn't. I just didn't expect this behavior to be expected ;) I'll see how everything is working without the optional dependencies.

Would it be possible for you to make a small update to the readme about this potentially confusing behavior? Thanks!

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

2 participants