Installing redspot as a dependency doesn't work
forgetso opened this issue · comments
Redspot Version
0.13.6
I've been using redspot as a local dependency for ages using the file://
syntax.
"@redspot/chai": "file://",
"@redspot/decimals": "file://",
"@redspot/explorer": "file://",
"@redspot/gas-reporter": "file://",
"@redspot/known-types": "file://",
"@redspot/patract": "file://",
"@redspot/watcher": "file://",
"redspot": "file://",
Now I'm finally switching back to master so have changed to using:
"@redspot/chai": "^0.13.6",
"@redspot/decimals": "^0.13.6",
"@redspot/explorer": "^0.13.6",
"@redspot/gas-reporter": "^0.13.6",
"@redspot/known-types": "^0.13.6",
"@redspot/patract": "^0.13.6",
"@redspot/watcher": "^0.13.6",
"redspot": "^0.13.6",
Including redspot this way doesn't seem to work. yarn
puts the redspot bin in node_modules/.bin/redspot
and this contains references to lots of files that do not exist.
const task_names_1 = require("../../builtin-tasks/task-names");
const context_1 = require("../context");
const config_loading_1 = require("../core/config/config-loading");
const errors_1 = require("../core/errors");
const errors_list_1 = require("../core/errors-list");
Do you need to list the redspot core files for inclusion in the dist?
Or am I missing something?
Thanks
Nevermind I can see this is a symlink to the redspot folder
node_modules/.bin/redspot -> ../redspot/internal/cli/cli.js