Git Product home page Git Product logo

Comments (8)

agracio avatar agracio commented on September 28, 2024

I'm guessing this has to do with .NET Core rights for different users on Ubuntu. Perhaps you need to install .NET Core as that specific user, or maybe there is an option to install for all users?
Another thing to consider is that you performing npm install as root so all Nuget dependencies are downloaded as root without user having access to them. Perhaps try npm install as specific user?

from edge-js.

wangyiwen0972 avatar wangyiwen0972 commented on September 28, 2024

Hi agracio,

I met this issue too.
However I am working on a docker, the base image is from Centos7.4.1708, I installed a lot of required packages and dotnet-sdk-2.0.3. I am not sure what I can do else.
Centos:
Error: assembly specified in the dependencies manifest was not found -- package: 'Microsoft.CSharp', version: '4.4.1', path: 'lib/netstandard1.3/Microsoft.CSharp.dll'

Do you have any idea about this? :)

Thanks,

from edge-js.

agracio avatar agracio commented on September 28, 2024

Is this the same issue where you perform npm install as one user and then use the app as a different user?

from edge-js.

voxsoftware avatar voxsoftware commented on September 28, 2024

same problem in 2019

from edge-js.

shaharelbaz1 avatar shaharelbaz1 commented on September 28, 2024

same problem in 2019

Hi, did you solve the issue?

from edge-js.

DileepaRath avatar DileepaRath commented on September 28, 2024

Having same issue here...
I thought my problems is related to https://github.com/agracio/electron-edge-js-quick-start/issues/5 but then realized the it is due to C# assembly.

nestjs-back | Error: assembly specified in the dependencies manifest was not found -- package: 'Microsoft.CSharp', version: '4.5.0', path: 'lib/netstandard1.3/Microsoft.CSharp.dll'
nestjs-back |
nestjs-back | /usr/app/node_modules/edge-js/lib/edge.js:182
nestjs-back |     return edge.initializeClrFunc(options);
nestjs-back |                 ^
nestjs-back | TypeError: edge.initializeClrFunc is not a function

As @agracio mentioned in https://github.com/agracio/edge-js/issues/48, I guess the issue is my app being installed under different user. I'm new to Docker. Can somebody please advise how to solve this? My docker-compose is as follows:

version: '3'
services: 
    backend:
        container_name: nestjs-back
       #Using edge-js Dockerfile without any modifications 
        build: ./node_modules/edge-js/
        volumes: 
            - .:/usr/app
            - /usr/app/node_modules/
            - /usr/app/dist/
        working_dir: /usr/app
        command: bash -c "npm install && npm run typeorm:run && npm run start:dev"
        ports:
            - 3000:3000
        depends_on: 
            - db

from edge-js.

giltendezm avatar giltendezm commented on September 28, 2024

Hello @DileepaRath , I'm also experiencing the same issue right now.
We're you able to solve it? How? :D

from edge-js.

lhl2617 avatar lhl2617 commented on September 28, 2024

Was a solution found?

from edge-js.

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.