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

Error: ENOENT: no such file #1

Open
aturX opened this issue Dec 18, 2020 · 2 comments
Open

Error: ENOENT: no such file #1

aturX opened this issue Dec 18, 2020 · 2 comments
Assignees
Labels

Comments

@aturX
Copy link

aturX commented Dec 18, 2020

I can't get my project started

I created my flow project from here

https://dappstarter.decentology.com/

My operating system is Windows 10,

When I run yarn start :

D:\app\Ldata\FLOW\thoughtful-koguehi>yarn start
yarn run v1.13.0
$ port-precheck 5000 5001 5002
$ lerna run dev --no-sort --stream --parallel
lerna notice cli v3.22.1
lerna info Executing command in 4 packages: "yarn run dev"
@decentology/dappstarter-server: $ wait-on ../dapplib/src/dapp-config.json && nest start --exec ts-node-dev --watch --preserveWatchOutput
@decentology/dappstarter-frame: $ npm run build:css
@decentology/dappstarter-dapplib: $ watch 'node src/scripts/emulator.js' contracts & watch 'node src/scripts/transpiler.js' cadence
@decentology/dappstarter-client: $ wait-on ../dapplib/src/dapp-config.json && npm run client
@decentology/dappstarter-dapplib: > Watching src/scripts/emulator.js'
@decentology/dappstarter-dapplib: > Watching contracts
@decentology/dappstarter-dapplib: D:\app\Ldata\FLOW\thoughtful-koguehi\node_modules\watch\main.js:73
@decentology/dappstarter-dapplib:     if (err) throw err;
@decentology/dappstarter-dapplib:              ^
@decentology/dappstarter-dapplib: [Error: ENOENT: no such file or directory, stat 'D:\app\Ldata\FLOW\thoughtful-koguehi\packages\dapplib\src\scripts\emulator.js''] {
@decentology/dappstarter-dapplib:   errno: -4058,
@decentology/dappstarter-dapplib:   code: 'ENOENT',
@decentology/dappstarter-dapplib:   syscall: 'stat',
@decentology/dappstarter-dapplib:   path: "D:\\app\\Ldata\\FLOW\\thoughtful-koguehi\\packages\\dapplib\\src\\scripts\\emulator.js'"
@decentology/dappstarter-dapplib: }
@decentology/dappstarter-dapplib: > Watching src/scripts/transpiler.js'
@decentology/dappstarter-dapplib: > Watching cadence
@decentology/dappstarter-dapplib: D:\app\Ldata\FLOW\thoughtful-koguehi\node_modules\watch\main.js:73
@decentology/dappstarter-dapplib:     if (err) throw err;
@decentology/dappstarter-dapplib:              ^
@decentology/dappstarter-dapplib: [Error: ENOENT: no such file or directory, stat 'D:\app\Ldata\FLOW\thoughtful-koguehi\packages\dapplib\src\scripts\transpiler.js''] {
@decentology/dappstarter-dapplib:   errno: -4058,
@decentology/dappstarter-dapplib:   code: 'ENOENT',
@decentology/dappstarter-dapplib:   syscall: 'stat',
@decentology/dappstarter-dapplib:   path: "D:\\app\\Ldata\\FLOW\\thoughtful-koguehi\\packages\\dapplib\\src\\scripts\\transpiler.js'"
@decentology/dappstarter-dapplib: }
@decentology/dappstarter-dapplib: error Command failed with exit code 1.
@decentology/dappstarter-dapplib: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
lerna ERR! yarn run dev exited 1 in '@decentology/dappstarter-dapplib'
lerna WARN complete Waiting for 3 child processes to exit. CTRL-C to exit immediately.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@techbubble
Copy link
Contributor

techbubble commented Dec 21, 2020

I cloned and ran your project https://github.com/DappStarter/thoughtful-koguehi.git and was unable to reproduce the error. Also, I checked for the presence of the two files with errors and they are present in the repo.

Is it possible they were accidentally deleted? It might be helpful to delete and clone the repo to see if the problem goes away.

@techbubble techbubble self-assigned this Dec 21, 2020
@aturX
Copy link
Author

aturX commented Dec 22, 2020

I tried it again, and I didn't do anything else, except :
git clone, yarn, yarn start

I'm pretty sure the file exists and I didn't make any changes.

I'm confused. Is this the right path? It has an extra semicolon after the file name.

  • see path:
@decentology/dappstarter-dapplib: [Error: ENOENT: no such file or directory, stat 'D:\app\Ldata\FLOW\thoughtful-koguehi\packages\dapplib\src\scripts\transpiler.js''] {
@decentology/dappstarter-dapplib:   errno: -4058,
@decentology/dappstarter-dapplib:   code: 'ENOENT',
@decentology/dappstarter-dapplib:   syscall: 'stat',
@decentology/dappstarter-dapplib:   path: "D:\\app\\Ldata\\FLOW\\thoughtful-koguehi\\packages\\dapplib\\src\\scripts\\transpiler.js'"
@decentology/dappstarter-dapplib: }

Note that My system is Windows 10 .

Is it related to this problem? About Character transfer, I am not sure.

https://stackoverflow.com/questions/55741015/npm-package-watch-giving-no-such-file-or-directory-error

Thanks.

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

No branches or pull requests

2 participants