Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offline & install by .vsix file, had error about sqlite3 #1428

Closed
1 of 3 tasks
lcwxz1989 opened this issue Jun 6, 2024 · 7 comments
Closed
1 of 3 tasks

Offline & install by .vsix file, had error about sqlite3 #1428

lcwxz1989 opened this issue Jun 6, 2024 · 7 comments
Assignees
Labels
area:installation Relates to the installation process ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior

Comments

@lcwxz1989
Copy link

lcwxz1989 commented Jun 6, 2024

Before submitting your bug report

Relevant environment info

- OS: ubuntu 22.04.4 LTS
- Continue: [email protected]
- IDE: code_1.90.0-1717531825_amd64.deb
- Hardware: mac mini M2

Description

Install continue extension by .vsix in offline network. Get error below, I opened developer tools and find error
continue-xxxx/out/build/Release/node_sqlite3.node: cannot open shared object file: No such file or directory.

To reproduce

No response

Log output

No response

@lcwxz1989 lcwxz1989 added the bug label Jun 6, 2024
@fry69
Copy link
Contributor

fry69 commented Jun 6, 2024

Try again with 0.8.40 or pre-release version 0.9.153 (both just released), according to the commit log there might be a SQLite build fix in it.

@priyashpatil
Copy link
Contributor

priyashpatil commented Jun 6, 2024

Might be related issue facing on M2:

(node:29658) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[info] Downloading node-sqlite3
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  963k  100  963k    0     0   560k      0  0:00:01  0:00:01 --:--:-- 2439k
x build/Release/node_sqlite3.node
node:fs:3015
  binding.copyFile(
          ^

Error: ENOENT: no such file or directory, copyfile 'bin/darwin-arm64/node_sqlite3.node' -> 'build/node_sqlite3.node'
    at Object.copyFileSync (node:fs:3015:11)
    at /Users/priyash/projects/continue/binary/build.js:226:10
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'copyfile',
  path: 'bin/darwin-arm64/node_sqlite3.node',
  dest: 'build/node_sqlite3.node'
}

 *  The terminal process "/bin/zsh '-l', '-c', './scripts/install-dependencies.sh'" terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it. 

@sestinj
Copy link
Contributor

sestinj commented Jun 6, 2024

@lcwxz1989 I think they are right that this should be fixed in the latest version, but if you find that it isn't, it would be useful to know: does file actually not exist, or isthis a permissions issue?

@sestinj sestinj self-assigned this Jun 6, 2024
@lcwxz1989
Copy link
Author

lcwxz1989 commented Jun 7, 2024

@lcwxz1989 I think they are right that this should be fixed in the latest version, but if you find that it isn't, it would be useful to know: does file actually not exist, or isthis a permissions issue?

I have check the file and it exists, the permission is the same as other extension 755, my hardware is M2

@lcwxz1989
Copy link
Author

Might be related issue facing on M2:

(node:29658) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[info] Downloading node-sqlite3
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  963k  100  963k    0     0   560k      0  0:00:01  0:00:01 --:--:-- 2439k
x build/Release/node_sqlite3.node
node:fs:3015
  binding.copyFile(
          ^

Error: ENOENT: no such file or directory, copyfile 'bin/darwin-arm64/node_sqlite3.node' -> 'build/node_sqlite3.node'
    at Object.copyFileSync (node:fs:3015:11)
    at /Users/priyash/projects/continue/binary/build.js:226:10
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'copyfile',
  path: 'bin/darwin-arm64/node_sqlite3.node',
  dest: 'build/node_sqlite3.node'
}

 *  The terminal process "/bin/zsh '-l', '-c', './scripts/install-dependencies.sh'" terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it. 

yes My hardware is M2

@lcwxz1989
Copy link
Author

Tks a lot , the latest version has already solve this problem

@sestinj
Copy link
Contributor

sestinj commented Jun 10, 2024

@lcwxz1989 good to hear! Does that mean it's safe to close this issue?

@dosubot dosubot bot added area:installation Relates to the installation process kind:bug Indicates an unexpected problem or unintended behavior ide:vscode Relates specifically to VS Code extension labels Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:installation Relates to the installation process ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants