Giter Site home page Giter Site logo

Comments (7)

WebReflection avatar WebReflection commented on September 22, 2024

is this new? are you on windows? was it working 'till yesterday?

from document-register-element.

WebReflection avatar WebReflection commented on September 22, 2024

Could you please tell me if latest version fixed this?

from document-register-element.

pvasantha avatar pvasantha commented on September 22, 2024

No. It is not fixing it. It was working until yesterday..

[email protected] postinstall ********node_modules\document-register-element
node "$(npm bin)/lightercollective"

internal/modules/cjs/loader.js:638
throw err;
^

Error: Cannot find module '****************node_modules\document-register-element$(npm bin)\lightercollective'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\webpack-dev-server\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"}
(current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\watchpack\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"}
(current: {"os":"win32","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: node "$(npm bin)/lightercollective"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.

from document-register-element.

LeovR avatar LeovR commented on September 22, 2024

We are also experiencing the same issue.
On Windows it is not possible to execute $(npm bin).

from document-register-element.

eiszfuchs avatar eiszfuchs commented on September 22, 2024

Installing 1.14.9 failed on Linux, too. I'm also using fish as shell, where $(npm bin) also isn't valid syntax.
However, the exception isn't about the command syntax:

> [email protected] postinstall node_modules/document-register-element
> node "$(npm bin)/lightercollective"

internal/modules/cjs/loader.js:968
  throw err;
  ^

Error: Cannot find module 'node_modules/document-register-element/node_modules/.bin/lightercollective'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
    at Function.Module._load (internal/modules/cjs/loader.js:841:27)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
    at internal/main/run_main_module.js:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

from document-register-element.

WebReflection avatar WebReflection commented on September 22, 2024

I like the fact a merge request to solve non executable OS turned out revealing how much of a mess is to write an npm instruction ... but as this module is basically deprecated, since @ungap/custom-elements is what everyone should use instead, I might as well remove the dependency and call it a day.

from document-register-element.

WebReflection avatar WebReflection commented on September 22, 2024

dear all, ligthercollective is gone, nobody should ever have issues anymore with it

from document-register-element.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.