Skip to content

build.js missing on npm #1

@webmaster128

Description

@webmaster128

First of all: thanks for doing this and keeping the repo alive!

My installation on Ubuntu 18.04 using yarn failed with:

yarn add deasync2
yarn add v1.7.0
(node:11561) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.2.4: The platform "linux" is incompatible with this module.
info "fsevents@1.2.4" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
error /home/me/project/node_modules/deasync2: Command failed.
Exit code: 1
Command: node ./build.js
Arguments: 
Directory: /home/me/project/node_modules/deasync2
Output:
internal/modules/cjs/loader.js:583
    throw err;
    ^

Error: Cannot find module '/home/me/project/node_modules/deasync2/build.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
    at Function.Module._load (internal/modules/cjs/loader.js:507:25)
    at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
    at startup (internal/bootstrap/node.js:266:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:596:3)
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

it turns out the file build.js is not published to npm (confirm https://registry.npmjs.org/deasync2/-/deasync2-0.1.15.tgz)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions