intfiction.org

The Interactive Fiction Community Forum
It is currently Wed Oct 18, 2017 1:28 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2, 3  Next
Author Message
PostPosted: Wed Sep 13, 2017 9:51 pm 
Offline

Joined: Sun Oct 11, 2015 5:09 pm
Posts: 274
I'm trying to build a standalone game package using Lectrote; having some trouble.

Following the directions under "Packaging a bound game" at https://github.com/erkyrath/lectrote#readme, I've managed to accomplish the following:

I have a subdirectory called "adv2xburs" inside the main Lectrote directory. Inside it I have my game file (adv2xburs.gblorb), about.html, play.html, and the package.json file, which looks like this:

Code:
{
  "name": "adv2xburs",
  "productName": "The Adventures of Twice Bursitis",
  "version": "1.0.0",
  "lectroteVersion": "1.2.8",
  "lectrotePackagedGame": "adv2xburs/adv2xburs.gblorb",
  "lectroteMacAppID": "com.gentry.adv2xburs",
  "lectroteCopyright": "Written by Michael Gentry",
  "description": "An interactive inflammation",
  "lectroteExtraFiles": [
    "adv2xburs.gblorb"
  ],
  "main": "main.js",
  "scripts": {
    "start": "electron main.js",
    "preinstall": "if [ -f quixe/LICENSE ]; then echo Quixe already installed; elif [ -d .git ]; then git submodule init; git submodule update; else git clone https://github.com/erkyrath/quixe.git; fi"
  },
  "author": "Andrew Plotkin <erkyrath@eblong.com>",
  "license": "MIT",
  "dependencies": {
    "electron": "1.6.11"
  },
  "devDependencies": {
    "electron-packager": "^8.0.0",
    "appdmg": "^0.4.0"
  }
}


I open a command prompt and type:

Code:
python.exe makedist.py win32-x64 --game \adv2xburs


I then get the following output:

Code:
Lectrote version: 1.2.8
Installing to: tempapp
Traceback (most recent call last):
  File "makedist.py", line 316, in <module>
    builddir(dest, pack, pkg)
  File "makedist.py", line 245, in builddir
    subprocess.call(args)
  File "C:\Users\mikeg\AppData\Local\Programs\Python\Python36-32\lib\subprocess.py", line 267, in call
    with Popen(*popenargs, **kwargs) as p:
  File "C:\Users\mikeg\AppData\Local\Programs\Python\Python36-32\lib\subprocess.py", line 707, in __init__
    restore_signals, start_new_session)
  File "C:\Users\mikeg\AppData\Local\Programs\Python\Python36-32\lib\subprocess.py", line 992, in _execute_child
    startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified


It looks like there's a missing file in my Python directory. I installed the latest version from www.python.org/download; is there a different version/distribution that I should be using?

Any help appreciated.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Wed Sep 13, 2017 11:37 pm 
Offline

Joined: Sat Jan 23, 2010 4:56 pm
Posts: 5474
Did you do the "npm install" step?

I haven't tested this on Windows at all. It might just not work.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Thu Sep 14, 2017 7:49 am 
Offline
User avatar

Joined: Thu Feb 11, 2010 1:51 pm
Posts: 741
Location: Chicago, Illinois, USA
I should try to build Secret Letter and Shadow in lectrote.

_________________
David C.
http://www.plover.net/~dave/blog
http://www.ifpress.org

"It boots nothing to avoid his snares, for they are ever beset by other snares." - The shade of High Lord Morham, The Wounded Land - Second Chronicles of Thomas Covenant.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Thu Sep 14, 2017 7:21 pm 
Offline

Joined: Sun Oct 11, 2015 5:09 pm
Posts: 274
zarf wrote:
Did you do the "npm install" step?


Um, well... I tried? I have node.js installed, and based on the install instructions I assume I have to have git installed as well (which I have). I typed "npm install" at the command prompt and for a minute or two it seemed to be doing something, and then it exploded in a frankly terrifying spray of error messages. Like, I'm not entirely sure now whether I've actually downloaded something or not?

Spoiler: show
Code:
C:\Program Files\nodejs\node_modules\npm>npm install
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated ignore@2.2.19: several bugs fixed in v3.2.1
npm@3.10.10 C:\Program Files\nodejs\node_modules\npm
+-- deep-equal@1.0.1
+-- marked@0.3.6
+-- marked-man@0.1.6
+-- npm-registry-couchapp@2.6.13
| +-- couchapp@0.11.0
| | +-- coffee-script@1.12.7
| | +-- connect@3.6.3
| | | +-- finalhandler@1.0.4
| | | | +-- encodeurl@1.0.1
| | | | +-- escape-html@1.0.3
| | | | +-- on-finished@2.3.0
| | | | | `-- ee-first@1.1.1
| | | | `-- statuses@1.3.1
| | | +-- parseurl@1.3.2
| | | `-- utils-merge@1.0.0
| | +-- http-proxy@0.8.7
| | | +-- colors@0.6.2
| | | +-- optimist@0.3.7
| | | | `-- wordwrap@0.0.3
| | | `-- pkginfo@0.2.3
| | +-- nano@6.4.0
| | | +-- errs@0.3.2
| | | +-- follow@0.12.1
| | | | +-- browser-request@0.3.3
| | | | `-- request@2.55.0
| | | |   +-- aws-sign2@0.5.0
| | | |   +-- bl@0.9.5
| | | |   | `-- readable-stream@1.0.34
| | | |   |   +-- isarray@0.0.1
| | | |   |   `-- string_decoder@0.10.31
| | | |   +-- caseless@0.9.0
| | | |   +-- combined-stream@0.0.7
| | | |   | `-- delayed-stream@0.0.5
| | | |   +-- form-data@0.2.0
| | | |   | `-- async@0.9.2
| | | |   +-- har-validator@1.8.0
| | | |   | `-- bluebird@2.11.0
| | | |   +-- hawk@2.3.1
| | | |   +-- http-signature@0.10.1
| | | |   | +-- asn1@0.1.11
| | | |   | +-- assert-plus@0.1.5
| | | |   | `-- ctype@0.5.3
| | | |   +-- mime-types@2.0.14
| | | |   | `-- mime-db@1.12.0
| | | |   +-- node-uuid@1.4.8
| | | |   +-- oauth-sign@0.6.0
| | | |   `-- qs@2.4.2
| | | +-- request@2.81.0
| | | | +-- aws-sign2@0.6.0
| | | | +-- caseless@0.12.0
| | | | +-- combined-stream@1.0.5
| | | | | `-- delayed-stream@1.0.0
| | | | +-- form-data@2.1.4
| | | | +-- har-validator@4.2.1
| | | | | `-- har-schema@1.0.5
| | | | +-- hawk@3.1.3
| | | | +-- http-signature@1.1.1
| | | | | `-- assert-plus@0.2.0
| | | | +-- mime-types@2.1.17
| | | | | `-- mime-db@1.30.0
| | | | +-- oauth-sign@0.8.2
| | | | +-- performance-now@0.2.0
| | | | +-- qs@6.4.0
| | | | +-- safe-buffer@5.1.1
| | | | +-- tunnel-agent@0.6.0
| | | | `-- uuid@3.1.0
| | | `-- underscore@1.8.3
| | +-- url@0.11.0
| | | +-- punycode@1.3.2
| | | `-- querystring@0.2.0
| | `-- watch@0.8.0
| +-- json@9.0.6
| `-- semver@4.3.6
+-- npm-registry-mock@1.0.1
| +-- hock@0.2.5
| | `-- deep-equal@0.2.1
| `-- util-extend@1.0.3
+-- require-inject@1.4.2
| `-- caller@1.0.1
+-- sprintf-js@1.0.3
+-- standard@6.0.8
| +-- eslint@2.2.0
| | +-- chalk@1.1.3
| | | +-- ansi-styles@2.2.1
| | | +-- has-ansi@2.0.0
| | | `-- supports-color@2.0.0
| | +-- concat-stream@1.6.0
| | | +-- readable-stream@2.3.3
| | | | +-- core-util-is@1.0.2
| | | | +-- isarray@1.0.0
| | | | +-- process-nextick-args@1.0.7
| | | | +-- string_decoder@1.0.3
| | | | `-- util-deprecate@1.0.2
| | | `-- typedarray@0.0.6
| | +-- debug@2.6.8
| | | `-- ms@2.0.0
| | +-- doctrine@1.5.0
| | | `-- isarray@1.0.0
| | +-- es6-map@0.1.5
| | | +-- d@1.0.0
| | | +-- es5-ext@0.10.30
| | | +-- es6-iterator@2.0.1
| | | +-- es6-set@0.1.5
| | | +-- es6-symbol@3.1.1
| | | `-- event-emitter@0.3.5
| | +-- escope@3.6.0
| | | +-- es6-weak-map@2.0.2
| | | `-- esrecurse@4.2.0
| | +-- espree@3.5.0
| | | +-- acorn@5.1.2
| | | `-- acorn-jsx@3.0.1
| | |   `-- acorn@3.3.0
| | +-- estraverse@4.2.0
| | +-- estraverse-fb@1.3.2
| | +-- esutils@2.0.2
| | +-- file-entry-cache@1.3.1
| | | +-- flat-cache@1.2.2
| | | | +-- circular-json@0.3.3
| | | | +-- del@2.2.2
| | | | | +-- globby@5.0.0
| | | | | | +-- array-union@1.0.2
| | | | | | | `-- array-uniq@1.0.3
| | | | | | `-- arrify@1.0.1
| | | | | +-- is-path-cwd@1.0.0
| | | | | +-- is-path-in-cwd@1.0.0
| | | | | | `-- is-path-inside@1.0.0
| | | | | `-- pify@2.3.0
| | | | `-- write@0.2.1
| | | `-- object-assign@4.1.1
| | +-- glob@6.0.4
| | | `-- minimatch@3.0.4
| | |   `-- brace-expansion@1.1.8
| | |     +-- balanced-match@1.0.0
| | |     `-- concat-map@0.0.1
| | +-- globals@8.18.0
| | +-- ignore@2.2.19
| | +-- inquirer@0.12.0
| | | +-- ansi-escapes@1.4.0
| | | +-- cli-cursor@1.0.2
| | | | `-- restore-cursor@1.0.1
| | | |   +-- exit-hook@1.1.1
| | | |   `-- onetime@1.1.0
| | | +-- cli-width@2.2.0
| | | +-- figures@1.7.0
| | | +-- readline2@1.0.1
| | | | `-- mute-stream@0.0.5
| | | +-- run-async@0.1.0
| | | +-- rx-lite@3.1.2
| | | `-- through@2.3.8
| | +-- is-my-json-valid@2.16.1
| | | +-- generate-function@2.0.0
| | | +-- generate-object-property@1.2.0
| | | | `-- is-property@1.0.2
| | | `-- jsonpointer@4.0.1
| | +-- is-resolvable@1.0.0
| | | `-- tryit@1.0.3
| | +-- json-stable-stringify@1.0.1
| | | `-- jsonify@0.0.0
| | +-- lodash@4.17.4
| | +-- optionator@0.8.2
| | | +-- deep-is@0.1.3
| | | +-- fast-levenshtein@2.0.6
| | | +-- levn@0.3.0
| | | +-- prelude-ls@1.1.2
| | | +-- type-check@0.3.2
| | | `-- wordwrap@1.0.0
| | +-- path-is-absolute@1.0.1
| | +-- pluralize@1.2.1
| | +-- progress@1.1.8
| | +-- require-uncached@1.0.3
| | | +-- caller-path@0.1.0
| | | | `-- callsites@0.2.0
| | | `-- resolve-from@1.0.1
| | +-- resolve@1.4.0
| | | `-- path-parse@1.0.5
| | +-- shelljs@0.5.3
| | +-- strip-json-comments@1.0.4
| | +-- table@3.8.3
| | | +-- ajv@4.11.8
| | | | `-- co@4.6.0
| | | +-- ajv-keywords@1.5.1
| | | +-- slice-ansi@0.0.4
| | | `-- string-width@2.1.1
| | |   +-- is-fullwidth-code-point@2.0.0
| | |   `-- strip-ansi@4.0.0
| | |     `-- ansi-regex@3.0.0
| | `-- user-home@2.0.0
| |   `-- os-homedir@1.0.2
| +-- eslint-config-standard@5.1.0
| +-- eslint-config-standard-jsx@1.1.1
| +-- eslint-plugin-promise@1.3.2
| +-- eslint-plugin-react@4.3.0
| +-- eslint-plugin-standard@1.3.3
| +-- standard-engine@3.3.1
| | +-- defaults@1.0.3
| | | `-- clone@1.0.2
| | +-- deglob@1.1.2
| | | +-- ignore@3.3.5
| | | +-- run-parallel@1.1.6
| | | `-- uniq@1.0.1
| | +-- find-root@1.1.0
| | +-- get-stdin@5.0.1
| | +-- minimist@1.2.0
| | +-- multiline@1.0.2
| | | `-- strip-indent@1.0.1
| | |   `-- get-stdin@4.0.1
| | `-- pkg-config@1.1.1
| |   `-- debug-log@1.0.1
| `-- xtend@4.0.1
+-- tacks@1.2.6
| `-- yargs@3.32.0
|   +-- camelcase@2.1.1
|   +-- cliui@3.2.0
|   | `-- wrap-ansi@2.1.0
|   +-- decamelize@1.2.0
|   +-- os-locale@1.4.0
|   | `-- lcid@1.0.0
|   |   `-- invert-kv@1.0.0
|   +-- string-width@1.0.2
|   | +-- code-point-at@1.1.0
|   | `-- is-fullwidth-code-point@1.0.0
|   |   `-- number-is-nan@1.0.1
|   +-- window-size@0.1.4
|   `-- y18n@3.2.1
`-- tap@7.1.2
  +-- bluebird@3.5.0
  +-- clean-yaml-object@0.1.0
  +-- color-support@1.1.3
  +-- coveralls@2.13.1
  | +-- js-yaml@3.6.1
  | | `-- esprima@2.7.3
  | +-- lcov-parse@0.0.10
  | +-- log-driver@1.2.5
  | `-- request@2.79.0
  |   +-- aws-sign2@0.6.0
  |   +-- aws4@1.6.0
  |   +-- caseless@0.11.0
  |   +-- combined-stream@1.0.5
  |   | `-- delayed-stream@1.0.0
  |   +-- extend@3.0.1
  |   +-- forever-agent@0.6.1
  |   +-- form-data@2.1.4
  |   | `-- asynckit@0.4.0
  |   +-- har-validator@2.0.6
  |   | +-- commander@2.11.0
  |   | `-- pinkie-promise@2.0.1
  |   |   `-- pinkie@2.0.4
  |   +-- hawk@3.1.3
  |   | +-- boom@2.10.1
  |   | +-- cryptiles@2.0.5
  |   | +-- hoek@2.16.3
  |   | `-- sntp@1.0.9
  |   +-- http-signature@1.1.1
  |   | +-- assert-plus@0.2.0
  |   | +-- jsprim@1.4.1
  |   | | +-- assert-plus@1.0.0
  |   | | +-- extsprintf@1.3.0
  |   | | +-- json-schema@0.2.3
  |   | | `-- verror@1.10.0
  |   | |   `-- assert-plus@1.0.0
  |   | `-- sshpk@1.13.1
  |   |   +-- asn1@0.2.3
  |   |   +-- assert-plus@1.0.0
  |   |   +-- bcrypt-pbkdf@1.0.1
  |   |   +-- dashdash@1.14.1
  |   |   | `-- assert-plus@1.0.0
  |   |   +-- ecc-jsbn@0.1.1
  |   |   +-- getpass@0.1.7
  |   |   | `-- assert-plus@1.0.0
  |   |   +-- jsbn@0.1.1
  |   |   `-- tweetnacl@0.14.5
  |   +-- is-typedarray@1.0.0
  |   +-- isstream@0.1.2
  |   +-- json-stringify-safe@5.0.1
  |   +-- mime-types@2.1.17
  |   | `-- mime-db@1.30.0
  |   +-- oauth-sign@0.8.2
  |   +-- qs@6.3.2
  |   +-- stringstream@0.0.5
  |   +-- tough-cookie@2.3.2
  |   +-- tunnel-agent@0.4.3
  |   `-- uuid@3.1.0
  +-- deeper@2.1.0
  +-- foreground-child@1.5.6
  | `-- cross-spawn@4.0.2
  |   `-- lru-cache@4.1.1
  |     +-- pseudomap@1.0.2
  |     `-- yallist@2.1.2
  +-- isexe@1.1.2
  +-- js-yaml@3.10.0
  | +-- argparse@1.0.9
  | `-- esprima@4.0.0
  +-- nyc@7.1.0
  | +-- arrify@1.0.1
  | +-- caching-transform@1.0.1
  | | `-- write-file-atomic@1.1.4
  | |   +-- graceful-fs@4.1.4
  | |   +-- imurmurhash@0.1.4
  | |   `-- slide@1.1.6
  | +-- convert-source-map@1.3.0
  | +-- default-require-extensions@1.0.0
  | | `-- strip-bom@2.0.0
  | |   `-- is-utf8@0.2.1
  | +-- find-cache-dir@0.1.1
  | | +-- commondir@1.0.1
  | | `-- pkg-dir@1.0.0
  | +-- find-up@1.1.2
  | | +-- path-exists@2.1.0
  | | `-- pinkie-promise@2.0.1
  | |   `-- pinkie@2.0.4
  | +-- foreground-child@1.5.3
  | | `-- cross-spawn@4.0.0
  | |   `-- lru-cache@4.0.1
  | |     +-- pseudomap@1.0.2
  | |     `-- yallist@2.0.0
  | +-- glob@7.0.5
  | | +-- fs.realpath@1.0.0
  | | +-- inflight@1.0.5
  | | | `-- wrappy@1.0.2
  | | +-- inherits@2.0.1
  | | +-- minimatch@3.0.2
  | | | `-- brace-expansion@1.1.6
  | | |   +-- balanced-match@0.4.2
  | | |   `-- concat-map@0.0.1
  | | +-- once@1.3.3
  | | `-- path-is-absolute@1.0.0
  | +-- istanbul-lib-coverage@1.0.0-alpha.4
  | +-- istanbul-lib-hook@1.0.0-alpha.4
  | | `-- append-transform@0.3.0
  | +-- istanbul-lib-instrument@1.1.0-alpha.4
  | | +-- babel-generator@6.11.4
  | | | +-- babel-messages@6.8.0
  | | | +-- babel-runtime@6.9.2
  | | | | +-- core-js@2.4.1
  | | | | `-- regenerator-runtime@0.9.5
  | | | +-- detect-indent@3.0.1
  | | | | +-- get-stdin@4.0.1
  | | | | +-- minimist@1.2.0
  | | | | `-- repeating@1.1.3
  | | | |   `-- is-finite@1.0.1
  | | | `-- lodash@4.13.1
  | | +-- babel-template@6.9.0
  | | +-- babel-traverse@6.11.4
  | | | +-- babel-code-frame@6.11.0
  | | | | +-- chalk@1.1.3
  | | | | | +-- ansi-styles@2.2.1
  | | | | | +-- escape-string-regexp@1.0.5
  | | | | | +-- has-ansi@2.0.0
  | | | | | `-- supports-color@2.0.0
  | | | | `-- js-tokens@2.0.0
  | | | +-- debug@2.2.0
  | | | | `-- ms@0.7.1
  | | | +-- globals@8.18.0
  | | | `-- invariant@2.2.1
  | | |   `-- loose-envify@1.2.0
  | | |     `-- js-tokens@1.0.3
  | | +-- babel-types@6.11.1
  | | | +-- esutils@2.0.2
  | | | `-- to-fast-properties@1.0.2
  | | `-- babylon@6.8.4
  | +-- istanbul-lib-report@1.0.0-alpha.3
  | | +-- async@1.5.2
  | | +-- path-parse@1.0.5
  | | `-- supports-color@3.1.2
  | |   `-- has-flag@1.0.0
  | +-- istanbul-lib-source-maps@1.0.0-alpha.10
  | | `-- source-map@0.5.6
  | +-- istanbul-reports@1.0.0-alpha.8
  | | `-- handlebars@4.0.5
  | |   +-- optimist@0.6.1
  | |   | `-- wordwrap@0.0.3
  | |   +-- source-map@0.4.4
  | |   | `-- amdefine@1.0.0
  | |   `-- uglify-js@2.7.0
  | |     +-- async@0.2.10
  | |     +-- uglify-to-browserify@1.0.2
  | |     `-- yargs@3.10.0
  | |       +-- camelcase@1.2.1
  | |       +-- cliui@2.1.0
  | |       | +-- center-align@0.1.3
  | |       | | +-- align-text@0.1.4
  | |       | | | `-- longest@1.0.1
  | |       | | `-- lazy-cache@1.0.4
  | |       | +-- right-align@0.1.3
  | |       | `-- wordwrap@0.0.2
  | |       `-- window-size@0.1.0
  | +-- md5-hex@1.3.0
  | | `-- md5-o-matic@0.1.1
  | +-- micromatch@2.3.11
  | | +-- arr-diff@2.0.0
  | | | `-- arr-flatten@1.0.1
  | | +-- array-unique@0.2.1
  | | +-- braces@1.8.5
  | | | +-- expand-range@1.8.2
  | | | | `-- fill-range@2.2.3
  | | | |   +-- is-number@2.1.0
  | | | |   +-- isobject@2.1.0
  | | | |   | `-- isarray@1.0.0
  | | | |   +-- randomatic@1.1.5
  | | | |   `-- repeat-string@1.5.4
  | | | +-- preserve@0.2.0
  | | | `-- repeat-element@1.1.2
  | | +-- expand-brackets@0.1.5
  | | | `-- is-posix-bracket@0.1.1
  | | +-- extglob@0.3.2
  | | +-- filename-regex@2.0.0
  | | +-- is-extglob@1.0.0
  | | +-- is-glob@2.0.1
  | | +-- kind-of@3.0.3
  | | | `-- is-buffer@1.1.3
  | | +-- normalize-path@2.0.1
  | | +-- object.omit@2.0.0
  | | | +-- for-own@0.1.4
  | | | | `-- for-in@0.1.5
  | | | `-- is-extendable@0.1.1
  | | +-- parse-glob@3.0.4
  | | | +-- glob-base@0.3.0
  | | | | `-- glob-parent@2.0.0
  | | | `-- is-dotfile@1.0.2
  | | `-- regex-cache@0.4.3
  | |   +-- is-equal-shallow@0.1.3
  | |   `-- is-primitive@2.0.0
  | +-- mkdirp@0.5.1
  | | `-- minimist@0.0.8
  | +-- pkg-up@1.0.0
  | +-- resolve-from@2.0.0
  | +-- rimraf@2.5.4
  | +-- signal-exit@3.0.0
  | +-- spawn-wrap@1.2.4
  | | +-- os-homedir@1.0.1
  | | +-- signal-exit@2.1.2
  | | `-- which@1.2.10
  | |   `-- isexe@1.1.2
  | +-- test-exclude@1.1.0
  | | +-- lodash.assign@4.0.9
  | | | +-- lodash.keys@4.0.7
  | | | `-- lodash.rest@4.0.3
  | | +-- read-pkg-up@1.0.1
  | | | `-- read-pkg@1.1.0
  | | |   +-- load-json-file@1.1.0
  | | |   | +-- parse-json@2.2.0
  | | |   | | `-- error-ex@1.3.0
  | | |   | |   `-- is-arrayish@0.2.1
  | | |   | `-- pify@2.3.0
  | | |   +-- normalize-package-data@2.3.5
  | | |   | +-- hosted-git-info@2.1.5
  | | |   | +-- is-builtin-module@1.0.0
  | | |   | | `-- builtin-modules@1.1.1
  | | |   | +-- semver@5.3.0
  | | |   | `-- validate-npm-package-license@3.0.1
  | | |   |   +-- spdx-correct@1.0.2
  | | |   |   | `-- spdx-license-ids@1.2.1
  | | |   |   `-- spdx-expression-parse@1.0.2
  | | |   |     `-- spdx-exceptions@1.0.5
  | | |   `-- path-type@1.1.0
  | | `-- require-main-filename@1.0.1
  | +-- yargs@4.8.1
  | | +-- cliui@3.2.0
  | | | `-- wrap-ansi@2.0.0
  | | +-- decamelize@1.2.0
  | | +-- get-caller-file@1.0.1
  | | +-- os-locale@1.4.0
  | | | `-- lcid@1.0.0
  | | |   `-- invert-kv@1.0.0
  | | +-- require-directory@2.1.1
  | | +-- set-blocking@2.0.0
  | | +-- string-width@1.0.1
  | | | +-- code-point-at@1.0.0
  | | | | `-- number-is-nan@1.0.0
  | | | +-- is-fullwidth-code-point@1.0.0
  | | | `-- strip-ansi@3.0.1
  | | |   `-- ansi-regex@2.0.0
  | | +-- which-module@1.0.0
  | | +-- window-size@0.2.0
  | | `-- y18n@3.2.1
  | `-- yargs-parser@2.4.1
  |   `-- camelcase@3.0.0
  +-- only-shallow@1.2.0
  +-- os-homedir@1.0.1
  +-- signal-exit@3.0.2
  +-- stack-utils@0.4.0
  +-- tap-mocha-reporter@2.0.1
  | +-- diff@1.4.0
  | +-- escape-string-regexp@1.0.5
  | `-- unicode-length@1.0.3
  |   `-- punycode@1.4.1
  +-- tap-parser@2.2.3
  | `-- events-to-array@1.1.2
  `-- tmatch@2.0.1

npm ERR! Windows_NT 10.0.15063
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v6.11.3
npm ERR! npm  v3.10.10
npm ERR! path C:\Program Files\nodejs\node_modules\npm\node_modules\.staging
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall mkdir

npm ERR! Error: EPERM: operation not permitted, mkdir 'C:\Program Files\nodejs\node_modules\npm\node_modules\.staging'
npm ERR!     at Error (native)
npm ERR!  { Error: EPERM: operation not permitted, mkdir 'C:\Program Files\nodejs\node_modules\npm\node_modules\.staging'
npm ERR!     at Error (native)
npm ERR!   errno: -4048,
npm ERR!   code: 'EPERM',
npm ERR!   syscall: 'mkdir',
npm ERR!   path: 'C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\.staging' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Windows_NT 10.0.15063
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v6.11.3
npm ERR! npm  v3.10.10
npm ERR! path C:\Program Files\nodejs\node_modules\npm\npm-debug.log.1300302194
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall open

npm ERR! Error: EPERM: operation not permitted, open 'C:\Program Files\nodejs\node_modules\npm\npm-debug.log.1300302194'
npm ERR!     at Error (native)
npm ERR!  { Error: EPERM: operation not permitted, open 'C:\Program Files\nodejs\node_modules\npm\npm-debug.log.1300302194'
npm ERR!     at Error (native)
npm ERR!   errno: -4048,
npm ERR!   code: 'EPERM',
npm ERR!   syscall: 'open',
npm ERR!   path: 'C:\\Program Files\\nodejs\\node_modules\\npm\\npm-debug.log.1300302194' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Program Files\nodejs\node_modules\npm\npm-debug.log


I do have a working version of Lectrote running on my computer; the Windows package at https://github.com/erkyrath/lectrote/releases works just fine as an interpreter. But it doesn't contain makedist.py or any of the other files required to package a game.

I swear I'm not completely hopeless; I can learn programming languages relatively easily, but I don't have much experience with these kinds of developer environments. I know how the Windows command prompt works and I understand the basic concepts at work here. But I'm a bit like Peter Venkman: you have to for a moment pretend I don't know anything about metallurgy.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Thu Sep 14, 2017 7:33 pm 
Offline

Joined: Sun Oct 11, 2015 5:09 pm
Posts: 274
Well, I may have made some progress -- I managed to run the command prompt as root admin, and I did figure out that I should be running "npm install" from within the lectrote directory, at least. Here's the output I got:

Spoiler: show
Code:
C:\Users\mikeg\Desktop\lectrote-lectrote-1.2.8>npm install

> lectrote@1.2.8 preinstall C:\Users\mikeg\Desktop\lectrote-lectrote-1.2.8
> if [ -f quixe/LICENSE ]; then echo Quixe already installed; elif [ -d .git ]; then git submodule init; git submodule update; else git clone https://github.com/erkyrath/quixe.git; fi

-f was unexpected at this time.

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: appdmg@^0.4.0 (node_modules\appdmg):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for appdmg@0.4.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! Windows_NT 10.0.15063
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v6.11.3
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! lectrote@1.2.8 preinstall: `if [ -f quixe/LICENSE ]; then echo Quixe already installed; elif [ -d .git ]; then git submodule init; git submodule update; else git clone https://github.com/erkyrath/quixe.git; fi`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the lectrote@1.2.8 preinstall script 'if [ -f quixe/LICENSE ]; then echo Quixe already installed; elif [ -d .git ]; then git submodule init; git submodule update; else git clone https://github.com/erkyrath/quixe.git; fi'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the lectrote package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     if [ -f quixe/LICENSE ]; then echo Quixe already installed; elif [ -d .git ]; then git submodule init; git submodule update; else git clone https://github.com/erkyrath/quixe.git; fi
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs lectrote
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls lectrote
npm ERR! There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\mikeg\Desktop\lectrote-lectrote-1.2.8\npm-debug.log


Debug log is attached.


Attachments:
npm-debug.log [1.1 MiB]
Downloaded 10 times
Top
 Profile Send private message  
Reply with quote  
PostPosted: Sat Sep 16, 2017 5:30 pm 
Offline

Joined: Sun Oct 11, 2015 5:09 pm
Posts: 274
UPDATE: I managed to successfully compile Lectrote from the source code using "npm install" from the command line.

However, I still cannot package a game. I keep getting the same error (this was from attempting to package samplegame):

Code:
C:\Users\mikeg\Desktop\lectrote-lectrote-1.2.8>python.exe makedist.py --game c:\users\mikeg\desktop\lectrote-lectrote-1.2.8\samplegame
Adventure version: 1.0.0
Lectrote version: 1.2.8
Installing to: tempapp
Traceback (most recent call last):
  File "makedist.py", line 316, in <module>
    builddir(dest, pack, pkg)
  File "makedist.py", line 245, in builddir
    subprocess.call(args)
  File "C:\Users\mikeg\AppData\Local\Programs\Python\Python36-32\lib\subprocess.py", line 267, in call
    with Popen(*popenargs, **kwargs) as p:
  File "C:\Users\mikeg\AppData\Local\Programs\Python\Python36-32\lib\subprocess.py", line 707, in __init__
    restore_signals, start_new_session)
  File "C:\Users\mikeg\AppData\Local\Programs\Python\Python36-32\lib\subprocess.py", line 992, in _execute_child
    startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified


And I'm stuck. I just don't know enough about python to work out what's going wrong.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Sat Sep 16, 2017 6:08 pm 
Offline

Joined: Sat Jan 23, 2010 4:56 pm
Posts: 5474
It's trying to run the NPM electron-packager tool, which should have been installed by "npm install" (in the node_modules subdirectory).

But Windows just has some different layout that I don't get. Or maybe it's a forward-slash / backward-slash compatibility problem.

Sorry this is such a drag.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Mon Sep 18, 2017 11:39 am 
Offline

Joined: Sun Oct 11, 2015 5:09 pm
Posts: 274
Hmm. Is the node_modules subdirectory supposed to be in the lectrote directory, or in the node.js directory, or in the python/lib directory?

I think I assumed the lectrote directory, but I may have misinterpreted.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Mon Sep 18, 2017 1:20 pm 
Offline

Joined: Sat Jan 23, 2010 4:56 pm
Posts: 5474
In the lectrote directory.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Mon Sep 18, 2017 2:26 pm 
Offline
User avatar

Joined: Thu Feb 11, 2010 1:51 pm
Posts: 741
Location: Chicago, Illinois, USA
Mike - if you want to do a skype or similar web screen sharing, I can probably get you through this...

_________________
David C.
http://www.plover.net/~dave/blog
http://www.ifpress.org

"It boots nothing to avoid his snares, for they are ever beset by other snares." - The shade of High Lord Morham, The Wounded Land - Second Chronicles of Thomas Covenant.


Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2, 3  Next

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group