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 Running Dev on Linux #6

Closed
TheConnMan opened this issue Dec 27, 2018 · 13 comments
Closed

Error Running Dev on Linux #6

TheConnMan opened this issue Dec 27, 2018 · 13 comments

Comments

@TheConnMan
Copy link

I'm running into the following error after a fresh install on Ubuntu after running npm run dev:

ERROR in ./src/renderer/render.tsx
Module not found: Error: Can't resolve '@static/css/notable.min.css' in '/path/to/notable/src/renderer'
  @ ./src/renderer/render.tsx 37:0-37
  @ ./src/renderer/index.ts
  @ multi ./src/renderer/index.ts

ERROR in ./src/renderer/render.tsx
Module not found: Error: Can't resolve '@static/javascript/notable.min.js' in '/path/to/notable/src/renderer'
  @ ./src/renderer/render.tsx 38:0-43
  @ ./src/renderer/index.ts
  @ multi ./src/renderer/index.ts

Any help would be appreciated, even if the answer is just you don't do dev on Linux. Thanks.

@fabiospampinato
Copy link
Member

It seems you forgot to run npm run svelto:dev first, which generates those files. Read here.

@gunt3001
Copy link

I'm getting the same errors. Running npm run svelto:dev or npm run svelto:prod doesn't seem to generate any files on my machine.

@dps
Copy link
Contributor

dps commented Dec 27, 2018

I am also seeing the same error on MacOS X 10.14 having run npm run svelto:dev, its output was simply:

$ npm run svelto:dev

> notable@1.0.0 svelto:dev /Users/dps/notable
> svelto build --env development

@RomanKornev
Copy link
Contributor

Running npm run svelto:dev produces The system cannot find the path specified. on Windows 10 x64 1803.

@TheConnMan
Copy link
Author

I ran all the commands in the readme just in case this was necessary. I still got the same errors.

@dps
Copy link
Contributor

dps commented Dec 27, 2018

If you also run npm install pacco it seems to work

@jcuenod
Copy link

jcuenod commented Jan 2, 2019

Agreed, svelto:dev seems to need pacco.

[not that I can now run dev, however: I still haven't figured that out...]

@RomanKornev
Copy link
Contributor

If anyone still has issues compiling:
Failed to load "notable\eyJicm93c2VycyI6WyJpZSA..." - just re-clone the repository again.

@jcuenod
Copy link

jcuenod commented Jan 8, 2019

Shouldn't pacco be in package.json?

@fabiospampinato
Copy link
Member

@jcuenod it's required by Svelto, which is package.json, and does define pacco in its package.json.

@jcuenod
Copy link

jcuenod commented Jan 8, 2019

Hmm, well pacco didn't install when I ran npm install after pulling the latest. However, I can get notable running now (errors are still occurring though).

@fabiospampinato
Copy link
Member

@jcuenod can you reproduce if you run npm i in a freshly cloned repo?

@jcuenod
Copy link

jcuenod commented Jan 24, 2019

Nope, I'm having success now.
Thanks

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

No branches or pull requests

6 participants