Comments (8)
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.
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.
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.
same problem in 2019
from edge-js.
same problem in 2019
Hi, did you solve the issue?
from edge-js.
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.
Hello @DileepaRath , I'm also experiencing the same issue right now.
We're you able to solve it? How? :D
from edge-js.
Was a solution found?
from edge-js.
Related Issues (20)
- Trying to use System.DirectoryServices.AccountManagement in Node.js HOT 2
- Support for F# HOT 19
- PowerShell Support? HOT 4
- Microsoft.Data.SqlClient is not supported on this platform HOT 8
- Help with setting up edge-js inside a next.js project HOT 1
- Unable to resolve reference to System. HOT 2
- Unnecessary folders like test or tools are included while installing edge-js . HOT 4
- Edge-js: Uncaught Error: The specified procedure could not be found. \\? ... \edge_nativeclr.node HOT 2
- .Net core and above uses dotnet.runtimeconfig.json from the SDK cli installation. HOT 1
- Using another option in the dotnet.runtimeconfig.json for the framework won't find coreclr.dll HOT 16
- Error in using Electron Forge packaging in Electron application HOT 1
- Is it possible to run a .NET function from the main Node.js thread? HOT 10
- Exception when used in extension HOT 2
- Nuget package v20.12.3 throws "This package is signed but not by a trusted signer." error. HOT 3
- Attempted to build for Node 22.7 but unsure how to proceed. HOT 8
- Is it possible to run edge-js using Module (import) syntax? HOT 6
- Having Dotnet and NodeJS project not-colocated? HOT 1
- System.Runtime not found HOT 21
- Deno Support HOT 19
- C# DLL imported anonymous functions always returning undefined HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from edge-js.