Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Cannot compile yet #5

Closed
imguest24897-alt opened this issue May 7, 2024 · 4 comments
Closed

Cannot compile yet #5

imguest24897-alt opened this issue May 7, 2024 · 4 comments

Comments

@imguest24897-alt
Copy link

imguest24897-alt commented May 7, 2024

Fails compiling, gives next error:

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

Error: Cannot find module './timestamps.json'
Require stack:
- /home/guest24897/flippulator/compile.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/home/guest24897/flippulator/compile.js:6:20)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1427:10)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ '/home/guest24897/flippulator/compile.js' ]
}

Node.js v20.12.2

How do I fix this?

@Milk-Cool
Copy link
Owner

Hi! I think that you need to run npm start instead of node compile.js

@imguest24897-alt
Copy link
Author

Hi! I think that you need to run npm start instead of node compile.js

Now, it gives me this:

[email protected] start
node index.js

Enter the application folder name: /home/guest24897/flippulator
Manifest does not exist!

@Milk-Cool
Copy link
Owner

Milk-Cool commented May 7, 2024

You need to specify the path of the directory in which the app you want to compile is located

@Milk-Cool
Copy link
Owner

@imguest24897-alt were you able to resolve the issue?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants