deep-foundation / deep-foundation/deepcase-app

npm ERR! Error: command failed

Open
#306 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
10
Forks
6
PR merge metrics
No merged PRs in 30d

Description

![image](https://github.com/deep-foundation/deepcase-app/assets/83237728/6b6b50e8-1280-4342-93b9-3fed80530a16)

Error GitPod Task 1:
```
npm ERR! Lifecycle script `package:build` failed with error:
npm ERR! Error: command failed
npm ERR! in workspace: @deep-foundation/deepcase@0.0.109
npm ERR! at location: /workspace/dev/packages/deepcase
```
![image](https://github.com/deep-foundation/deepcase-app/assets/83237728/df8eb7f2-300a-4d11-9b37-24ae9c604734)

Error GitPod Task 2:
```
[4] [10:58:34] Failed to load external module: ts-node/register
[4] [10:58:34] Error: Cannot find module 'ts-node/register' from '/workspace/dev'
[4] [10:58:34] Failed to load external module: sucrase/register/ts
[4] [10:58:34] Error: Cannot find module 'sucrase/register/ts' from '/workspace/dev'
[4] [10:58:34] Failed to load external module: @babel/register
[4] [10:58:34] Error: Cannot find module '@babel/register' from '/workspace/dev'
[4] [10:58:34] Failed to load external module: esbuild-register/dist/node
[4] [10:58:34] Error: Cannot find module 'esbuild-register/dist/node' from '/workspace/dev'
[4] [10:58:34] Failed to load external module: @swc/register
[4] [10:58:34] Error: Cannot find module '@swc/register' from '/workspace/dev'
[4] [10:58:34] Local modules not found in /workspace/dev
[4] [10:58:34] Try running: npm install
[4] sleep 120 && npm run gitpod-hasura-reattach exited with code 1
````
![image](https://github.com/deep-foundation/deepcase-app/assets/83237728/0d0e63fe-d47e-4119-9da2-8ac8bd866466)

Example link repository:
```
https://github.com/deep-foundation/dev/commit/1f7f39c407db455170034f315b684b67970ebfcc
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the GitPod Task 1 `package:build` failure in `/workspace/dev/packages/deepcase` and the Task 2 `gitpod-hasura-reattach` failure from `/workspace/dev`. Check the reported missing modules and compare the setup with the example commit in the linked `deep-foundation/dev` repository; done means both GitPod tasks complete successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
build-system, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.