Comments (2)
vsce
should definitely generate an extension/
directory containing all the goodies. Local setup is a likely culprit. When I run vsce package
on the current repo, I get the following contents:
~/Desktop/idris-vscode-0.0.4
├── [Content_Types].xml
├── extension
│ ├── CHANGELOG.md
│ ├── LICENSE.txt
│ ├── README.md
│ ├── idris-vscode.code-workspace
│ ├── language-configuration.json
│ ├── node_modules
│ ├── out
│ ├── package.json
│ └── syntaxes
└── extension.vsixmanifest
My setup:
macOS 10.15.7
VS Code 1.49.2
Node 14.12.0
vsce 1.80.0
from idris-vscode.
Thank you! It appears like the node
snap package I was using is at fault. I just replaced that with a deb-based node installation and it works. Sorry for the noise - I will report the (likely) snap-related issue.
Executing prepublish script 'npm run vscode:prepublish'...
npm WARN lifecycle The node binary used for scripts is /snap/bin/node but npm is using /snap/node/3082/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.
> [email protected] vscode:prepublish /home/tim/Dev/GitHub/meraymond2/idris-vscode
> npm run compile
npm WARN lifecycle The node binary used for scripts is /snap/bin/node but npm is using /snap/node/3082/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.
> [email protected] compile /home/tim/Dev/GitHub/meraymond2/idris-vscode
> tsc -p ./
DONE Packaged: /home/tim/Dev/GitHub/meraymond2/idris-vscode/idris-vscode-0.0.4.vsix (2 files, 1.04KB)
Did not work with node
snap versions 14.12.0 (3082)
and 12.18.4 (3041)
on Ubuntu 20.04 with vsce 1.80.0
, code
snap 1.49.2
(45).
Did work with node
version v14.12.0
from deb.nodesource.com.
EDIT: Likely related to:
- nodesource/distributions#663
- https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1849753
- https://bugs.launchpad.net/snapd/+bug/1835805
EDIT: AppArmor denials:
Sep 27 16:54:05 ubpo01 kernel: [20602.120858] audit: type=1400 audit(1601218445.511:10619): apparmor="DENIED" operation="file_inherit" profile="/snap/snapd/9279/usr/lib/snapd/snap-confine" pid=55060 comm="snap-confine" family="unix" sock_type="stream" protocol=0 requested_mask="send receive" denied_mask="send receive" addr=none peer_addr=none
Sep 27 16:54:05 ubpo01 kernel: [20602.120863] audit: type=1400 audit(1601218445.511:10620): apparmor="DENIED" operation="file_inherit" profile="/snap/snapd/9279/usr/lib/snapd/snap-confine" pid=55060 comm="snap-confine" family="unix" sock_type="stream" protocol=0 requested_mask="send receive" denied_mask="send receive" addr=none peer_addr=none
Sep 27 16:54:05 ubpo01 kernel: [20602.120865] audit: type=1400 audit(1601218445.511:10621): apparmor="DENIED" operation="file_inherit" profile="/snap/snapd/9279/usr/lib/snapd/snap-confine" pid=55060 comm="snap-confine" family="unix" sock_type="stream" protocol=0 requested_mask="send receive" denied_mask="send receive" addr=none peer_addr=none
Sep 27 16:54:05 ubpo01 kernel: [20602.293033] audit: type=1400 audit(1601218445.683:10622): apparmor="DENIED" operation="file_inherit" profile="/snap/snapd/9279/usr/lib/snapd/snap-confine" pid=55113 comm="snap-confine" family="unix" sock_type="stream" protocol=0 requested_mask="send receive" denied_mask="send receive" addr=none peer_addr=none
Sep 27 16:54:05 ubpo01 kernel: [20602.293037] audit: type=1400 audit(1601218445.683:10623): apparmor="DENIED" operation="file_inherit" profile="/snap/snapd/9279/usr/lib/snapd/snap-confine" pid=55113 comm="snap-confine" family="unix" sock_type="stream" protocol=0 requested_mask="send receive" denied_mask="send receive" addr=none peer_addr=none
Sep 27 16:54:05 ubpo01 kernel: [20602.293039] audit: type=1400 audit(1601218445.683:10624): apparmor="DENIED" operation="file_inherit" profile="/snap/snapd/9279/usr/lib/snapd/snap-confine" pid=55113 comm="snap-confine" family="unix" sock_type="stream" protocol=0 requested_mask="send receive" denied_mask="send receive" addr=none peer_addr=none
Sep 27 16:54:08 ubpo01 kernel: [20605.002073] audit: type=1400 audit(1601218448.391:10625): apparmor="DENIED" operation="file_inherit" profile="/snap/snapd/9279/usr/lib/snapd/snap-confine" pid=55208 comm="snap-confine" family="unix" sock_type="stream" protocol=0 requested_mask="send receive" denied_mask="send receive" addr=none peer_addr=none
Sep 27 16:54:08 ubpo01 kernel: [20605.002076] audit: type=1400 audit(1601218448.391:10626): apparmor="DENIED" operation="file_inherit" profile="/snap/snapd/9279/usr/lib/snapd/snap-confine" pid=55208 comm="snap-confine" family="unix" sock_type="stream" protocol=0 requested_mask="send receive" denied_mask="send receive" addr=none peer_addr=none
Sep 27 16:54:08 ubpo01 kernel: [20605.002078] audit: type=1400 audit(1601218448.391:10627): apparmor="DENIED" operation="file_inherit" profile="/snap/snapd/9279/usr/lib/snapd/snap-confine" pid=55208 comm="snap-confine" family="unix" sock_type="stream" protocol=0 requested_mask="send receive" denied_mask="send receive" addr=none peer_addr=none
Sep 27 16:54:08 ubpo01 kernel: [20605.163071] audit: type=1400 audit(1601218448.555:10628): apparmor="DENIED" operation="file_inherit" profile="/snap/snapd/9279/usr/lib/snapd/snap-confine" pid=55236 comm="snap-confine" family="unix" sock_type="stream" protocol=0 requested_mask="send receive" denied_mask="send receive" addr=none peer_addr=none
from idris-vscode.
Related Issues (20)
- open-vsx support HOT 3
- Explain how to install this HOT 4
- ERR_STREAM_DESTROYED when trying to run command `idris.addClause` HOT 8
- Syntax highlighting sometimes fails HOT 3
- show type not working in .lidr file HOT 9
- Support v0.4.0 HOT 2
- Hovering over contents of a new takes about one minute HOT 8
- Version 0.5.0 HOT 1
- file path is wrong within workspace with multiple folders HOT 4
- Is it possible to get hole type with just keyboard, not with mouse hover? HOT 2
- What do you think of idris2-lsp-vscode? HOT 4
- Feature request: Jump to definition, Ctrl-Click. HOT 4
- "Idris 2 mode" checkbox is missing HOT 1
- Failed to load file. HOT 2
- Error display in wrong line: always 1 line upper HOT 8
- How to configure packages? HOT 10
- Publish 0.0.14 to Open VSX HOT 1
- Having issue with extension HOT 4
- Activate extension on language 'idris2' too HOT 6
- Add Missing is not working
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 idris-vscode.