Skip to content

build fail from source code (windows) #331

@yananlemon

Description

@yananlemon

I am new to node and grid-apps, I try to build it from source code,env is as below:

  1. windows 10
  2. grid-apps-4.0.33
  3. node version: v12.22.12,v13.14.0,v19.9.0,v22.13.1.

But when I execute npm install, they all fail with the following error message:

`grid-apps@4.0.31 preinstall

node bin/install-pre.js; npx webpack --config bin/webpack-three.js

node:internal/modules/cjs/loader:1093
throw err;
^

Error: Cannot find module 'E:\other-code\grid-apps-4.0.33\bin\install-pre.js;'
at Module._resolveFilename (node:internal/modules/cjs/loader:1090:15)
at Module._load (node:internal/modules/cjs/loader:934:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}

Node.js v19.9.0
npm error code 1
npm error path E:\other-code\grid-apps-4.0.33
npm error command failed
npm error command C:\Windows\system32\cmd.exe /d /s /c node bin/install-pre.js; npx webpack --config bin/webpack-three.js
npm error A complete log of this run can be found in: C:\Users\Administrator\AppData\Local\npm-cache_logs\2025-02-08T01_49_21_138Z-debug-0.log
`

Any idea? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions