defect: v1.1.0 package will not load
gregswindle opened this issue · 0 comments
gregswindle commented
Defect Report
1. Summarize what you expected to happen
As an API consumer,
I must be able to require
/import
archetype-rules,
in order to use it.
2. Describe the defect (aka "bug")
Whenever one attempts to require the module, it throws an error:
const archetypesRules = require('archetypes-rules@1.1.0')
/*
throws:
Error: Cannot find module './dist/archetypes-rules'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
at Function.Module._load (internal/modules/cjs/loader.js:520:25)
at Module.require (internal/modules/cjs/loader.js:650:17)
at require (internal/modules/cjs/helpers.js:20:18)
*/
3. Acceptance criteria
When working properly, I expect that:
- 1. The archetypes-rules module loads without error.
- 2. All classes are available for use.
🐞 4. Steps to reproduce
View "defect: archetypes-rules v1.1.0 " in RunKit to observe the error.
5. Your environment
⌦ Include as many relevant details about the environment in which the defect
occured.
⌦ Include as many relevant details about the environment in which the defect
occured.
-
archetypes-rules version: v1.1.0
-
JavaScript
version (node --version
): v10.5.0 -
npm
version (npm --version
): 6.9.0 -
Operating System and version (desktop or mobile):
Hardware:
Hardware Overview: Model Name: MacBook Pro Model Identifier: MacBookPro11,4 Processor Name: Intel Core i7 Processor Speed: 2.8 GHz Number of Processors: 1 Total Number of Cores: 4 L2 Cache (per Core): 256 KB L3 Cache: 6 MB Memory: 16 GB Boot ROM Version: 189.0.0.0.0 SMC Version (system): 2.29f24
Software:
System Software Overview: System Version: macOS 10.12.6 (16G1918) Kernel Version: Darwin 16.7.0 Time since boot: 35 days 11:10