Problems installing in sandbox mode, and migration to Python 3

Open
#68 18 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
node.js, python
Domain
devtools, frontend

Research direction

Start by checking the sandbox installation steps and the frontend dependency setup that invokes node-sass; the report identifies a Node.js 14 and Node.js 11 binding mismatch but names no project files or tests. Reproduce the blank navigator page with the reported environment, then trace why the runtime selects the incompatible binding. Done means sandbox mode loads successfully with the supported Node.js setup and the installation guidance matches it.

Written by the indexing model from the issue text.

Description

I'm trying to launch Patzilla in sandbox mode.
However, when I connect the page http://localhost:6543/navigator/ I get a blank page. In debug console, I found:

Uncaught Error: Module build failed (from /home/yves/patzilla/patzilla/node_modules/sass-loader/lib/loader.js):
Error: Missing binding /home/yves/patzilla/patzilla/node_modules/node-sass/vendor/linux-x64-83/binding.node
Node Sass could not find a binding for your current environment: Linux 64-bit with Node.js 14.x

Found bindings for the following environments:
  - Linux 64-bit with Node.js 11.x

This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.

However, the file /home/yves/patzilla/patzilla/node_modules/node-sass/vendor/linux-x64-83/binding.node exists.
On Internet, I found multiple answer to rebuild node-sass module, but after tenth rebuild, I convinced that something else is the cause.
I have system node at version 14.25.3, thus I don't understand why it says Found bindings for the following environments: - Linux 64-bit with Node.js 11.x

Dominant language
Python
Stars
123
Forks
31
Avg merge
3h 17m
Merged PRs (30d)
53

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ip-tools/patzilla

All issues in ip-tools/patzilla

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.