HashLips / hashlips_art_engine

HashLips Art Engine is a tool used to create multiple different instances of artworks based on provided layers.
MIT License
7.18k stars 4.3k forks source link

Cannot find module error #864

Open larryj52 opened 2 years ago

larryj52 commented 2 years ago

Any advice:

code: 'MODULE_NOT_FOUND', code: 'MODULE_NOT_FOUND', requireStack: [ '/"mydirectory"/hashlips_art_engine-1.1.2_patch_v5/utils/nftport/uploadFiles.js' ]

bolshoytoster commented 2 years ago

@larryj52 can you paste the output of the command Get-ChildItem -Recurse utils please.

larryj52 commented 2 years ago

I tried putting this in a new terminal. Nothing returned

bolshoytoster commented 2 years ago

@larryj52 what about running it without utils.

larryj52 commented 2 years ago

command not found: zsh:

bolshoytoster commented 2 years ago

@larryj52 try ls -R then.

larryj52 commented 2 years ago

I don't understand

larryj52 commented 2 years ago

Do you mean inverse the words utils and recourse?

bolshoytoster commented 2 years ago

@larryj52 run ls -R.

larryj52 commented 2 years ago

nothing.

larryj52 commented 2 years ago

zsh: command not found: run

bolshoytoster commented 2 years ago

@larryj52 just ls -R.

larryj52 commented 2 years ago

LICENSE index.js package-lock.json README.md layers package.json banner.png logo.png src build modules utils constants node_modules yarn.lock

./build: images json

./build/images: 1.png 10.png 2.png 3.png 4.png 5.png 6.png 7.png 8.png 9.png

./build/json: 1.json 3.json 6.json 9.json 10.json 4.json 7.json _metadata.json 2.json 5.json 8.json

./constants: blend_mode.js network.js

./layers: Afro Dickie Face Pick Background Eye Brow Mouth Pupil Dashiki Eyes Nose Shade

./layers/Afro: Fro.png

./layers/Background: BYGRBackground.png GRBYBackground.png RGBYBackground.png Background.png GoldBackground.png RedBackground.png BlackBackground#10.png GreenBackground.png YGRBBackground.png BlueBackground#20.png GreyBackground.png

./layers/Dashiki: BlueSwirlDashiki.png PolyDashiki.png SpottedDashiki.png FireDashiki#10.png PurpleDashiki.png SunburstDashiki.png GoldLeafDashiki#20.png RainbowDashiki.png TanSunburstDashiki.png GreenFireDashiki.png RedLeafDashiki.png YellowDashiki.png LichtenDashiki.png RedSunBurstDashiki.png PinkDashiki#10.png RedTriDashiki.png

./layers/Dickie: TurtleNeck.png

./layers/Eye Brow: Eyebrows #10.png Eyebrows2 #20.png EyebrowsUp.png Eyebrows.png Eyebrows4 #15.png

./layers/Eyes: Blank.png Eyes.png

./layers/Face: Face.png

./layers/Mouth: Mouth.png Mouth2.png Mouth3.png

./layers/Nose: NOSE.png

./layers/Pick: Blank.png Pick#100.png Pick2#50.png Pick3#10png.png

./layers/Pupil: Blank.png Pupils2.1 #50.png Pupils5 #10.png Pupils #20.png Pupils3 #25.png Pupils2 #50.png Pupils4 #25.png

./layers/Shade: Blank.png CircleShades#50.png SquareShades#50.png CircleShades#100.png OvalShades#100.png

./modules: HashlipsGiffer.js

./node_modules: @mapbox fs-minipass object-assign abbrev fs.realpath once agent-base gauge path-is-absolute ansi-regex gif-encoder-2 readable-stream aproba glob rimraf are-we-there-yet has-unicode safe-buffer asynckit https-proxy-agent semver balanced-match inflight set-blocking brace-expansion inherits sha1 canvas is-fullwidth-code-point signal-exit charenc lru-cache simple-concat chownr make-dir simple-get color-support mime-db string-width combined-stream mime-types string_decoder concat-map mimic-response strip-ansi console-control-strings minimatch tar crypt minipass tr46 debug minizlib util-deprecate decompress-response mkdirp webidl-conversions delayed-stream ms whatwg-url delegates nan wide-align detect-libc nopt wrappy form-data npmlog yallist

./node_modules/@mapbox: node-pre-gyp

./node_modules/@mapbox/node-pre-gyp: CHANGELOG.md README.md contributing.md node_modules LICENSE bin lib package.json

./node_modules/@mapbox/node-pre-gyp/bin: node-pre-gyp node-pre-gyp.cmd

./node_modules/@mapbox/node-pre-gyp/lib: build.js install.js pre-binding.js reveal.js util clean.js main.js publish.js testbinary.js configure.js node-pre-gyp.js rebuild.js testpackage.js info.js package.js reinstall.js unpublish.js

./node_modules/@mapbox/node-pre-gyp/lib/util: abi_crosswalk.json napi.js versioning.js compile.js nw-pre-gyp handle_gyp_opts.js s3_setup.js

./node_modules/@mapbox/node-pre-gyp/lib/util/nw-pre-gyp: index.html package.json

./node_modules/@mapbox/node-pre-gyp/node_modules: node-fetch

./node_modules/@mapbox/node-pre-gyp/node_modules/node-fetch: LICENSE.md README.md browser.js lib package.json

./node_modules/@mapbox/node-pre-gyp/node_modules/node-fetch/lib: index.es.js index.js index.mjs

./node_modules/abbrev: LICENSE README.md abbrev.js package.json

./node_modules/agent-base: README.md dist package.json src

./node_modules/agent-base/dist: src

./node_modules/agent-base/dist/src: index.d.ts index.js.map promisify.js index.js promisify.d.ts promisify.js.map

./node_modules/agent-base/src: index.ts promisify.ts

./node_modules/ansi-regex: index.js license package.json readme.md

./node_modules/aproba: CHANGELOG.md LICENSE README.md index.js package.json

./node_modules/are-we-there-yet: LICENSE.md README.md lib package.json

./node_modules/are-we-there-yet/lib: index.js tracker-group.js tracker.js tracker-base.js tracker-stream.js

./node_modules/asynckit: LICENSE lib serialOrdered.js README.md package.json stream.js bench.js parallel.js index.js serial.js

./node_modules/asynckit/lib: abort.js readable_serial.js async.js readable_serial_ordered.js defer.js state.js iterate.js streamify.js readable_asynckit.js terminator.js readable_parallel.js

./node_modules/balanced-match: LICENSE.md README.md index.js package.json

./node_modules/brace-expansion: LICENSE README.md index.js package.json

./node_modules/canvas: CHANGELOG.md browser.js lib types Readme.md build package.json util binding.gyp index.js src

./node_modules/canvas/build: Release

./node_modules/canvas/build/Release: canvas.node libgobject-2.0.0.dylib libX11.6.dylib libgraphite2.3.2.1.dylib libXau.6.dylib libharfbuzz.0.dylib libXdmcp.6.dylib libintl.8.dylib libXext.6.dylib libjpeg.9.dylib libXrender.1.dylib libpango-1.0.0.dylib libcairo-gobject.2.dylib libpangocairo-1.0.0.dylib libcairo.2.dylib libpangoft2-1.0.0.dylib libffi.8.dylib libpcre.1.dylib libfontconfig.1.dylib libpixman-1.0.40.0.dylib libfreetype.6.dylib libpng16.16.dylib libfribidi.0.dylib librsvg-2.2.dylib libgdk_pixbuf-2.0.0.dylib libxcb-render.0.0.0.dylib libgif.7.2.0.dylib libxcb-shm.0.0.0.dylib libgio-2.0.0.dylib libxcb.1.1.0.dylib libglib-2.0.0.dylib obj.target libgmodule-2.0.0.dylib

./node_modules/canvas/build/Release/obj.target: canvas

./node_modules/canvas/build/Release/obj.target/canvas: src

./node_modules/canvas/build/Release/obj.target/canvas/src: Backends.o backend Canvas.o bmp CanvasGradient.o closure.o CanvasPattern.o color.o CanvasRenderingContext2d.o init.o Image.o register_font.o ImageData.o

./node_modules/canvas/build/Release/obj.target/canvas/src/backend: Backend.o ImageBackend.o PdfBackend.o SvgBackend.o

./node_modules/canvas/build/Release/obj.target/canvas/src/bmp: BMPParser.o

./node_modules/canvas/lib: DOMMatrix.js canvas.js image.js parse-font.js pngstream.js bindings.js context2d.js jpegstream.js pdfstream.js

./node_modules/canvas/src: Backends.cc JPEGStream.h Backends.h PNG.h Canvas.cc Point.h Canvas.h Util.h CanvasError.h backend CanvasGradient.cc bmp CanvasGradient.h closure.cc CanvasPattern.cc closure.h CanvasPattern.h color.cc CanvasRenderingContext2d.cc color.h CanvasRenderingContext2d.h dll_visibility.h Image.cc init.cc Image.h register_font.cc ImageData.cc register_font.h ImageData.h

./node_modules/canvas/src/backend: Backend.cc ImageBackend.cc PdfBackend.cc SvgBackend.cc Backend.h ImageBackend.h PdfBackend.h SvgBackend.h

./node_modules/canvas/src/bmp: BMPParser.cc BMPParser.h LICENSE.md

./node_modules/canvas/types: index.d.ts

./node_modules/canvas/util: has_lib.js win_jpeg_lookup.js

./node_modules/charenc: LICENSE.mkd README.js charenc.js package.json

./node_modules/chownr: LICENSE README.md chownr.js package.json

./node_modules/color-support: LICENSE bin.js index.js README.md browser.js package.json

./node_modules/combined-stream: License Readme.md lib package.json yarn.lock

./node_modules/combined-stream/lib: combined_stream.js

./node_modules/concat-map: LICENSE example package.json README.markdown index.js test

./node_modules/concat-map/example: map.js

./node_modules/concat-map/test: map.js

./node_modules/console-control-strings: LICENSE README.md README.md~ index.js package.json

./node_modules/crypt: LICENSE.mkd README.mkd crypt.js package.json

./node_modules/debug: LICENSE README.md package.json src

./node_modules/debug/src: browser.js common.js index.js node.js

./node_modules/decompress-response: index.d.ts index.js license package.json readme.md

./node_modules/delayed-stream: License Makefile Readme.md lib package.json

./node_modules/delayed-stream/lib: delayed_stream.js

./node_modules/delegates: History.md Makefile index.js test License Readme.md package.json

./node_modules/delegates/test: index.js

./node_modules/detect-libc: LICENSE README.md bin lib package.json

./node_modules/detect-libc/bin: detect-libc.js

./node_modules/detect-libc/lib: detect-libc.js

./node_modules/form-data: License Readme.md lib README.md.bak index.d.ts package.json

./node_modules/form-data/lib: browser.js form_data.js populate.js

./node_modules/fs-minipass: LICENSE README.md index.js package.json

./node_modules/fs.realpath: LICENSE README.md index.js old.js package.json

./node_modules/gauge: CHANGELOG.md package.json spin.js LICENSE plumbing.js template-item.js README.md process.js theme-set.js base-theme.js progress-bar.js themes.js error.js render-template.js wide-truncate.js has-color.js set-immediate.js index.js set-interval.js

./node_modules/gif-encoder-2: README.md UNLICENSE index.js package.json src

./node_modules/gif-encoder-2/src: GIFEncoder.js OctreeQuant.js LZWEncoder.js TypedNeuQuant.js

./node_modules/glob: LICENSE common.js package.json README.md glob.js sync.js

./node_modules/has-unicode: LICENSE README.md index.js package.json

./node_modules/https-proxy-agent: README.md dist package.json

./node_modules/https-proxy-agent/dist: agent.d.ts index.js.map agent.js parse-proxy-response.d.ts agent.js.map parse-proxy-response.js index.d.ts parse-proxy-response.js.map index.js

./node_modules/inflight: LICENSE README.md inflight.js package.json

./node_modules/inherits: LICENSE inherits.js package.json README.md inherits_browser.js

./node_modules/is-fullwidth-code-point: index.js license package.json readme.md

./node_modules/lru-cache: LICENSE README.md index.js package.json

./node_modules/make-dir: index.d.ts license package.json index.js node_modules readme.md

./node_modules/make-dir/node_modules: semver

./node_modules/make-dir/node_modules/semver: CHANGELOG.md README.md package.json semver.js LICENSE bin range.bnf

./node_modules/make-dir/node_modules/semver/bin: semver.js

./node_modules/mime-db: HISTORY.md README.md index.js LICENSE db.json package.json

./node_modules/mime-types: HISTORY.md LICENSE README.md index.js package.json

./node_modules/mimic-response: index.d.ts index.js license package.json readme.md

./node_modules/minimatch: LICENSE README.md minimatch.js package.json

./node_modules/minipass: LICENSE README.md index.js package.json

./node_modules/minizlib: LICENSE README.md constants.js index.js package.json

./node_modules/mkdirp: CHANGELOG.md bin lib readme.markdown LICENSE index.js package.json

./node_modules/mkdirp/bin: cmd.js

./node_modules/mkdirp/lib: find-made.js mkdirp-native.js path-arg.js mkdirp-manual.js opts-arg.js use-native.js

./node_modules/ms: index.js license.md package.json readme.md

./node_modules/nan: CHANGELOG.md nan_json.h LICENSE.md nan_maybe_43_inl.h README.md nan_maybe_pre_43_inl.h doc nan_new.h include_dirs.js nan_object_wrap.h nan.h nan_persistent_12_inl.h nan_callbacks.h nan_persistent_pre_12_inl.h nan_callbacks_12_inl.h nan_private.h nan_callbacks_pre_12_inl.h nan_scriptorigin.h nan_converters.h nan_string_bytes.h nan_converters_43_inl.h nan_typedarray_contents.h nan_converters_pre_43_inl.h nan_weak.h nan_define_own_property_helper.h package.json nan_implementation_12_inl.h tools nan_implementation_pre_12_inl.h

./node_modules/nan/doc: asyncworker.md maybe_types.md scopes.md buffers.md methods.md script.md callback.md new.md string_bytes.md converters.md node_misc.md v8_internals.md errors.md object_wrappers.md v8_misc.md json.md persistent.md

./node_modules/nan/tools: 1to2.js README.md package.json

./node_modules/nopt: CHANGELOG.md README.md lib LICENSE bin package.json

./node_modules/nopt/bin: nopt.js

./node_modules/nopt/lib: nopt.js

./node_modules/npmlog: LICENSE README.md log.js package.json

./node_modules/object-assign: index.js license package.json readme.md

./node_modules/once: LICENSE README.md once.js package.json

./node_modules/path-is-absolute: index.js license package.json readme.md

./node_modules/readable-stream: CONTRIBUTING.md errors-browser.js package.json GOVERNANCE.md errors.js readable-browser.js LICENSE experimentalWarning.js readable.js README.md lib

./node_modules/readable-stream/lib: _stream_duplex.js _stream_readable.js _stream_writable.js _stream_passthrough.js _stream_transform.js internal

./node_modules/readable-stream/lib/internal: streams

./node_modules/readable-stream/lib/internal/streams: async_iterator.js from-browser.js stream-browser.js buffer_list.js from.js stream.js destroy.js pipeline.js end-of-stream.js state.js

./node_modules/rimraf: CHANGELOG.md README.md package.json LICENSE bin.js rimraf.js

./node_modules/safe-buffer: LICENSE README.md index.d.ts index.js package.json

./node_modules/semver: CHANGELOG.md bin index.js preload.js LICENSE classes internal range.bnf README.md functions package.json ranges

./node_modules/semver/bin: semver.js

./node_modules/semver/classes: comparator.js index.js range.js semver.js

./node_modules/semver/functions: clean.js gt.js parse.js cmp.js gte.js patch.js coerce.js inc.js prerelease.js compare-build.js lt.js rcompare.js compare-loose.js lte.js rsort.js compare.js major.js satisfies.js diff.js minor.js sort.js eq.js neq.js valid.js

./node_modules/semver/internal: constants.js identifiers.js re.js debug.js parse-options.js

./node_modules/semver/ranges: gtr.js min-satisfying.js subset.js intersects.js min-version.js to-comparators.js ltr.js outside.js valid.js max-satisfying.js simplify.js

./node_modules/set-blocking: CHANGELOG.md LICENSE.txt README.md index.js package.json

./node_modules/sha1: LICENSE README.md package.json sha1.js test.js

./node_modules/signal-exit: LICENSE.txt README.md index.js package.json signals.js

./node_modules/simple-concat: LICENSE README.md index.js package.json test

./node_modules/simple-concat/test: basic.js

./node_modules/simple-get: LICENSE README.md index.js package.json

./node_modules/string-width: index.js license package.json readme.md

./node_modules/string_decoder: LICENSE README.md lib package.json

./node_modules/string_decoder/lib: string_decoder.js

./node_modules/strip-ansi: index.js license package.json readme.md

./node_modules/tar: LICENSE README.md index.js lib package.json

./node_modules/tar/lib: create.js path-reservations.js extract.js pax.js get-write-flag.js read-entry.js header.js replace.js high-level-opt.js strip-absolute-path.js large-numbers.js strip-trailing-slashes.js list.js types.js mkdir.js unpack.js mode-fix.js update.js normalize-unicode.js warn-mixin.js normalize-windows-path.js winchars.js pack.js write-entry.js parse.js

./node_modules/tr46: index.js lib package.json

./node_modules/tr46/lib: mappingTable.json

./node_modules/util-deprecate: History.md README.md node.js LICENSE browser.js package.json

./node_modules/webidl-conversions: LICENSE.md README.md lib package.json

./node_modules/webidl-conversions/lib: index.js

./node_modules/whatwg-url: LICENSE.txt README.md lib package.json

./node_modules/whatwg-url/lib: URL-impl.js public-api.js utils.js URL.js url-state-machine.js

./node_modules/wide-align: LICENSE README.md align.js package.json

./node_modules/wrappy: LICENSE README.md package.json wrappy.js

./node_modules/yallist: LICENSE README.md iterator.js package.json yallist.js

./src: config.js main.js

./utils: generate_metadata.js preview.js update_info.js nftport preview_gif.js pixelate.js rarity.js

./utils/nftport: mint.js uploadFiles.js uploadMetas.js

bolshoytoster commented 2 years ago

@larryj52 you should be able to run node utils/nftport/uploadFiles.js

larryj52 commented 2 years ago

I thought so. But it does not work.

larryj52 commented 2 years ago

node:internal/modules/cjs/loader:936 throw err; ^

Error: Cannot find module 'node-fetch' Require stack:

bolshoytoster commented 2 years ago

@larryj52 that's because you need to run npm install.

larryj52 commented 2 years ago

Now I am back to: { code: 'MODULE_NOT_FOUND', requireStack [ 'my directory/file' ] }